3 #include "mt7620a.dtsi"
5 #include <dt-bindings/input/input.h>
8 compatible = "GL-MT300N", "ralink,mt7620a-soc";
12 bootargs = "console=ttyS0,115200";
16 compatible = "gpio-leds";
19 label = "gl-mt300n:wan";
24 label = "gl-mt300n:lan";
29 label = "gl-mt300n:wlan";
36 compatible = "gpio-keys-polled";
43 linux,code = <KEY_RESTART>;
82 compatible = "w25q128";
84 linux,modalias = "m25p80", "w25q128";
85 spi-max-frequency = <10000000>;
94 reg = <0x30000 0x10000>;
98 factory: partition@40000 {
100 reg = <0x40000 0x10000>;
106 reg = <0x50000 0xf80000>;
111 reg = <0xff0000 0x10000>;
125 mtd-mac-address = <&factory 0x4000>;
126 ralink,port-map = "wllll";
130 ralink,mtd-eeprom = <&factory 0>;
138 reg = <0x0000 0 0 0 0>;
140 mediatek,mtd-eeprom = <&factory 0x8000>;
147 state_default: pinctrl0 {
149 ralink,group = "wled","ephy","i2c";
150 ralink,function = "gpio";