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 0xeb0000>;
50 reg = <0xf00000 0x100000>;
57 state_default: pinctrl0 {
59 ralink,group = "i2c", "uartf", "wled", "nd_sd";
60 ralink,function = "gpio";
66 pinctrl-names = "default";
67 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
78 phy5: ethernet-phy@5 {
86 ralink,port4 = "ephy";
90 ralink,mtd-eeprom = <&factory 0>;
98 reg = <0x0000 0 0 0 0>;
100 ralink,mtd-eeprom = <&factory 32768>;
106 compatible = "gpio-leds";
108 label = "buffalo:red:power";
109 gpios = <&gpio0 7 1>;
112 label = "buffalo:green:status";
113 gpios = <&gpio0 8 1>;
116 label = "buffalo:green:power";
117 gpios = <&gpio0 9 1>;
120 label = "buffalo:orange:status";
121 gpios = <&gpio0 10 1>;
124 label = "buffalo:green:internet";
125 gpios = <&gpio2 17 1>;
128 label = "buffalo:green:router";
129 gpios = <&gpio2 18 1>;
132 label = "buffalo:orange:router";
133 gpios = <&gpio2 19 1>;
138 compatible = "gpio-keys-polled";
139 #address-cells = <1>;
141 poll-interval = <20>;
144 gpios = <&gpio2 12 1>;
145 linux,code = <0x100>;
149 gpios = <&gpio2 13 1>;
150 linux,code = <0x101>;
154 gpios = <&gpio2 14 1>;
155 linux,code = <0x102>;
159 gpios = <&gpio2 15 1>;
160 linux,code = <0x103>;