3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "glinet,gl-mt300n", "ralink,mt7620a-soc";
13 bootargs = "console=ttyS0,115200";
17 compatible = "gpio-leds";
20 label = "gl-mt300n:wan";
21 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
25 label = "gl-mt300n:lan";
26 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
30 label = "gl-mt300n:wlan";
31 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys-polled";
40 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
46 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
52 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <10000000>;
83 compatible = "fixed-partitions";
94 reg = <0x30000 0x10000>;
98 factory: partition@40000 {
100 reg = <0x40000 0x10000>;
105 compatible = "denx,uimage";
107 reg = <0x50000 0xf80000>;
112 reg = <0xff0000 0x10000>;
127 mtd-mac-address = <&factory 0x4000>;
128 mediatek,portmap = "wllll";
132 ralink,mtd-eeprom = <&factory 0>;
136 state_default: pinctrl0 {
138 ralink,group = "wled","ephy","i2c";
139 ralink,function = "gpio";