5 #include <dt-bindings/input/input.h>
8 model = "Buffalo WSR-1166DHP";
11 device_type = "memory";
12 reg = <0x0 0x8000000>;
16 bootargs = "console=ttyS0,57600";
20 compatible = "gpio-leds";
23 label = "wsr-1166:green:internet";
28 label = "wsr-1166:green:router";
29 gpios = <&gpio1 10 1>;
33 label = "wsr-1166:orange:router";
34 gpios = <&gpio1 11 1>;
38 label = "wsr-1166:orange:internet";
39 gpios = <&gpio1 12 1>;
43 label = "wsr-1166:orange:wifi";
44 gpios = <&gpio1 13 1>;
48 label = "wsr-1166:green:power";
49 gpios = <&gpio1 14 1>;
53 label = "wsr-1166:orange:diag";
54 gpios = <&gpio1 15 1>;
58 label = "wsr-1166:green:wifi";
59 gpios = <&gpio1 16 1>;
64 compatible = "gpio-keys-polled";
71 gpios = <&gpio0 18 1>;
72 linux,code = <KEY_POWER>;
78 linux,code = <KEY_RESTART>;
84 linux,code = <KEY_WPS_BUTTON>;
91 linux,input-type = <EV_SW>;
96 gpios = <&gpio0 10 0>;
98 linux,input-type = <EV_SW>;
103 gpios = <&gpio0 12 0>;
104 linux,code = <BTN_0>;
105 linux,input-type = <EV_SW>;
110 compatible = "gpio-poweroff";
111 gpios = <&gpio0 0 1>;
119 #address-cells = <1>;
121 compatible = "jedec,spi-nor";
123 spi-max-frequency = <10000000>;
124 m25p,chunked-io = <32>;
133 label = "u-boot-env";
134 reg = <0x30000 0x10000>;
138 factory: partition@40000 {
140 reg = <0x40000 0x10000>;
146 reg = <0x50000 0xf90000>;
150 label = "board_data";
151 reg = <0xfe0000 0x20000>;
157 state_default: pinctrl0 {
159 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
160 ralink,function = "gpio";
170 reg = <0x0000 0 0 0 0>;
172 mediatek,mtd-eeprom = <&factory 0x8000>;
173 ieee80211-freq-limit = <5000000 6000000>;
179 reg = <0x0000 0 0 0 0>;
181 mediatek,mtd-eeprom = <&factory 0x0000>;