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-status = &led_system;
17 compatible = "gpio-leds";
20 label = "mlwg2:blue:system";
21 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
25 label = "mlwg2:blue:wifi";
26 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys-polled";
38 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
44 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RFKILL>;
68 compatible = "jedec,spi-nor";
70 spi-max-frequency = <10000000>;
80 reg = <0x30000 0x10000>;
84 factory: partition@40000 {
86 reg = <0x40000 0x10000>;
92 reg = <0x50000 0xf60000>;
96 label = "user-config";
97 reg = <0xfb0000 0x50000>;
111 mtd-mac-address = <&factory 0x4>;
112 mediatek,portmap = "wllll";
116 ralink,mtd-eeprom = <&factory 0>;
120 state_default: pinctrl0 {
122 ralink,group = "i2c", "ephy", "wled";
123 ralink,function = "gpio";