1 #include "mt7628an.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/gpio/gpio.h>
7 compatible = "wavlink,wl-wn570ha1", "mediatek,mt7628an-soc";
8 model = "Wavlink WL-WN570HA1";
11 compatible = "gpio-keys";
15 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
16 linux,code = <KEY_RESTART>;
21 compatible = "gpio-leds";
24 label = "green:power";
25 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
26 default-state = "keep";
31 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
35 label = "green:wifi-high";
36 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
40 label = "green:wifi-med";
41 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
45 label = "green:wifi-low";
46 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
58 groups = "i2c", "wled_an", "p0led_an", "wdt", "refclk";
69 reg = <0x0000 0 0 0 0>;
70 nvmem-cells = <&eeprom_factory_8000>;
71 nvmem-cell-names = "eeprom";
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 {
102 compatible = "nvmem-cells";
104 reg = <0x40000 0x10000>;
105 #address-cells = <1>;
109 eeprom_factory_0: eeprom@0 {
113 eeprom_factory_8000: eeprom@8000 {
114 reg = <0x8000 0x200>;
117 macaddr_factory_2e: macaddr@2e {
123 compatible = "denx,uimage";
125 reg = <0x50000 0x7b0000>;
134 nvmem-cells = <&eeprom_factory_0>;
135 nvmem-cell-names = "eeprom";
139 nvmem-cells = <&macaddr_factory_2e>;
140 nvmem-cell-names = "mac-address";
144 mediatek,portmap = <0x2f>;