2 #include <dt-bindings/input/input.h>
3 #include <dt-bindings/gpio/gpio.h>
5 #include "mt7628an.dtsi"
8 compatible = "wavlink,wl-wn570ha1", "mediatek,mt7628an-soc";
9 model = "Wavlink WL-WN570HA1";
12 bootargs = "console=ttyS0,57600";
16 compatible = "gpio-keys";
20 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_RESTART>;
26 compatible = "gpio-leds";
29 label = "wl-wn570ha1:green:power";
30 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
31 default-state = "keep";
35 label = "wl-wn570ha1:green:wan";
36 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
40 label = "wl-wn570ha1:green:wifi-high";
41 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
45 label = "wl-wn570ha1:green:wifi-med";
46 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
50 label = "wl-wn570ha1:green:wifi-low";
51 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
55 label = "wl-wn570ha1:green:wifi";
56 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
63 groups = "i2c", "wled_an", "p0led_an", "wdt", "refclk";
74 reg = <0x0000 0 0 0 0>;
75 mediatek,mtd-eeprom = <&factory 0x8000>;
76 ieee80211-freq-limit = <5000000 6000000>;
84 compatible = "jedec,spi-nor";
86 spi-max-frequency = <10000000>;
89 compatible = "fixed-partitions";
100 label = "u-boot-env";
101 reg = <0x30000 0x10000>;
105 factory: partition@40000 {
107 reg = <0x40000 0x10000>;
112 compatible = "denx,uimage";
114 reg = <0x50000 0x7b0000>;
125 mtd-mac-address = <&factory 0x2e>;
129 mediatek,portmap = <0x2f>;