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 {
93 compatible = "nvmem-cells";
95 reg = <0x40000 0x10000>;
100 eeprom_factory_0: eeprom@0 {
104 eeprom_factory_8000: eeprom@8000 {
105 reg = <0x8000 0x200>;
108 macaddr_factory_4000: macaddr@4000 {
114 compatible = "denx,uimage";
116 reg = <0x50000 0xf80000>;
121 reg = <0xff0000 0x10000>;
140 nvmem-cells = <&macaddr_factory_4000>;
141 nvmem-cell-names = "mac-address";
143 mediatek,portmap = "wllll";
147 nvmem-cells = <&eeprom_factory_0>;
148 nvmem-cell-names = "eeprom";
157 reg = <0x0000 0 0 0 0>;
158 nvmem-cells = <&eeprom_factory_8000>;
159 nvmem-cell-names = "eeprom";
165 groups = "wled","ephy","uartf";