1 #include "mt7628an.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5 #include <dt-bindings/gpio/gpio.h>
8 compatible = "wavlink,wl-wn575a3", "mediatek,mt7628an-soc";
9 model = "Wavlink WL-WN575A3";
12 compatible = "gpio-keys";
16 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
17 linux,code = <KEY_RESTART>;
22 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_WPS_BUTTON>;
28 compatible = "gpio-leds";
31 label = "green:wifi-high";
32 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
36 label = "green:wifi-med";
37 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
41 label = "green:wifi-low";
42 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
46 function = LED_FUNCTION_WPS;
47 color = <LED_COLOR_ID_GREEN>;
48 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
55 groups = "i2c", "wled_an", "gpio", "refclk", "wdt", "p0led_an";
66 reg = <0x0000 0 0 0 0>;
67 nvmem-cells = <&eeprom_factory_8000>;
68 nvmem-cell-names = "eeprom";
69 ieee80211-freq-limit = <5000000 6000000>;
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <10000000>;
82 compatible = "fixed-partitions";
94 reg = <0x30000 0x10000>;
98 factory: partition@40000 {
100 reg = <0x40000 0x10000>;
104 compatible = "fixed-layout";
105 #address-cells = <1>;
108 eeprom_factory_0: eeprom@0 {
112 eeprom_factory_8000: eeprom@8000 {
113 reg = <0x8000 0x200>;
116 macaddr_factory_28: macaddr@28 {
123 compatible = "denx,uimage";
125 reg = <0x50000 0x7b0000>;
134 nvmem-cells = <&eeprom_factory_0>;
135 nvmem-cell-names = "eeprom";
139 nvmem-cells = <&macaddr_factory_28>;
140 nvmem-cell-names = "mac-address";
144 mediatek,portmap = <0x2f>;