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 label-mac-device = &wmac;
17 bootargs = "console=ttyS0,115200";
21 compatible = "gpio-leds";
24 label = "gl-mt300n:wan";
25 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
29 label = "gl-mt300n:lan";
30 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
34 label = "gl-mt300n:wlan";
35 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
40 compatible = "gpio-keys";
44 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
50 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
56 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
82 compatible = "jedec,spi-nor";
84 spi-max-frequency = <10000000>;
87 compatible = "fixed-partitions";
98 reg = <0x30000 0x10000>;
102 factory: partition@40000 {
104 reg = <0x40000 0x10000>;
109 compatible = "denx,uimage";
111 reg = <0x50000 0xf80000>;
116 reg = <0xff0000 0x10000>;
131 mtd-mac-address = <&factory 0x4000>;
132 mediatek,portmap = "wllll";
136 ralink,mtd-eeprom = <&factory 0>;
140 state_default: pinctrl0 {
142 ralink,group = "wled","ephy","i2c";
143 ralink,function = "gpio";