3 /include/ "mt7620a.dtsi"
6 compatible = "ralink,mt7620a-soc";
7 model = "Buffalo WHR-300HP2";
20 compatible = "jedec,spi-nor";
22 linux,modalias = "m25p80", "s25fl064k";
23 spi-max-frequency = <10000000>;
33 reg = <0x30000 0x10000>;
37 factory: partition@40000 {
39 reg = <0x40000 0x10000>;
45 reg = <0x50000 0x7b0000>;
52 state_default: pinctrl0 {
54 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
55 ralink,function = "gpio";
60 ralink,function = "pa";
66 pinctrl-names = "default";
67 pinctrl-0 = <&ephy_pins>;
68 mediatek,portmap = "llllw";
72 mediatek,port4 = "ephy";
76 ralink,mtd-eeprom = <&factory 0>;
80 compatible = "gpio-leds";
83 label = "whr-300hp2:red:power";
88 label = "whr-300hp2:green:wifi";
93 label = "whr-300hp2:green:power";
98 label = "whr-300hp2:orange:wifi";
99 gpios = <&gpio0 10 1>;
103 label = "whr-300hp2:green:internet";
104 gpios = <&gpio2 17 1>;
108 label = "whr-300hp2:green:router";
109 gpios = <&gpio2 18 1>;
113 label = "whr-300hp2:orange:router";
114 gpios = <&gpio2 19 1>;
119 compatible = "gpio-keys-polled";
120 #address-cells = <1>;
122 poll-interval = <20>;
126 gpios = <&gpio2 12 1>;
127 linux,code = <0x198>;
132 gpios = <&gpio2 13 1>;
133 linux,code = <0x211>;
138 gpios = <&gpio2 14 1>;
139 linux,code = <0x100>;
140 linux,input-type = <5>; /* EV_SW */
145 gpios = <&gpio2 15 1>;
146 linux,code = <0x100>;
147 linux,input-type = <5>; /* EV_SW */