1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "glinet,gl-mt750", "ralink,mt7620a-soc";
11 label-mac-device = &wmac;
15 bootargs = "console=ttyS0,115200";
19 compatible = "gpio-leds";
22 label = "gl-mt750:wan";
23 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
27 label = "gl-mt750:lan";
28 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
32 label = "gl-mt750:wlan";
33 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
38 compatible = "gpio-keys";
42 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
48 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
54 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
72 compatible = "jedec,spi-nor";
74 spi-max-frequency = <10000000>;
77 compatible = "fixed-partitions";
88 reg = <0x30000 0x10000>;
92 factory: partition@40000 {
94 reg = <0x40000 0x10000>;
99 compatible = "denx,uimage";
101 reg = <0x50000 0xf80000>;
106 reg = <0xff0000 0x10000>;
125 nvmem-cells = <&macaddr_factory_4000>;
126 nvmem-cell-names = "mac-address";
128 mediatek,portmap = "wllll";
132 ralink,mtd-eeprom = <&factory 0x0>;
141 reg = <0x0000 0 0 0 0>;
142 mediatek,mtd-eeprom = <&factory 0x8000>;
148 groups = "wled","ephy","uartf";
154 compatible = "nvmem-cells";
155 #address-cells = <1>;
158 macaddr_factory_4000: macaddr@4000 {