1 #include "mt7628an.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/gpio/gpio.h>
7 compatible = "wavlink,wl-wn575a3", "mediatek,mt7628an-soc";
8 model = "Wavlink WL-WN575A3";
11 compatible = "gpio-keys";
15 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
16 linux,code = <KEY_RESTART>;
21 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_WPS_BUTTON>;
27 compatible = "gpio-leds";
30 label = "green:wifi-high";
31 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
35 label = "green:wifi-med";
36 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
40 label = "green:wifi-low";
41 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
46 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
53 groups = "i2c", "wled_an", "gpio", "refclk", "wdt", "p0led_an";
64 reg = <0x0000 0 0 0 0>;
65 nvmem-cells = <&eeprom_factory_8000>;
66 nvmem-cell-names = "eeprom";
67 ieee80211-freq-limit = <5000000 6000000>;
75 compatible = "jedec,spi-nor";
77 spi-max-frequency = <10000000>;
80 compatible = "fixed-partitions";
92 reg = <0x30000 0x10000>;
96 factory: partition@40000 {
97 compatible = "nvmem-cells";
99 reg = <0x40000 0x10000>;
100 #address-cells = <1>;
104 eeprom_factory_0: eeprom@0 {
108 eeprom_factory_8000: eeprom@8000 {
109 reg = <0x8000 0x200>;
112 macaddr_factory_28: macaddr@28 {
118 compatible = "denx,uimage";
120 reg = <0x50000 0x7b0000>;
129 nvmem-cells = <&eeprom_factory_0>;
130 nvmem-cell-names = "eeprom";
134 nvmem-cells = <&macaddr_factory_28>;
135 nvmem-cell-names = "mac-address";
139 mediatek,portmap = <0x2f>;