3 /include/ "mt7620a.dtsi"
6 compatible = "GL-MT300A", "ralink,mt7620a-soc";
10 bootargs = "console=ttyS0,115200";
36 compatible = "w25q128";
38 linux,modalias = "m25p80", "w25q128";
39 spi-max-frequency = <10000000>;
48 reg = <0x30000 0x10000>;
52 factory: partition@40000 {
54 reg = <0x40000 0x10000>;
60 reg = <0x50000 0xf80000>;
65 reg = <0xff0000 0x10000>;
84 pinctrl-names = "default";
85 pinctrl-0 = <&ephy_pins>;
86 mtd-mac-address = <&factory 0x4000>;
87 ralink,port-map = "wllll";
91 ralink,mtd-eeprom = <&factory 0>;
99 reg = <0x0000 0 0 0 0>;
101 mediatek,mtd-eeprom = <&factory 0x8000>;
108 state_default: pinctrl0 {
110 ralink,group = "wled","ephy","uartf","i2c";
111 ralink,function = "gpio";
117 compatible = "gpio-leds";
120 label = "gl-mt300a:wan";
121 gpios = <&gpio2 0 1>;
125 label = "gl-mt300a:lan";
126 gpios = <&gpio2 1 1>;
130 label = "gl-mt300a:wlan";
131 gpios = <&gpio3 0 1>;
135 label = "gl-mt300a:usb";
136 gpios = <&gpio0 7 1>;
142 compatible = "gpio-keys-polled";
143 #address-cells = <1>;
145 poll-interval = <20>;
148 gpios = <&gpio0 13 1>;
149 linux,code = <0x198>;
154 gpios = <&gpio0 1 1>;
155 linux,code = <0x100>;
160 gpios = <&gpio0 2 1>;
161 linux,code = <0x101>;