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 {
98 reg = <0x40000 0x10000>;
102 compatible = "fixed-layout";
103 #address-cells = <1>;
106 eeprom_factory_0: eeprom@0 {
110 eeprom_factory_8000: eeprom@8000 {
111 reg = <0x8000 0x200>;
114 macaddr_factory_28: macaddr@28 {
121 compatible = "denx,uimage";
123 reg = <0x50000 0x7b0000>;
132 nvmem-cells = <&eeprom_factory_0>;
133 nvmem-cell-names = "eeprom";
137 nvmem-cells = <&macaddr_factory_28>;
138 nvmem-cell-names = "mac-address";
142 mediatek,portmap = <0x2f>;