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";
20 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_WPS_BUTTON>;
32 compatible = "gpio-leds";
35 label = "wl-wn575a3:green:wifi-high";
36 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
40 label = "wl-wn575a3:green:wifi-med";
41 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
45 label = "wl-wn575a3:green:wifi-low";
46 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
50 label = "wl-wn575a3:green:wps";
51 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
58 ralink,group = "i2c", "wled_an", "gpio", "refclk", "wdt", "p0led_an";
59 ralink,function = "gpio";
69 reg = <0x0000 0 0 0 0>;
70 mediatek,mtd-eeprom = <&factory 0x8000>;
71 ieee80211-freq-limit = <5000000 6000000>;
79 compatible = "jedec,spi-nor";
81 spi-max-frequency = <10000000>;
84 compatible = "fixed-partitions";
96 reg = <0x30000 0x10000>;
100 factory: partition@40000 {
102 reg = <0x40000 0x10000>;
107 compatible = "denx,uimage";
109 reg = <0x50000 0x7b0000>;
120 mtd-mac-address = <&factory 0x28>;
124 mediatek,portmap = <0x2f>;