3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "microduino,microwrt", "ralink,mt7620a-soc";
10 model = "Microduino MicroWRT";
13 bootargs = "console=ttyS0,115200";
17 compatible = "gpio-keys";
21 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_RESTART>;
27 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_WPS_BUTTON>;
45 compatible = "jedec,spi-nor";
47 spi-max-frequency = <10000000>;
50 compatible = "fixed-partitions";
62 reg = <0x20000 0x10000>;
66 factory: partition@30000 {
68 reg = <0x30000 0x10000>;
73 compatible = "denx,uimage";
75 reg = <0x40000 0xfc0000>;
90 pinctrl-names = "default";
91 pinctrl-0 = <&ephy_pins>;
92 mtd-mac-address = <&factory 0x4>;
93 mediatek,portmap = "llllw";
97 ralink,mtd-eeprom = <&factory 0>;
101 state_default: pinctrl0 {
103 ralink,group = "wled", "i2c", "wdt", "uartf";
104 ralink,function = "gpio";