1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "glinet,gl-mt300a", "ralink,mt7620a-soc";
11 label-mac-device = &wmac;
15 bootargs = "console=ttyS0,115200";
19 compatible = "gpio-leds";
22 label = "gl-mt300a:wan";
23 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
27 label = "gl-mt300a:lan";
28 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
32 label = "gl-mt300a:wlan";
33 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
37 label = "gl-mt300a:usb";
38 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-keys";
47 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
53 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
85 compatible = "jedec,spi-nor";
87 spi-max-frequency = <10000000>;
90 compatible = "fixed-partitions";
100 label = "u-boot-env";
101 reg = <0x30000 0x10000>;
105 factory: partition@40000 {
107 reg = <0x40000 0x10000>;
112 compatible = "denx,uimage";
114 reg = <0x50000 0xf80000>;
119 reg = <0xff0000 0x10000>;
138 mtd-mac-address = <&factory 0x4000>;
140 mediatek,portmap = "wllll";
144 ralink,mtd-eeprom = <&factory 0x0>;
149 groups = "wled","ephy","uartf","i2c";