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 compatible = "gpio-keys-polled";
21 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_RESTART>;
27 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_WPS_BUTTON>;
33 compatible = "gpio-leds";
36 label = "wl-wn575a3:green:wifi-high";
37 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
41 label = "wl-wn575a3:green:wifi-med";
42 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
46 label = "wl-wn575a3:green:wifi-low";
47 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
51 label = "wl-wn575a3:green:wps";
52 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
58 state_default: pinctrl0 {
60 ralink,group = "i2c", "wled_an", "gpio", "refclk", "wdt", "p0led_an";
61 ralink,function = "gpio";
72 reg = <0x0000 0 0 0 0>;
73 mediatek,mtd-eeprom = <&factory 0x8000>;
74 ieee80211-freq-limit = <5000000 6000000>;
82 compatible = "jedec,spi-nor";
84 spi-max-frequency = <10000000>;
87 compatible = "fixed-partitions";
99 reg = <0x30000 0x10000>;
103 factory: partition@40000 {
105 reg = <0x40000 0x10000>;
110 compatible = "denx,uimage";
112 reg = <0x50000 0x7b0000>;
123 mtd-mac-address = <&factory 0x28>;
124 mediatek,portmap = "llllw";