3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "kingston,mlwg2", "ralink,mt7620n-soc";
10 model = "Kingston MLWG2";
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 = "mlwg2:blue:system";
24 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
28 label = "mlwg2:blue:wifi";
29 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-keys";
38 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
44 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RFKILL>;
66 compatible = "jedec,spi-nor";
68 spi-max-frequency = <10000000>;
71 compatible = "fixed-partitions";
83 reg = <0x30000 0x10000>;
87 factory: partition@40000 {
89 reg = <0x40000 0x10000>;
94 compatible = "denx,uimage";
96 reg = <0x50000 0xf60000>;
100 label = "user-config";
101 reg = <0xfb0000 0x50000>;
116 mtd-mac-address = <&factory 0x4>;
117 mediatek,portmap = "wllll";
121 ralink,mtd-eeprom = <&factory 0>;
125 state_default: pinctrl0 {
127 ralink,group = "i2c", "ephy", "wled";
128 ralink,function = "gpio";