3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "nexx,wt3020-4m", "nexx,wt3020", "ralink,mt7620n-soc";
10 model = "Nexx WT3020 (4M)";
13 compatible = "gpio-keys-polled";
20 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_RESTART>;
26 compatible = "gpio-leds";
29 label = "wt3020:blue:power";
30 gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
49 compatible = "jedec,spi-nor";
51 spi-max-frequency = <10000000>;
61 reg = <0x30000 0x10000>;
65 factory: partition@40000 {
67 reg = <0x40000 0x10000>;
73 reg = <0x50000 0x3b0000>;
87 mtd-mac-address = <&factory 0x4>;
88 mediatek,portmap = "wllll";
92 ralink,mtd-eeprom = <&factory 0>;
96 state_default: pinctrl0 {
98 ralink,group = "ephy", "wled", "pa", "i2c", "wdt", "uartf";
99 ralink,function = "gpio";