3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "gl-inet,gl-mt300n-v2", "ralink,mt7620an-soc";
10 model = "GL-MT300N-V2";
13 bootargs = "console=ttyS0,115200";
17 device_type = "memory";
18 reg = <0x0 0x8000000>;
22 compatible = "gpio-leds";
25 label = "gl-mt300n-v2:blue:wan";
26 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
30 label = "gl-mt300n-v2:red:wlan";
31 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys-polled";
43 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
55 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
61 compatible = "gpio-export";
65 gpio-export,name = "usb";
66 gpio-export,output = <1>;
67 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
74 state_default: pinctrl0 {
76 ralink,group = "wdt", "gpio", "wled_an", "p0led_an", "i2s";
77 ralink,function = "gpio";
83 mtd-mac-address = <&factory 0x4000>;
88 ralink,mtd-eeprom = <&factory 0x0>;
97 compatible = "jedec,spi-nor";
99 spi-max-frequency = <10000000>;
100 m25p,chunked-io = <32>;
109 label = "u-boot-env";
110 reg = <0x30000 0x10000>;
114 factory: partition@40000 {
116 reg = <0x40000 0x10000>;
122 reg = <0x50000 0xfb0000>;