3 /include/ "mt7620a.dtsi"
6 compatible = "ralink,mt7620a-soc";
7 model = "Buffalo WHR-1166D";
20 compatible = "en25q64";
22 linux,modalias = "m25p80", "mx25l6405d";
23 spi-max-frequency = <10000000>;
33 reg = <0x30000 0x10000>;
37 factory: partition@40000 {
39 reg = <0x40000 0x10000>;
45 reg = <0x50000 0xfb0000>;
52 state_default: pinctrl0 {
54 ralink,group = "i2c", "uartf", "wled", "nd_sd";
55 ralink,function = "gpio";
61 pinctrl-names = "default";
62 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
73 phy5: ethernet-phy@5 {
81 ralink,port4 = "ephy";
85 ralink,mtd-eeprom = <&factory 0>;
93 reg = <0x0000 0 0 0 0>;
95 mediatek,mtd-eeprom = <&factory 32768>;
102 compatible = "gpio-leds";
105 label = "buffalo:red:power";
106 gpios = <&gpio0 7 1>;
110 label = "buffalo:green:wifi";
111 gpios = <&gpio0 8 1>;
115 label = "buffalo:green:power";
116 gpios = <&gpio0 9 1>;
120 label = "buffalo:orange:wifi";
121 gpios = <&gpio0 10 1>;
125 label = "buffalo:green:internet";
126 gpios = <&gpio2 17 1>;
130 label = "buffalo:orange:router";
131 gpios = <&gpio2 18 1>;
135 label = "buffalo:green:router";
136 gpios = <&gpio2 19 1>;
141 compatible = "gpio-keys-polled";
142 #address-cells = <1>;
144 poll-interval = <20>;
148 gpios = <&gpio2 12 1>;
149 linux,code = <0x198>;
154 gpios = <&gpio2 13 1>;
155 linux,code = <0x211>;
160 gpios = <&gpio2 14 1>;
161 linux,code = <0x100>;
162 linux,input-type = <5>; /* EV_SW */
167 gpios = <&gpio2 15 1>;
168 linux,code = <0x100>;
169 linux,input-type = <5>; /* EV_SW */