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-boot = &led_system;
14 led-failsafe = &led_system;
15 led-running = &led_system;
16 led-upgrade = &led_system;
20 compatible = "gpio-leds";
23 label = "mlw221:blue:system";
24 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
28 label = "mlw221:blue:wifi";
29 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-keys-polled";
39 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
45 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RFKILL>;
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <10000000>;
72 compatible = "fixed-partitions";
84 reg = <0x30000 0x10000>;
88 factory: partition@40000 {
90 reg = <0x40000 0x10000>;
95 compatible = "denx,uimage";
97 reg = <0x50000 0xf60000>;
101 label = "user-config";
102 reg = <0xfb0000 0x50000>;
117 mtd-mac-address = <&factory 0x4>;
118 mediatek,portmap = "wllll";
122 ralink,mtd-eeprom = <&factory 0>;
126 state_default: pinctrl0 {
128 ralink,group = "i2c", "ephy", "wled";
129 ralink,function = "gpio";