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 led-status = &led_system;
17 compatible = "gpio-leds";
20 label = "mlw221:blue:system";
21 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
25 label = "mlw221:blue:wifi";
26 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys-polled";
36 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
42 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RFKILL>;
66 compatible = "jedec,spi-nor";
68 spi-max-frequency = <10000000>;
78 reg = <0x30000 0x10000>;
82 factory: partition@40000 {
84 reg = <0x40000 0x10000>;
90 reg = <0x50000 0xf60000>;
94 label = "user-config";
95 reg = <0xfb0000 0x50000>;
109 mtd-mac-address = <&factory 0x4>;
110 mediatek,portmap = "wllll";
114 ralink,mtd-eeprom = <&factory 0>;
118 state_default: pinctrl0 {
120 ralink,group = "i2c", "ephy", "wled";
121 ralink,function = "gpio";