3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "glinet,gl-mt750", "ralink,mt7620a-soc";
13 bootargs = "console=ttyS0,115200";
17 compatible = "gpio-leds";
20 label = "gl-mt750:wan";
21 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
25 label = "gl-mt750:lan";
26 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
30 label = "gl-mt750:wlan";
31 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys-polled";
40 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
46 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
52 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <10000000>;
83 compatible = "fixed-partitions";
94 reg = <0x30000 0x10000>;
98 factory: partition@40000 {
100 reg = <0x40000 0x10000>;
105 compatible = "denx,uimage";
107 reg = <0x50000 0xf80000>;
112 reg = <0xff0000 0x10000>;
131 mtd-mac-address = <&factory 0x4000>;
132 mediatek,portmap = "llllw";
136 ralink,mtd-eeprom = <&factory 0>;
145 reg = <0x0000 0 0 0 0>;
146 mediatek,mtd-eeprom = <&factory 0x8000>;
151 state_default: pinctrl0 {
153 ralink,group = "wled","ephy","uartf";
154 ralink,function = "gpio";