1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
7 #include "qca956x.dtsi"
10 model = "D-Link DIR-859 A1";
11 compatible = "dlink,dir-859-a1", "qca,qca9563";
15 led-failsafe = &power;
21 bootargs = "console=ttyS0,115200n8";
25 compatible = "gpio-leds";
28 label = "dir-859-a1:green:wps";
29 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
33 label = "dir-859-a1:green:power";
34 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
38 label = "dir-859-a1:green:internet";
39 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
43 label = "dir-859-a1:green:wlan";
44 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
45 linux,default-trigger = "phy0tpt";
50 compatible = "gpio-keys-polled";
54 linux,code = <KEY_RESTART>;
55 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
56 debounce-interval = <60>;
60 linux,code = <KEY_RESTART>;
61 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
62 debounce-interval = <60>;
67 compatible = "gpio-export";
71 gpio-export,name = "dir-859-a1:reset:switch";
72 gpio-export,output = <1>;
73 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
96 compatible = "jedec,spi-nor";
98 spi-max-frequency = <30000000>;
101 compatible = "fixed-partitions";
102 #address-cells = <1>;
106 label = "bootloader";
107 reg = <0x000000 0x40000>;
113 reg = <0x040000 0x10000>;
119 reg = <0x050000 0x10000>;
125 reg = <0x060000 0x10000>;
130 compatible = "seama";
132 reg = <0x070000 0xf80000>;
135 art: partition@ff0000 {
137 reg = <0xff0000 0x010000>;
149 phy0: ethernet-phy@0 {
153 qca,ar8327-initvals = <
154 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
155 0x10 0x81000080 /* POWER_ON_STRIP */
156 0x50 0xcc35cc35 /* LED_CTRL0 */
157 0x54 0xcb37cb37 /* LED_CTRL1 */
158 0x58 0x00000000 /* LED_CTRL2 */
159 0x5c 0x00f3cf00 /* LED_CTRL3 */
160 0x7c 0x0000007e /* PORT0_STATUS */
168 pll-data = <0x03000101 0x00000101 0x00001919>;
171 phy-handle = <&phy0>;