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 default-state = "off";
45 linux,default-trigger = "phy0tpt";
49 label = "wb2000:green:usb";
50 gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
51 default-state = "off";
52 trigger-sources = <&hub_port1>, <&hub_port2>;
53 linux,default-trigger = "usbport";
57 label = "wb2000:green:system";
58 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
64 compatible = "gpio-keys-polled";
68 linux,code = <KEY_RESTART>;
69 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
70 debounce-interval = <60>;
75 compatible = "gpio-leds";
78 label = "wb2000:green:5g";
79 gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
80 default-state = "off";
81 linux,default-trigger = "phy1tpt";
87 clock-frequency = <40000000>;
100 compatible = "jedec,spi-nor";
102 spi-max-frequency = <25000000>;
105 compatible = "fixed-partitions";
106 #address-cells = <1>;
116 label = "u-boot-env";
117 reg = <0x40000 0x10000>;
123 reg = <0x50000 0xf80000>;
124 compatible = "denx,uimage";
129 reg = <0xfd0000 0x10000>;
133 art: partition@fe0000 {
135 reg = <0xfe0000 0x10000>;
139 addr: partition@ff0000 {
141 reg = <0xff0000 0x10000>;
152 compatible = "pci168c,0030";
153 reg = <0x0000 0 0 0 0>;
155 mtd-mac-address = <&addr 0x0>;
156 mtd-mac-address-increment = <0x10>;
163 #address-cells = <1>;
168 #address-cells = <1>;
171 #trigger-source-cells = <0>;
175 #trigger-source-cells = <0>;
180 #trigger-source-cells = <0>;
192 mtd-cal-data = <&art 0x1000>;
193 mtd-mac-address = <&addr 0x0>;
201 phy4: ethernet-phy@4 {
209 pll-data = <0xe000000 0x04000101 0x04001313>;
211 mtd-mac-address = <&addr 0x0>;
212 mtd-mac-address-increment = <0x21>;
214 phy-mode = "rgmii-rxid";
215 phy-handle = <&phy4>;