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";
78 linux,code = <KEY_RESTART>;
79 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
80 debounce-interval = <60>;
85 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
86 debounce-interval = <60>;
90 linux,code = <KEY_WPS_BUTTON>;
91 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
92 debounce-interval = <60>;
97 linux,input-type = <EV_SW>;
98 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
99 debounce-interval = <60>;
103 linux,code = <BTN_5>;
104 linux,input-type = <EV_SW>;
105 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
106 debounce-interval = <60>;
110 linux,code = <BTN_7>;
111 linux,input-type = <EV_SW>;
112 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
113 debounce-interval = <60>;
118 compatible = "gpio-export";
121 gpio-export,name = "buffalo:power:usb";
122 gpio-export,output = <1>;
123 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
128 compatible = "mtd-concat";
130 devices = <&flash0 &flash1>;
133 compatible = "fixed-partitions";
134 #address-cells = <1>;
138 reg = <0x0000000 0x0040000>;
143 label = "u-boot-env";
144 reg = <0x0040000 0x0010000>;
148 art: partition@50000 {
150 reg = <0x0050000 0x0010000>;
155 compatible = "denx,uimage";
157 reg = <0x0060000 0x1f90000>;
161 label = "user_property";
162 reg = <0x1ff0000 0x0010000>;
174 #address-cells = <1>;
178 usb_ohci_port: port@1 {
180 #trigger-source-cells = <0>;
185 #address-cells = <1>;
189 usb_ehci_port: port@1 {
191 #trigger-source-cells = <0>;
199 compatible = "pci168c,0029";
200 reg = <0x8800 0 0 0 0>;
207 compatible = "pci168c,0029";
208 reg = <0x9000 0 0 0 0>;
229 compatible = "jedec,spi-nor";
231 spi-max-frequency = <50000000>;
236 compatible = "jedec,spi-nor";
238 spi-max-frequency = <50000000>;
246 phy4: ethernet-phy@4 {
255 mtd-mac-address = <&art 0x120c>;
266 mtd-mac-address = <&art 0x520c>;
267 mtd-mac-address-increment = <1>;
269 phy-handle = <&phy4>;