1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/gpio/gpio.h>
4 #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";
26 label = "buffalo:red:diag";
27 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-leds";
35 label = "buffalo:amber:band2g";
36 gpios = <&ath9k0 1 GPIO_ACTIVE_LOW>;
40 label = "buffalo:green:usb";
41 gpios = <&ath9k0 3 GPIO_ACTIVE_LOW>;
42 trigger-sources = <&usb_ohci_port>, <&usb_ehci_port>;
43 linux,default-trigger = "usbport";
47 label = "buffalo:green:band2g";
48 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy0tpt";
53 label = "buffalo:green:band5g";
54 gpios = <&ath9k1 1 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "phy1tpt";
59 label = "buffalo:green:router";
60 gpios = <&ath9k1 3 GPIO_ACTIVE_LOW>;
64 label = "buffalo:blue:movie_engine";
65 gpios = <&ath9k1 4 GPIO_ACTIVE_LOW>;
69 label = "buffalo: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 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
98 debounce-interval = <60>;
102 linux,code = <BTN_5>;
103 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
104 debounce-interval = <60>;
108 linux,code = <BTN_7>;
109 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
110 debounce-interval = <60>;
115 compatible = "gpio-export";
118 gpio-export,name = "buffalo:power:usb";
119 gpio-export,output = <1>;
120 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
125 compatible = "mtd-concat";
127 devices = <&flash0 &flash1>;
130 compatible = "fixed-partitions";
131 #address-cells = <1>;
135 reg = <0x0000000 0x0040000>;
140 label = "u-boot-env";
141 reg = <0x0040000 0x0010000>;
145 art: partition@50000 {
147 reg = <0x0050000 0x0010000>;
152 compatible = "denx,uimage";
154 reg = <0x0060000 0x1f90000>;
158 label = "user_property";
159 reg = <0x1ff0000 0x0010000>;
171 #address-cells = <1>;
175 usb_ohci_port: port@1 {
177 #trigger-source-cells = <0>;
182 #address-cells = <1>;
186 usb_ehci_port: port@1 {
188 #trigger-source-cells = <0>;
196 compatible = "pci168c,0029";
197 reg = <0x8800 0 0 0 0>;
204 compatible = "pci168c,0029";
205 reg = <0x9000 0 0 0 0>;
227 compatible = "jedec,spi-nor";
229 spi-max-frequency = <50000000>;
234 compatible = "jedec,spi-nor";
236 spi-max-frequency = <50000000>;
244 phy4: ethernet-phy@4 {
253 mtd-mac-address = <&art 0x120c>;
264 mtd-mac-address = <&art 0x520c>;
265 mtd-mac-address-increment = <1>;
267 phy-handle = <&phy4>;