3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "glinet,gl-mt300n-v2", "mediatek,mt7628an-soc";
10 model = "GL-MT300N-V2";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
17 label-mac-device = ðernet;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-leds";
28 label = "gl-mt300n-v2:green:power";
30 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
34 label = "gl-mt300n-v2:green:wan";
35 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
39 label = "gl-mt300n-v2:red:wlan";
40 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-keys";
49 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
55 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
61 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
67 compatible = "gpio-export";
71 gpio-export,name = "usb";
72 gpio-export,output = <1>;
73 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
79 state_default: pinctrl0 {
81 ralink,group = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s";
82 ralink,function = "gpio";
88 mtd-mac-address = <&factory 0x4>;
99 compatible = "jedec,spi-nor";
101 spi-max-frequency = <10000000>;
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
115 label = "u-boot-env";
116 reg = <0x30000 0x10000>;
120 factory: partition@40000 {
122 reg = <0x40000 0x10000>;
127 compatible = "denx,uimage";
129 reg = <0x50000 0xfb0000>;