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";
65 linux,code = <KEY_RESTART>;
66 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
67 debounce-interval = <60>;
72 compatible = "gpio-leds";
75 label = "wb2000:green:5g";
76 gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
77 linux,default-trigger = "phy1tpt";
83 clock-frequency = <40000000>;
96 compatible = "jedec,spi-nor";
98 spi-max-frequency = <25000000>;
101 compatible = "fixed-partitions";
102 #address-cells = <1>;
112 label = "u-boot-env";
113 reg = <0x40000 0x10000>;
119 reg = <0x50000 0xf80000>;
120 compatible = "denx,uimage";
125 reg = <0xfd0000 0x10000>;
129 art: partition@fe0000 {
131 reg = <0xfe0000 0x10000>;
135 addr: partition@ff0000 {
137 reg = <0xff0000 0x10000>;
148 compatible = "pci168c,0030";
149 reg = <0x0000 0 0 0 0>;
151 mtd-mac-address = <&addr 0x0>;
152 mtd-mac-address-increment = <0x10>;
159 #address-cells = <1>;
164 #address-cells = <1>;
167 #trigger-source-cells = <0>;
171 #trigger-source-cells = <0>;
176 #trigger-source-cells = <0>;
188 mtd-cal-data = <&art 0x1000>;
189 mtd-mac-address = <&addr 0x0>;
197 phy4: ethernet-phy@4 {
205 pll-data = <0xe000000 0x04000101 0x04001313>;
207 mtd-mac-address = <&addr 0x0>;
208 mtd-mac-address-increment = <0x21>;
210 phy-mode = "rgmii-rxid";
211 phy-handle = <&phy4>;