1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "glinet,gl-mt300a", "ralink,mt7620a-soc";
11 label-mac-device = &wmac;
15 bootargs = "console=ttyS0,115200";
19 compatible = "gpio-leds";
22 label = "gl-mt300a:wan";
23 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
27 label = "gl-mt300a:lan";
28 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
32 label = "gl-mt300a:wlan";
33 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
37 label = "gl-mt300a:usb";
38 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-keys";
47 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
53 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <10000000>;
82 compatible = "fixed-partitions";
93 reg = <0x30000 0x10000>;
97 factory: partition@40000 {
99 reg = <0x40000 0x10000>;
104 compatible = "denx,uimage";
106 reg = <0x50000 0xf80000>;
111 reg = <0xff0000 0x10000>;
130 nvmem-cells = <&macaddr_factory_4000>;
131 nvmem-cell-names = "mac-address";
133 mediatek,portmap = "wllll";
137 ralink,mtd-eeprom = <&factory 0x0>;
142 groups = "wled","ephy","uartf","i2c";
148 compatible = "nvmem-cells";
149 #address-cells = <1>;
152 macaddr_factory_4000: macaddr@4000 {