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 led-boot = &led_power_green;
15 led-failsafe = &led_power_green;
16 led-running = &led_power_green;
17 led-upgrade = &led_power_green;
21 compatible = "gpio-leds";
24 label = "trendnet:orange:power";
25 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
28 led_power_green: power_green {
29 label = "trendnet:green:power";
30 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
34 label = "trendnet:green:planet";
35 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
39 label = "trendnet:orange:planet";
40 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-keys";
48 label = "Reset button";
49 linux,code = <KEY_RESTART>;
50 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
51 debounce-interval = <60>;
56 linux,code = <KEY_WPS_BUTTON>;
57 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
58 debounce-interval = <60>;
90 #trigger-source-cells = <0>;
105 #trigger-source-cells = <0>;
115 compatible = "jedec,spi-nor";
117 spi-max-frequency = <25000000>;
120 compatible = "fixed-partitions";
121 #address-cells = <1>;
126 reg = <0x000000 0x030000>;
132 reg = <0x030000 0x010000>;
137 compatible = "denx,uimage";
139 reg = <0x040000 0xef0000>;
144 reg = <0xf30000 0x030000>;
150 reg = <0xf60000 0x080000>;
156 reg = <0xfe0000 0x010000>;
160 art: partition@ff0000 {
162 reg = <0xff0000 0x010000>;
172 phy0: ethernet-phy@0 {
174 qca,ar8327-initvals = <
175 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
176 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
177 0x10 0x81000080 /* POWER_ON_STRIP */
178 0x7c 0x0000007e /* PORT0_STATUS */
179 0x94 0x0000007e /* PORT6 STATUS */
187 phy-handle = <&phy0>;
188 pll-data = <0x56000000 0x00000101 0x00001616>;
199 pll-data = <0x03000101 0x00000101 0x00001616>;
210 mtd-cal-data = <&art 0x1000>;