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 mediatek,mtd-eeprom = <&factory 32768>;
107 compatible = "gpio-leds";
109 label = "buffalo:red:power";
110 gpios = <&gpio0 7 1>;
113 label = "buffalo:green:status";
114 gpios = <&gpio0 8 1>;
117 label = "buffalo:green:power";
118 gpios = <&gpio0 9 1>;
121 label = "buffalo:orange:status";
122 gpios = <&gpio0 10 1>;
125 label = "buffalo:green:internet";
126 gpios = <&gpio2 17 1>;
129 label = "buffalo:green:router";
130 gpios = <&gpio2 18 1>;
133 label = "buffalo:orange:router";
134 gpios = <&gpio2 19 1>;
139 compatible = "gpio-keys-polled";
140 #address-cells = <1>;
142 poll-interval = <20>;
145 gpios = <&gpio2 12 1>;
146 linux,code = <0x100>;
150 gpios = <&gpio2 13 1>;
151 linux,code = <0x101>;
155 gpios = <&gpio2 14 1>;
156 linux,code = <0x102>;
160 gpios = <&gpio2 15 1>;
161 linux,code = <0x103>;