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>;
85 #trigger-source-cells = <0>;
100 #trigger-source-cells = <0>;
110 compatible = "jedec,spi-nor";
112 spi-max-frequency = <25000000>;
115 compatible = "fixed-partitions";
116 #address-cells = <1>;
121 reg = <0x000000 0x030000>;
127 reg = <0x030000 0x010000>;
132 compatible = "denx,uimage";
134 reg = <0x040000 0xef0000>;
139 reg = <0xf30000 0x030000>;
145 reg = <0xf60000 0x080000>;
151 reg = <0xfe0000 0x010000>;
155 art: partition@ff0000 {
157 reg = <0xff0000 0x010000>;
167 phy0: ethernet-phy@0 {
169 qca,ar8327-initvals = <
170 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
171 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
172 0x10 0x81000080 /* POWER_ON_STRAP */
173 0x7c 0x0000007e /* PORT0_STATUS */
174 0x94 0x0000007e /* PORT6 STATUS */
182 phy-handle = <&phy0>;
183 pll-data = <0x56000000 0x00000101 0x00001616>;
194 pll-data = <0x03000101 0x00000101 0x00001616>;
205 mtd-cal-data = <&art 0x1000>;