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 compatible = "gpio-keys";
16 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
17 linux,code = <KEY_RESTART>;
22 compatible = "gpio-leds";
25 label = "wl-wn570ha1:green:power";
26 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
27 default-state = "keep";
31 label = "wl-wn570ha1:green:wan";
32 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
36 label = "wl-wn570ha1:green:wifi-high";
37 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
41 label = "wl-wn570ha1:green:wifi-med";
42 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
46 label = "wl-wn570ha1:green:wifi-low";
47 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
51 label = "wl-wn570ha1:green:wifi";
52 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
59 groups = "i2c", "wled_an", "p0led_an", "wdt", "refclk";
70 reg = <0x0000 0 0 0 0>;
71 mediatek,mtd-eeprom = <&factory 0x8000>;
72 ieee80211-freq-limit = <5000000 6000000>;
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <10000000>;
85 compatible = "fixed-partitions";
97 reg = <0x30000 0x10000>;
101 factory: partition@40000 {
103 reg = <0x40000 0x10000>;
108 compatible = "denx,uimage";
110 reg = <0x50000 0x7b0000>;
121 mtd-mac-address = <&factory 0x2e>;
125 mediatek,portmap = <0x2f>;