1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 compatible = "buffalo,wzr-hp-g302h-a1a0", "qca,ar7242";
11 model = "Buffalo WZR-HP-G302H A1A0";
20 compatible = "fixed-clock";
22 clock-frequency = <40000000>;
26 compatible = "gpio-keys-polled";
31 linux,code = <KEY_RESTART>;
32 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
33 debounce-interval = <60>;
39 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
40 debounce-interval = <60>;
46 linux,input-type = <EV_SW>;
47 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
48 debounce-interval = <60>;
52 label = "movie_engine";
54 linux,input-type = <EV_SW>;
55 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
56 debounce-interval = <60>;
61 linux,code = <KEY_WPS_BUTTON>;
62 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
63 debounce-interval = <60>;
68 compatible = "gpio-leds";
71 label = "buffalo:red:diag";
72 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
77 compatible = "gpio-leds";
80 label = "buffalo:blue:usb";
81 gpios = <&ath9k 4 GPIO_ACTIVE_LOW>;
82 trigger-sources = <&hub_port>;
83 linux,default-trigger = "usbport";
87 label = "buffalo:green:wireless";
88 gpios = <&ath9k 5 GPIO_ACTIVE_LOW>;
89 linux,default-trigger = "phy0tpt";
93 label = "buffalo:orange:security";
94 gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
98 label = "buffalo:green:router";
99 gpios = <&ath9k 7 GPIO_ACTIVE_LOW>;
103 label = "buffalo:blue:movie_engine_on";
104 gpios = <&ath9k 8 GPIO_ACTIVE_LOW>;
108 label = "buffalo:blue:movie_engine_off";
109 gpios = <&ath9k 9 GPIO_ACTIVE_LOW>;
114 compatible = "gpio-export";
118 gpio-export,name = "buffalo:usb-power";
119 gpio-export,output = <1>;
120 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
125 compatible = "mtd-concat";
126 devices = <&flash0 &flash1>;
129 compatible = "fixed-partitions";
130 #address-cells = <1>;
140 reg = <0x40000 0x10000>;
141 label = "u-boot-env";
144 art: partition@50000 {
145 reg = <0x50000 0x10000>;
151 compatible = "denx,uimage";
152 reg = <0x60000 0x1f60000>;
157 reg = <0x1fc0000 0x40000>;
158 label = "user_property";
171 compatible = "jedec,spi-nor";
173 spi-max-frequency = <25000000>;
177 compatible = "jedec,spi-nor";
179 spi-max-frequency = <25000000>;
188 phy0: ethernet-phy@0 {
197 pll-data = <0x1c000000 0x00000101 0x00001616>;
199 mtd-mac-address = <&art 0x120c>;
202 phy-handle = <&phy0>;
209 compatible = "pci168c,002a";
210 reg = <0x0000 0 0 0 0>;
211 mtd-mac-address = <&art 0x120c>;
231 #address-cells = <1>;
237 #trigger-source-cells = <0>;