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 = <&gpio 42 GPIO_ACTIVE_LOW>;
34 label = "gl-mt300n-v2:green:wan";
35 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
39 label = "gl-mt300n-v2:red:wlan";
40 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-keys";
49 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
55 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
61 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
67 compatible = "gpio-export";
71 gpio-export,name = "usb";
72 gpio-export,output = <1>;
73 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
80 groups = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s";
86 mtd-mac-address = <&factory 0x4>;
97 compatible = "jedec,spi-nor";
99 spi-max-frequency = <10000000>;
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
113 label = "u-boot-env";
114 reg = <0x30000 0x10000>;
118 factory: partition@40000 {
120 reg = <0x40000 0x10000>;
125 compatible = "denx,uimage";
127 reg = <0x50000 0xfb0000>;