2 #include <dt-bindings/input/input.h>
3 #include <dt-bindings/gpio/gpio.h>
5 #include "mt7628an.dtsi"
8 compatible = "wavlink,wl-wn575a3", "mediatek,mt7628an-soc";
9 model = "Wavlink WL-WN575A3";
12 bootargs = "console=ttyS0,57600";
16 device_type = "memory";
17 reg = <0x0 0x4000000>;
21 compatible = "gpio-keys-polled";
28 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
34 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_WPS_BUTTON>;
40 compatible = "gpio-leds";
43 label = "wl-wn575a3:green:wifi-high";
44 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
48 label = "wl-wn575a3:green:wifi-med";
49 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
53 label = "wl-wn575a3:green:wifi-low";
54 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
58 label = "wl-wn575a3:green:wps";
59 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
65 state_default: pinctrl0 {
67 ralink,group = "i2c", "wled_an";
68 ralink,function = "gpio";
77 reg = <0x0000 0 0 0 0>;
79 mediatek,mtd-eeprom = <&factory 0x8000>;
91 compatible = "jedec,spi-nor";
93 linux,modalias = "m25p80", "en25q64";
94 spi-max-frequency = <10000000>;
95 m25p,chunked-io = <32>;
104 label = "u-boot-env";
105 reg = <0x30000 0x10000>;
109 factory: partition@40000 {
111 reg = <0x40000 0x10000>;
117 reg = <0x50000 0x7b0000>;
124 ralink,mtd-eeprom = <&factory 0x4>;
128 mtd-mac-address = <&factory 0x2e>;
129 ralink,port-map = "llllw";