3 #include "mt7620a.dtsi"
6 compatible = "ralink,mt7620a-soc";
7 model = "Buffalo WHR-300HP2";
10 compatible = "gpio-leds";
13 label = "whr-300hp2:red:power";
18 label = "whr-300hp2:green:wifi";
23 label = "whr-300hp2:green:power";
28 label = "whr-300hp2:orange:wifi";
29 gpios = <&gpio0 10 1>;
33 label = "whr-300hp2:green:internet";
34 gpios = <&gpio2 17 1>;
38 label = "whr-300hp2:green:router";
39 gpios = <&gpio2 18 1>;
43 label = "whr-300hp2:orange: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", "s25fl064k";
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 0x7b0000>;
123 state_default: pinctrl0 {
125 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
126 ralink,function = "gpio";
131 ralink,function = "pa";
137 pinctrl-names = "default";
138 pinctrl-0 = <&ephy_pins>;
139 mediatek,portmap = "llllw";
143 mediatek,port4 = "ephy";
147 ralink,mtd-eeprom = <&factory 0>;