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>
11 led-failsafe = &led_diag;
12 led-upgrade = &led_diag;
16 compatible = "fixed-clock";
18 clock-output-names = "ref";
19 clock-frequency = <40000000>;
23 compatible = "gpio-leds";
27 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-leds";
35 label = "amber:band2g";
36 gpios = <&ath9k0 1 GPIO_ACTIVE_LOW>;
41 gpios = <&ath9k0 3 GPIO_ACTIVE_LOW>;
42 trigger-sources = <&usb_ohci_port>, <&usb_ehci_port>;
43 linux,default-trigger = "usbport";
47 label = "green:band2g";
48 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy0tpt";
53 label = "green:band5g";
54 gpios = <&ath9k1 1 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "phy1tpt";
59 label = "green:router";
60 gpios = <&ath9k1 3 GPIO_ACTIVE_LOW>;
64 label = "blue:movie_engine";
65 gpios = <&ath9k1 4 GPIO_ACTIVE_LOW>;
69 label = "amber:band5g";
70 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
75 compatible = "gpio-keys";
79 linux,code = <KEY_RESTART>;
80 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
81 debounce-interval = <60>;
87 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
88 debounce-interval = <60>;
93 linux,code = <KEY_WPS_BUTTON>;
94 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
95 debounce-interval = <60>;
99 label = "router_auto";
100 linux,code = <BTN_6>;
101 linux,input-type = <EV_SW>;
102 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
103 debounce-interval = <60>;
107 label = "router_off";
108 linux,code = <BTN_5>;
109 linux,input-type = <EV_SW>;
110 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
111 debounce-interval = <60>;
115 label = "movie_engine";
116 linux,code = <BTN_7>;
117 linux,input-type = <EV_SW>;
118 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
119 debounce-interval = <60>;
124 compatible = "gpio-export";
127 gpio-export,name = "buffalo:power:usb";
128 gpio-export,output = <1>;
129 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
134 compatible = "mtd-concat";
136 devices = <&flash0 &flash1>;
139 compatible = "fixed-partitions";
140 #address-cells = <1>;
144 reg = <0x0000000 0x0040000>;
149 label = "u-boot-env";
150 reg = <0x0040000 0x0010000>;
154 art: partition@50000 {
156 reg = <0x0050000 0x0010000>;
161 compatible = "denx,uimage";
163 reg = <0x0060000 0x1f90000>;
167 label = "user_property";
168 reg = <0x1ff0000 0x0010000>;
180 #address-cells = <1>;
184 usb_ohci_port: port@1 {
186 #trigger-source-cells = <0>;
191 #address-cells = <1>;
195 usb_ehci_port: port@1 {
197 #trigger-source-cells = <0>;
205 compatible = "pci168c,0029";
206 reg = <0x8800 0 0 0 0>;
213 compatible = "pci168c,0029";
214 reg = <0x9000 0 0 0 0>;
230 compatible = "jedec,spi-nor";
232 spi-max-frequency = <50000000>;
237 compatible = "jedec,spi-nor";
239 spi-max-frequency = <50000000>;
247 phy4: ethernet-phy@4 {
256 nvmem-cells = <&macaddr_art_120c>;
257 nvmem-cell-names = "mac-address";
268 nvmem-cells = <&macaddr_art_520c>;
269 nvmem-cell-names = "mac-address";
270 mac-address-increment = <1>;
272 phy-handle = <&phy4>;
276 compatible = "nvmem-cells";
277 #address-cells = <1>;
280 macaddr_art_120c: macaddr@120c {
284 macaddr_art_520c: macaddr@520c {