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 0xeb0000>;
50 reg = <0xe00000 0x100000>;
57 state_default: pinctrl0 {
59 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
60 ralink,function = "gpio";
66 pinctrl-names = "default";
67 pinctrl-0 = <&ephy_pins>;
69 ralink,port-map = "llllw";
73 ralink,port4 = "ephy";
77 ralink,mtd-eeprom = <&factory 0>;
85 compatible = "gpio-leds";
87 label = "buffalo:red:power";
91 label = "buffalo:green:status";
95 label = "buffalo:green:power";
99 label = "buffalo:orange:status";
100 gpios = <&gpio0 10 1>;
103 label = "buffalo:green:internet";
104 gpios = <&gpio2 17 1>;
107 label = "buffalo:green:router";
108 gpios = <&gpio2 18 1>;
111 label = "buffalo:orange:router";
112 gpios = <&gpio2 19 1>;
117 compatible = "gpio-keys-polled";
118 #address-cells = <1>;
120 poll-interval = <20>;
123 gpios = <&gpio2 12 1>;
124 linux,code = <0x100>;
128 gpios = <&gpio2 13 1>;
129 linux,code = <0x101>;
133 gpios = <&gpio2 14 1>;
134 linux,code = <0x102>;
138 gpios = <&gpio2 15 1>;
139 linux,code = <0x103>;