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>
10 model = "Winchannel WB2000";
11 compatible = "winchannel,wb2000", "qca,ar9344";
14 bootargs = "console=ttyS0,115200n8";
18 led-boot = &led_system;
19 led-failsafe = &led_system;
20 led-running = &led_system;
21 led-upgrade = &led_system;
25 compatible = "i2c-gpio";
26 gpios = <&gpio 17 GPIO_ACTIVE_HIGH
27 &gpio 16 GPIO_ACTIVE_HIGH
33 compatible = "dallas,ds1339";
39 compatible = "gpio-leds";
42 label = "wb2000:green:2g";
43 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
44 linux,default-trigger = "phy0tpt";
48 label = "wb2000:green:usb";
49 gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
50 trigger-sources = <&hub_port1>, <&hub_port2>;
51 linux,default-trigger = "usbport";
55 label = "wb2000:green:system";
56 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
62 compatible = "gpio-keys-polled";
66 linux,code = <KEY_RESTART>;
67 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
68 debounce-interval = <60>;
73 compatible = "gpio-leds";
76 label = "wb2000:green:5g";
77 gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
78 linux,default-trigger = "phy1tpt";
84 clock-frequency = <40000000>;
97 compatible = "jedec,spi-nor";
99 spi-max-frequency = <25000000>;
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
113 label = "u-boot-env";
114 reg = <0x40000 0x10000>;
120 reg = <0x50000 0xf80000>;
121 compatible = "denx,uimage";
126 reg = <0xfd0000 0x10000>;
130 art: partition@fe0000 {
132 reg = <0xfe0000 0x10000>;
136 addr: partition@ff0000 {
138 reg = <0xff0000 0x10000>;
149 compatible = "pci168c,0030";
150 reg = <0x0000 0 0 0 0>;
152 mtd-mac-address = <&addr 0x0>;
153 mtd-mac-address-increment = <0x10>;
160 #address-cells = <1>;
165 #address-cells = <1>;
168 #trigger-source-cells = <0>;
172 #trigger-source-cells = <0>;
177 #trigger-source-cells = <0>;
189 mtd-cal-data = <&art 0x1000>;
190 mtd-mac-address = <&addr 0x0>;
198 phy4: ethernet-phy@4 {
206 pll-data = <0xe000000 0x04000101 0x04001313>;
208 mtd-mac-address = <&addr 0x0>;
209 mtd-mac-address-increment = <0x21>;
211 phy-mode = "rgmii-rxid";
212 phy-handle = <&phy4>;