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 = "gpio-leds";
20 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
25 compatible = "gpio-leds";
28 label = "amber:band2g";
29 gpios = <&ath9k0 1 GPIO_ACTIVE_LOW>;
34 gpios = <&ath9k0 3 GPIO_ACTIVE_LOW>;
35 trigger-sources = <&usb_ohci_port>, <&usb_ehci_port>;
36 linux,default-trigger = "usbport";
40 label = "green:band2g";
41 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "phy0tpt";
46 label = "green:band5g";
47 gpios = <&ath9k1 1 GPIO_ACTIVE_LOW>;
48 linux,default-trigger = "phy1tpt";
52 label = "green:router";
53 gpios = <&ath9k1 3 GPIO_ACTIVE_LOW>;
57 label = "blue:movie_engine";
58 gpios = <&ath9k1 4 GPIO_ACTIVE_LOW>;
62 label = "amber:band5g";
63 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
68 compatible = "gpio-keys";
72 linux,code = <KEY_RESTART>;
73 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
74 debounce-interval = <60>;
80 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
81 debounce-interval = <60>;
86 linux,code = <KEY_WPS_BUTTON>;
87 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
88 debounce-interval = <60>;
92 label = "router_auto";
94 linux,input-type = <EV_SW>;
95 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
96 debounce-interval = <60>;
100 label = "router_off";
101 linux,code = <BTN_5>;
102 linux,input-type = <EV_SW>;
103 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
104 debounce-interval = <60>;
108 label = "movie_engine";
109 linux,code = <BTN_7>;
110 linux,input-type = <EV_SW>;
111 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
112 debounce-interval = <60>;
117 compatible = "gpio-export";
120 gpio-export,name = "buffalo:power:usb";
121 gpio-export,output = <1>;
122 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
127 compatible = "mtd-concat";
129 devices = <&flash0 &flash1>;
132 compatible = "fixed-partitions";
133 #address-cells = <1>;
137 reg = <0x0000000 0x0040000>;
142 label = "u-boot-env";
143 reg = <0x0040000 0x0010000>;
147 art: partition@50000 {
149 reg = <0x0050000 0x0010000>;
154 compatible = "denx,uimage";
156 reg = <0x0060000 0x1f90000>;
160 label = "user_property";
161 reg = <0x1ff0000 0x0010000>;
184 compatible = "pci168c,0029";
185 reg = <0x8800 0 0 0 0>;
192 compatible = "pci168c,0029";
193 reg = <0x9000 0 0 0 0>;
205 compatible = "jedec,spi-nor";
207 spi-max-frequency = <50000000>;
212 compatible = "jedec,spi-nor";
214 spi-max-frequency = <50000000>;
222 phy4: ethernet-phy@4 {
231 nvmem-cells = <&macaddr_art_120c>;
232 nvmem-cell-names = "mac-address";
243 nvmem-cells = <&macaddr_art_520c>;
244 nvmem-cell-names = "mac-address";
245 mac-address-increment = <1>;
247 phy-handle = <&phy4>;
251 compatible = "nvmem-cells";
252 #address-cells = <1>;
255 macaddr_art_120c: macaddr@120c {
259 macaddr_art_520c: macaddr@520c {