3 #include "mt7620a.dtsi"
6 compatible = "ralink,mt7620a-soc";
7 model = "Buffalo WHR-1166D";
10 compatible = "gpio-leds";
13 label = "whr-1166d:red:power";
18 label = "whr-1166d:green:wifi";
23 label = "whr-1166d:green:power";
28 label = "whr-1166d:orange:wifi";
29 gpios = <&gpio0 10 1>;
33 label = "whr-1166d:green:internet";
34 gpios = <&gpio2 17 1>;
38 label = "whr-1166d:orange:router";
39 gpios = <&gpio2 18 1>;
43 label = "whr-1166d:green:router";
44 gpios = <&gpio2 19 1>;
49 compatible = "gpio-keys-polled";
56 gpios = <&gpio2 12 1>;
62 gpios = <&gpio2 13 1>;
68 gpios = <&gpio2 14 1>;
70 linux,input-type = <5>; /* EV_SW */
75 gpios = <&gpio2 15 1>;
77 linux,input-type = <5>; /* EV_SW */
92 compatible = "jedec,spi-nor";
94 linux,modalias = "m25p80", "mx25l6405d";
95 spi-max-frequency = <10000000>;
104 label = "u-boot-env";
105 reg = <0x30000 0x10000>;
109 factory: partition@40000 {
111 reg = <0x40000 0x10000>;
117 reg = <0x50000 0xfb0000>;
123 state_default: pinctrl0 {
125 ralink,group = "i2c", "uartf", "wled", "nd_sd";
126 ralink,function = "gpio";
132 pinctrl-names = "default";
133 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
137 phy-handle = <&phy5>;
144 phy5: ethernet-phy@5 {
152 mediatek,port4 = "ephy";
156 ralink,mtd-eeprom = <&factory 0>;
164 reg = <0x0000 0 0 0 0>;
166 mediatek,mtd-eeprom = <&factory 32768>;