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-polled";
22 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
28 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_WPS_BUTTON>;
46 compatible = "jedec,spi-nor";
48 spi-max-frequency = <10000000>;
51 compatible = "fixed-partitions";
63 reg = <0x20000 0x10000>;
67 factory: partition@30000 {
69 reg = <0x30000 0x10000>;
74 compatible = "denx,uimage";
76 reg = <0x40000 0xfc0000>;
91 pinctrl-names = "default";
92 pinctrl-0 = <&ephy_pins>;
93 mtd-mac-address = <&factory 0x4>;
94 mediatek,portmap = "llllw";
98 ralink,mtd-eeprom = <&factory 0>;
102 state_default: pinctrl0 {
104 ralink,group = "wled", "i2c", "wdt", "uartf";
105 ralink,function = "gpio";