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";
24 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
30 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_WPS_BUTTON>;
50 compatible = "jedec,spi-nor";
52 spi-max-frequency = <10000000>;
62 reg = <0x20000 0x10000>;
66 factory: partition@30000 {
68 reg = <0x30000 0x10000>;
74 reg = <0x40000 0xfc0000>;
92 pinctrl-names = "default";
93 pinctrl-0 = <&ephy_pins>;
94 mtd-mac-address = <&factory 0x4>;
95 mediatek,portmap = "llllw";
99 ralink,mtd-eeprom = <&factory 0>;
103 state_default: pinctrl0 {
105 ralink,group = "wled", "i2c", "wdt", "uartf";
106 ralink,function = "gpio";