1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca956x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "D-Link DIR-859 A1";
10 compatible = "dlink,dir-859-a1", "qca,qca9563";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
24 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
28 label = "green:power";
29 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
33 label = "green:internet";
34 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
39 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
40 linux,default-trigger = "phy0tpt";
45 compatible = "gpio-keys";
48 linux,code = <KEY_WPS_BUTTON>;
49 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
50 debounce-interval = <60>;
54 linux,code = <KEY_RESTART>;
55 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
56 debounce-interval = <60>;
61 compatible = "gpio-export";
65 gpio-export,name = "dir-859-a1:reset:switch";
66 gpio-export,output = <1>;
67 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <30000000>;
85 compatible = "fixed-partitions";
91 reg = <0x000000 0x40000>;
97 reg = <0x040000 0x10000>;
103 reg = <0x050000 0x10000>;
109 reg = <0x060000 0x10000>;
114 compatible = "seama";
116 reg = <0x070000 0xf80000>;
119 art: partition@ff0000 {
121 reg = <0xff0000 0x010000>;
133 phy0: ethernet-phy@0 {
136 qca,mib-poll-interval = <500>;
138 qca,ar8327-initvals = <
139 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
140 0x10 0x81000080 /* POWER_ON_STRAP */
141 0x50 0xcc35cc35 /* LED_CTRL0 */
142 0x54 0xcb37cb37 /* LED_CTRL1 */
143 0x58 0x00000000 /* LED_CTRL2 */
144 0x5c 0x00f3cf00 /* LED_CTRL3 */
145 0x7c 0x0000007e /* PORT0_STATUS */
153 pll-data = <0x03000101 0x00000101 0x00001919>;
156 phy-handle = <&phy0>;