3 #include "mt7620a.dtsi"
5 #include <dt-bindings/input/input.h>
8 compatible = "ralink,mt7620a-soc";
9 model = "Buffalo WHR-600D";
12 compatible = "gpio-leds";
15 label = "whr-600d:red:power";
20 label = "whr-600d:green:wifi";
25 label = "whr-600d:green:power";
30 label = "whr-600d:orange:wifi";
31 gpios = <&gpio0 10 1>;
35 label = "whr-600d:green:internet";
36 gpios = <&gpio2 17 1>;
40 label = "whr-600d:green:router";
41 gpios = <&gpio2 18 1>;
45 label = "whr-600d:orange:router";
46 gpios = <&gpio2 19 1>;
51 compatible = "gpio-keys-polled";
58 gpios = <&gpio2 12 1>;
59 linux,code = <KEY_RESTART>;
64 gpios = <&gpio2 13 1>;
65 linux,code = <KEY_WPS_BUTTON>;
70 gpios = <&gpio2 14 1>;
72 linux,input-type = <EV_SW>;
77 gpios = <&gpio2 15 1>;
79 linux,input-type = <EV_SW>;
94 compatible = "jedec,spi-nor";
96 linux,modalias = "m25p80", "mx25l6405d";
97 spi-max-frequency = <10000000>;
106 label = "u-boot-env";
107 reg = <0x30000 0x10000>;
111 factory: partition@40000 {
113 reg = <0x40000 0x10000>;
119 reg = <0x50000 0x7b0000>;
125 state_default: pinctrl0 {
127 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
128 ralink,function = "gpio";
134 pinctrl-names = "default";
135 pinctrl-0 = <&ephy_pins>;
136 mtd-mac-address = <&factory 0x4>;
137 mediatek,portmap = "llllw";
141 mediatek,port4 = "ephy";
145 ralink,mtd-eeprom = <&factory 0>;
153 compatible = "pci1814,3091";
154 reg = <0x0000 0 0 0 0>;
155 mediatek,mtd-eeprom = <&factory 0x8000>;