1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "trendnet,tew-823dru", "qca,qca9558";
10 model = "TRENDNET TEW-823DRU";
13 led-boot = &led_power_green;
14 led-failsafe = &led_power_green;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_green;
20 compatible = "gpio-leds";
23 label = "orange:power";
24 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
27 led_power_green: power_green {
28 label = "green:power";
29 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
33 label = "green:planet";
34 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
38 label = "orange:planet";
39 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
44 compatible = "gpio-keys";
47 label = "Reset button";
48 linux,code = <KEY_RESTART>;
49 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
50 debounce-interval = <60>;
55 linux,code = <KEY_WPS_BUTTON>;
56 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
57 debounce-interval = <60>;
90 compatible = "jedec,spi-nor";
92 spi-max-frequency = <25000000>;
95 compatible = "fixed-partitions";
101 reg = <0x000000 0x030000>;
107 reg = <0x030000 0x010000>;
112 compatible = "denx,uimage";
114 reg = <0x040000 0xef0000>;
119 reg = <0xf30000 0x030000>;
125 reg = <0xf60000 0x080000>;
131 reg = <0xfe0000 0x010000>;
135 art: partition@ff0000 {
137 reg = <0xff0000 0x010000>;
147 phy0: ethernet-phy@0 {
149 qca,ar8327-initvals = <
150 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
151 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
152 0x10 0x81000080 /* POWER_ON_STRAP */
153 0x7c 0x0000007e /* PORT0_STATUS */
154 0x94 0x0000007e /* PORT6 STATUS */
162 phy-handle = <&phy0>;
163 pll-data = <0x56000000 0x00000101 0x00001616>;
174 pll-data = <0x03000101 0x00000101 0x00001616>;
185 mtd-cal-data = <&art 0x1000>;