3 /include/ "mt7621.dtsi"
6 compatible = "ralink,mt7621-eval-board", "ralink,mt7621-soc";
7 model = "Buffalo WSR-1166DHP";
10 reg = <0x0 0x8000000>;
14 bootargs = "console=ttyS0,57600";
24 compatible = "mx25l12805d";
26 linux,modalias = "m25p80";
27 spi-max-frequency = <10000000>;
37 reg = <0x30000 0x10000>;
41 factory: partition@40000 {
43 reg = <0x40000 0x10000>;
49 reg = <0x50000 0x7c0000>;
54 reg = <0x810000 0x7c0000>;
59 reg = <0xfd0000 0x10000>;
64 reg = <0xfe0000 0x10000>;
71 state_default: pinctrl0 {
73 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
74 ralink,function = "gpio";
80 compatible = "gpio-leds";
82 label = "buffalo:green:internet";
86 label = "buffalo:green:router";
87 gpios = <&gpio1 10 1>;
90 label = "buffalo:orange:router";
91 gpios = <&gpio1 11 1>;
94 label = "buffalo:orange:internet";
95 gpios = <&gpio1 12 1>;
98 label = "buffalo:orange:wifi";
99 gpios = <&gpio1 13 1>;
102 label = "buffalo:green:power";
103 gpios = <&gpio0 14 1>;
106 label = "buffalo:orange:diag";
107 gpios = <&gpio1 15 1>;
110 label = "buffalo:green:wifi";
111 gpios = <&gpio1 16 1>;
116 compatible = "gpio-keys-polled";
117 #address-cells = <1>;
119 poll-interval = <20>;
122 gpios = <&gpio0 18 1>;
127 gpios = <&gpio0 3 1>;
128 linux,code = <0x198>;
132 gpios = <&gpio0 6 1>;
133 linux,code = <0x211>;
137 gpios = <&gpio0 7 0>;
138 linux,code = <0x100>;
139 linux,input-type = <5>; /* EV_SW */
143 gpios = <&gpio0 10 0>;
144 linux,code = <0x100>;
145 linux,input-type = <5>; /* EV_SW */
149 gpios = <&gpio0 12 0>;
150 linux,code = <0x100>;
151 linux,input-type = <5>; /* EV_SW */
156 compatible = "gpio-poweroff";
157 gpios = <&gpio0 0 1>;
165 reg = <0x0000 0 0 0 0>;
167 mediatek,mtd-eeprom = <&factory 0x8000>;
174 reg = <0x0000 0 0 0 0>;
176 mediatek,mtd-eeprom = <&factory 0x0000>;