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>;
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <50000000>;
74 compatible = "fixed-partitions";
80 reg = <0x000000 0x40000>;
86 reg = <0x040000 0x10000>;
92 reg = <0x050000 0x10000>;
98 reg = <0x060000 0x10000>;
103 compatible = "seama";
105 reg = <0x070000 0xf80000>;
108 art: partition@ff0000 {
110 reg = <0xff0000 0x010000>;
120 phy0: ethernet-phy@0 {
123 qca,mib-poll-interval = <500>;
125 reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
127 qca,ar8327-initvals = <
128 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
129 0x10 0x81000080 /* POWER_ON_STRAP */
130 0x50 0xcc35cc35 /* LED_CTRL0 */
131 0x54 0xcb37cb37 /* LED_CTRL1 */
132 0x58 0x00000000 /* LED_CTRL2 */
133 0x5c 0x00f3cf00 /* LED_CTRL3 */
134 0x7c 0x0000007e /* PORT0_STATUS */
142 pll-data = <0x03000101 0x00000101 0x00001919>;
145 phy-handle = <&phy0>;