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>
12 led-failsafe = &led_diag;
13 led-upgrade = &led_diag;
17 compatible = "gpio-leds";
21 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
26 compatible = "gpio-leds";
29 label = "amber:band2g";
30 gpios = <&ath9k0 1 GPIO_ACTIVE_LOW>;
34 function = LED_FUNCTION_USB;
35 color = <LED_COLOR_ID_GREEN>;
36 gpios = <&ath9k0 3 GPIO_ACTIVE_LOW>;
37 trigger-sources = <&usb_ohci_port>, <&usb_ehci_port>;
38 linux,default-trigger = "usbport";
42 label = "green:band2g";
43 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
44 linux,default-trigger = "phy0tpt";
48 label = "green:band5g";
49 gpios = <&ath9k1 1 GPIO_ACTIVE_LOW>;
50 linux,default-trigger = "phy1tpt";
54 label = "green:router";
55 gpios = <&ath9k1 3 GPIO_ACTIVE_LOW>;
59 label = "blue:movie_engine";
60 gpios = <&ath9k1 4 GPIO_ACTIVE_LOW>;
64 label = "amber:band5g";
65 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
70 compatible = "gpio-keys";
74 linux,code = <KEY_RESTART>;
75 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
76 debounce-interval = <60>;
82 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
83 debounce-interval = <60>;
88 linux,code = <KEY_WPS_BUTTON>;
89 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
90 debounce-interval = <60>;
94 label = "router_auto";
96 linux,input-type = <EV_SW>;
97 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
98 debounce-interval = <60>;
102 label = "router_off";
103 linux,code = <BTN_5>;
104 linux,input-type = <EV_SW>;
105 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
106 debounce-interval = <60>;
110 label = "movie_engine";
111 linux,code = <BTN_7>;
112 linux,input-type = <EV_SW>;
113 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
114 debounce-interval = <60>;
119 compatible = "gpio-export";
122 gpio-export,name = "buffalo:power:usb";
123 gpio-export,output = <1>;
124 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
129 compatible = "mtd-concat";
131 devices = <&flash0 &flash1>;
134 compatible = "fixed-partitions";
135 #address-cells = <1>;
139 reg = <0x0000000 0x0040000>;
144 label = "u-boot-env";
145 reg = <0x0040000 0x0010000>;
149 art: partition@50000 {
151 reg = <0x0050000 0x0010000>;
155 compatible = "fixed-layout";
156 #address-cells = <1>;
159 macaddr_art_120c: macaddr@120c {
163 macaddr_art_520c: macaddr@520c {
164 compatible = "mac-base";
166 #nvmem-cell-cells = <1>;
172 compatible = "denx,uimage";
174 reg = <0x0060000 0x1f90000>;
178 label = "user_property";
179 reg = <0x1ff0000 0x0010000>;
202 compatible = "pci168c,0029";
203 reg = <0x8800 0 0 0 0>;
210 compatible = "pci168c,0029";
211 reg = <0x9000 0 0 0 0>;
223 compatible = "jedec,spi-nor";
225 spi-max-frequency = <50000000>;
230 compatible = "jedec,spi-nor";
232 spi-max-frequency = <50000000>;
240 phy4: ethernet-phy@4 {
249 nvmem-cells = <&macaddr_art_120c>;
250 nvmem-cell-names = "mac-address";
261 nvmem-cells = <&macaddr_art_520c 1>;
262 nvmem-cell-names = "mac-address";
264 phy-handle = <&phy4>;