1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "microduino,microwrt", "ralink,mt7620a-soc";
8 model = "Microduino MicroWRT";
11 bootargs = "console=ttyS0,115200";
15 compatible = "gpio-keys";
19 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
20 linux,code = <KEY_RESTART>;
25 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_WPS_BUTTON>;
35 compatible = "jedec,spi-nor";
37 spi-max-frequency = <10000000>;
40 compatible = "fixed-partitions";
52 reg = <0x20000 0x10000>;
56 factory: partition@30000 {
58 reg = <0x30000 0x10000>;
63 compatible = "denx,uimage";
65 reg = <0x40000 0xfc0000>;
80 pinctrl-names = "default";
81 pinctrl-0 = <&ephy_pins>;
83 nvmem-cells = <&macaddr_factory_4>;
84 nvmem-cell-names = "mac-address";
86 mediatek,portmap = "llllw";
90 ralink,mtd-eeprom = <&factory 0x0>;
95 groups = "wled", "i2c", "wdt", "uartf";
101 compatible = "nvmem-cells";
102 #address-cells = <1>;
105 macaddr_factory_4: macaddr@4 {