3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "kingston,mlw221", "ralink,mt7620n-soc";
10 model = "Kingston MLW221";
13 compatible = "gpio-leds";
16 label = "mlw221:blue:system";
17 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
21 label = "mlw221:blue:wifi";
22 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
40 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RFKILL>;
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <10000000>;
76 reg = <0x30000 0x10000>;
80 factory: partition@40000 {
82 reg = <0x40000 0x10000>;
88 reg = <0x50000 0xf60000>;
92 label = "user-config";
93 reg = <0xfb0000 0x50000>;
107 mtd-mac-address = <&factory 0x4>;
108 mediatek,portmap = "wllll";
112 ralink,mtd-eeprom = <&factory 0>;
116 state_default: pinctrl0 {
118 ralink,group = "i2c", "ephy", "wled";
119 ralink,function = "gpio";