6 compatible = "ralink,mt7621-eval-board", "ralink,mt7621-soc";
7 model = "Buffalo WSR-1166DHP";
10 device_type = "memory";
11 reg = <0x0 0x8000000>;
15 bootargs = "console=ttyS0,57600";
25 compatible = "jedec,spi-nor";
27 linux,modalias = "m25p80";
28 spi-max-frequency = <10000000>;
38 reg = <0x30000 0x10000>;
42 factory: partition@40000 {
44 reg = <0x40000 0x10000>;
50 reg = <0x50000 0xf90000>;
55 reg = <0xfe0000 0x10000>;
62 state_default: pinctrl0 {
64 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
65 ralink,function = "gpio";
71 compatible = "gpio-leds";
74 label = "wsr-1166:green:internet";
79 label = "wsr-1166:green:router";
80 gpios = <&gpio1 10 1>;
84 label = "wsr-1166:orange:router";
85 gpios = <&gpio1 11 1>;
89 label = "wsr-1166:orange:internet";
90 gpios = <&gpio1 12 1>;
94 label = "wsr-1166:orange:wifi";
95 gpios = <&gpio1 13 1>;
99 label = "wsr-1166:green:power";
100 gpios = <&gpio1 14 1>;
104 label = "wsr-1166:orange:diag";
105 gpios = <&gpio1 15 1>;
109 label = "wsr-1166:green:wifi";
110 gpios = <&gpio1 16 1>;
115 compatible = "gpio-keys-polled";
116 #address-cells = <1>;
118 poll-interval = <20>;
122 gpios = <&gpio0 18 1>;
128 gpios = <&gpio0 3 1>;
129 linux,code = <0x198>;
134 gpios = <&gpio0 6 1>;
135 linux,code = <0x211>;
140 gpios = <&gpio0 7 0>;
141 linux,code = <0x100>;
142 linux,input-type = <5>; /* EV_SW */
147 gpios = <&gpio0 10 0>;
148 linux,code = <0x100>;
149 linux,input-type = <5>; /* EV_SW */
154 gpios = <&gpio0 12 0>;
155 linux,code = <0x100>;
156 linux,input-type = <5>; /* EV_SW */
161 compatible = "gpio-poweroff";
162 gpios = <&gpio0 0 1>;
170 reg = <0x0000 0 0 0 0>;
172 mediatek,mtd-eeprom = <&factory 0x8000>;
179 reg = <0x0000 0 0 0 0>;
181 mediatek,mtd-eeprom = <&factory 0x0000>;