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 = "jedec,spi-nor";
89 spi-max-frequency = <10000000>;
98 reg = <0x30000 0x10000>;
102 factory: partition@40000 {
104 reg = <0x40000 0x10000>;
110 reg = <0x50000 0xf80000>;
115 reg = <0xff0000 0x10000>;
133 pinctrl-names = "default";
134 pinctrl-0 = <&ephy_pins>;
135 mtd-mac-address = <&factory 0x4000>;
136 ralink,port-map = "wllll";
140 ralink,mtd-eeprom = <&factory 0>;
144 state_default: pinctrl0 {
146 ralink,group = "wled","ephy","uartf","i2c";
147 ralink,function = "gpio";