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 0xfb0000>;
52 state_default: pinctrl0 {
54 ralink,group = "i2c", "uartf", "wled", "nd_sd";
55 ralink,function = "gpio";
61 pinctrl-names = "default";
62 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
73 phy5: ethernet-phy@5 {
81 ralink,port4 = "ephy";
85 ralink,mtd-eeprom = <&factory 0>;
93 reg = <0x0000 0 0 0 0>;
95 mediatek,mtd-eeprom = <&factory 32768>;
102 compatible = "gpio-leds";
104 label = "buffalo:red:power";
105 gpios = <&gpio0 7 1>;
108 label = "buffalo:green:status";
109 gpios = <&gpio0 8 1>;
112 label = "buffalo:green:power";
113 gpios = <&gpio0 9 1>;
116 label = "buffalo:orange:status";
117 gpios = <&gpio0 10 1>;
120 label = "buffalo:green:internet";
121 gpios = <&gpio2 17 1>;
124 label = "buffalo:green:router";
125 gpios = <&gpio2 18 1>;
128 label = "buffalo:orange:router";
129 gpios = <&gpio2 19 1>;
134 compatible = "gpio-keys-polled";
135 #address-cells = <1>;
137 poll-interval = <20>;
140 gpios = <&gpio2 12 1>;
141 linux,code = <0x198>;
145 gpios = <&gpio2 13 1>;
146 linux,code = <0x211>;
150 gpios = <&gpio2 14 1>;
151 linux,code = <0x100>;
152 linux,input-type = <5>; /* EV_SW */
156 gpios = <&gpio2 15 1>;
157 linux,code = <0x100>;
158 linux,input-type = <5>; /* EV_SW */