3 #include "mt7620a.dtsi"
5 #include <dt-bindings/input/input.h>
8 compatible = "GL-MT300A", "ralink,mt7620a-soc";
12 bootargs = "console=ttyS0,115200";
16 compatible = "gpio-leds";
19 label = "gl-mt300a:wan";
24 label = "gl-mt300a:lan";
29 label = "gl-mt300a:wlan";
34 label = "gl-mt300a:usb";
41 compatible = "gpio-keys-polled";
47 gpios = <&gpio0 13 1>;
48 linux,code = <KEY_RESTART>;
87 compatible = "w25q128";
89 linux,modalias = "m25p80", "w25q128";
90 spi-max-frequency = <10000000>;
99 reg = <0x30000 0x10000>;
103 factory: partition@40000 {
105 reg = <0x40000 0x10000>;
111 reg = <0x50000 0xf80000>;
116 reg = <0xff0000 0x10000>;
134 pinctrl-names = "default";
135 pinctrl-0 = <&ephy_pins>;
136 mtd-mac-address = <&factory 0x4000>;
137 ralink,port-map = "wllll";
141 ralink,mtd-eeprom = <&factory 0>;
149 reg = <0x0000 0 0 0 0>;
151 mediatek,mtd-eeprom = <&factory 0x8000>;
158 state_default: pinctrl0 {
160 ralink,group = "wled","ephy","uartf","i2c";
161 ralink,function = "gpio";