5 #include <dt-bindings/input/input.h>
8 compatible = "buffalo,wsr-600dhp", "mediatek,mt7621-soc";
9 model = "Buffalo WSR-600DHP";
12 device_type = "memory";
13 reg = <0x0 0x4000000>;
17 bootargs = "console=ttyS0,57600";
21 compatible = "gpio-leds";
24 label = "wsr-600:green:power";
25 gpios = <&gpio0 12 1>;
29 label = "wsr-600:orange:wifi";
34 label = "wsr-600:orange:diag";
35 gpios = <&gpio1 10 1>;
39 label = "wsr-600:green:wifi";
40 gpios = <&gpio1 12 1>;
44 label = "wsr-600:orange:router";
45 gpios = <&gpio1 13 1>;
49 label = "wsr-600:green:router";
50 gpios = <&gpio1 14 1>;
54 label = "wsr-600:orange:internet";
55 gpios = <&gpio1 15 1>;
59 label = "wsr-600:green:internet";
60 gpios = <&gpio1 16 1>;
65 compatible = "gpio-keys-polled";
73 linux,code = <KEY_POWER>;
78 gpios = <&gpio0 11 1>;
79 linux,code = <KEY_RESTART>;
84 gpios = <&gpio0 18 1>;
85 linux,code = <KEY_WPS_BUTTON>;
92 linux,input-type = <EV_SW>;
99 linux,input-type = <EV_SW>;
104 gpios = <&gpio0 10 0>;
105 linux,code = <BTN_0>;
106 linux,input-type = <EV_SW>;
111 compatible = "gpio-poweroff";
112 gpios = <&gpio1 11 1>;
120 #address-cells = <1>;
122 compatible = "jedec,spi-nor";
124 spi-max-frequency = <10000000>;
125 m25p,chunked-io = <32>;
134 label = "u-boot-env";
135 reg = <0x30000 0x10000>;
139 factory: partition@40000 {
141 reg = <0x40000 0x10000>;
147 reg = <0x50000 0xfb0000>;
153 state_default: pinctrl0 {
155 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
156 ralink,function = "gpio";
166 reg = <0x0000 0 0 0 0>;
168 ralink,mtd-eeprom = <&factory 0x8000>;
174 reg = <0x0000 0 0 0 0>;
176 mediatek,mtd-eeprom = <&factory 0x0000>;