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>;
98 compatible = "fixed-layout";
102 eeprom_factory_0: eeprom@0 {
106 eeprom_factory_8000: eeprom@8000 {
107 reg = <0x8000 0x200>;
110 macaddr_factory_4000: macaddr@4000 {
117 compatible = "denx,uimage";
119 reg = <0x50000 0xf80000>;
124 reg = <0xff0000 0x10000>;
143 nvmem-cells = <&macaddr_factory_4000>;
144 nvmem-cell-names = "mac-address";
146 mediatek,portmap = "wllll";
150 nvmem-cells = <&eeprom_factory_0>;
151 nvmem-cell-names = "eeprom";
160 reg = <0x0000 0 0 0 0>;
161 nvmem-cells = <&eeprom_factory_8000>;
162 nvmem-cell-names = "eeprom";
168 groups = "wled","ephy","uartf";