1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.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";
43 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
44 linux,default-trigger = "phy0tpt";
48 function = LED_FUNCTION_USB;
49 color = <LED_COLOR_ID_GREEN>;
50 gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
51 trigger-sources = <&hub_port>;
52 linux,default-trigger = "usbport";
56 label = "green:system";
57 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
63 compatible = "gpio-keys";
66 linux,code = <KEY_RESTART>;
67 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
68 debounce-interval = <60>;
73 compatible = "gpio-leds";
77 gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
78 linux,default-trigger = "phy1tpt";
84 clock-frequency = <40000000>;
91 compatible = "jedec,spi-nor";
93 spi-max-frequency = <25000000>;
96 compatible = "fixed-partitions";
107 label = "u-boot-env";
108 reg = <0x40000 0x10000>;
114 reg = <0x50000 0xf80000>;
115 compatible = "denx,uimage";
120 reg = <0xfd0000 0x10000>;
126 reg = <0xfe0000 0x10000>;
130 compatible = "fixed-layout";
131 #address-cells = <1>;
134 calibration_art_1000: calibration@1000 {
135 reg = <0x1000 0x440>;
138 calibration_art_5000: calibration@5000 {
139 reg = <0x5000 0x440>;
146 reg = <0xff0000 0x10000>;
150 compatible = "fixed-layout";
151 #address-cells = <1>;
154 macaddr_addr_0: macaddr@0 {
155 compatible = "mac-base";
157 #nvmem-cell-cells = <1>;
169 compatible = "pci168c,0030";
170 reg = <0x0000 0 0 0 0>;
171 nvmem-cells = <&macaddr_addr_0 0x10>, <&calibration_art_5000>;
172 nvmem-cell-names = "mac-address", "calibration";
189 nvmem-cells = <&macaddr_addr_0 0>, <&calibration_art_1000>;
190 nvmem-cell-names = "mac-address", "calibration";
196 phy4: ethernet-phy@4 {
204 pll-data = <0xe000000 0x04000101 0x04001313>;
206 nvmem-cells = <&macaddr_addr_0 0x21>;
207 nvmem-cell-names = "mac-address";
209 phy-mode = "rgmii-rxid";
210 phy-handle = <&phy4>;