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 "qca955x.dtsi"
10 compatible = "trendnet,tew-823dru", "qca,qca9558";
11 model = "TRENDNET TEW-823DRU";
14 bootargs = "console=ttyS0,115200n8";
18 led-boot = &led_power_green;
19 led-failsafe = &led_power_green;
20 led-running = &led_power_green;
21 led-upgrade = &led_power_green;
25 compatible = "gpio-leds";
28 label = "trendnet:orange:power";
29 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
32 led_power_green: power_green {
33 label = "trendnet:green:power";
34 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
38 label = "trendnet:green:planet";
39 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
43 label = "trendnet:orange:planet";
44 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
49 compatible = "gpio-keys";
52 label = "Reset button";
53 linux,code = <KEY_RESTART>;
54 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
55 debounce-interval = <60>;
60 linux,code = <KEY_WPS_BUTTON>;
61 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
62 debounce-interval = <60>;
94 #trigger-source-cells = <0>;
103 #address-cells = <1>;
109 #trigger-source-cells = <0>;
119 compatible = "jedec,spi-nor";
121 spi-max-frequency = <25000000>;
124 compatible = "fixed-partitions";
125 #address-cells = <1>;
130 reg = <0x000000 0x030000>;
136 reg = <0x030000 0x010000>;
141 compatible = "denx,uimage";
143 reg = <0x040000 0xef0000>;
148 reg = <0xf30000 0x030000>;
154 reg = <0xf60000 0x080000>;
160 reg = <0xfe0000 0x010000>;
164 art: partition@ff0000 {
166 reg = <0xff0000 0x010000>;
176 phy0: ethernet-phy@0 {
178 qca,ar8327-initvals = <
179 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
180 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
181 0x10 0x81000080 /* POWER_ON_STRIP */
182 0x7c 0x0000007e /* PORT0_STATUS */
183 0x94 0x0000007e /* PORT6 STATUS */
191 phy-handle = <&phy0>;
192 pll-data = <0x56000000 0x00000101 0x00001616>;
203 pll-data = <0x03000101 0x00000101 0x00001616>;
214 mtd-cal-data = <&art 0x1000>;