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>;
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <10000000>;
69 compatible = "fixed-partitions";
81 reg = <0x30000 0x10000>;
85 factory: partition@40000 {
87 reg = <0x40000 0x10000>;
93 reg = <0x50000 0xf60000>;
97 label = "user-config";
98 reg = <0xfb0000 0x50000>;
113 mtd-mac-address = <&factory 0x4>;
114 mediatek,portmap = "wllll";
118 ralink,mtd-eeprom = <&factory 0>;
122 state_default: pinctrl0 {
124 ralink,group = "i2c", "ephy", "wled";
125 ralink,function = "gpio";