1 #include "mt7628an.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/gpio/gpio.h>
7 compatible = "wavlink,wl-wn531a3", "mediatek,mt7628an-soc";
8 model = "Wavlink WL-WN531A3";
11 led-boot = &led_status_blue;
12 led-failsafe = &led_status_red;
13 led-running = &led_status_blue;
14 led-upgrade = &led_status_red;
18 compatible = "gpio-keys";
22 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
28 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_WPS_BUTTON>;
34 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
40 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-leds";
50 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
51 linux,default-trigger = "phy0tpt";
54 led_status_blue: led_status_blue {
55 label = "blue:status";
56 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
59 led_status_red: led_status_red {
61 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
68 groups = "i2c", "wled_an", "gpio", "wdt";
79 reg = <0x0000 0 0 0 0>;
80 mediatek,mtd-eeprom = <&factory 0x8000>;
81 ieee80211-freq-limit = <5000000 6000000>;
89 compatible = "jedec,spi-nor";
91 spi-max-frequency = <40000000>;
94 compatible = "fixed-partitions";
105 label = "u-boot-env";
106 reg = <0x30000 0x10000>;
110 factory: partition@40000 {
112 reg = <0x40000 0x10000>;
117 compatible = "denx,uimage";
119 reg = <0x50000 0x7b0000>;
128 mediatek,mtd-eeprom = <&factory 0x0>;
132 nvmem-cells = <&macaddr_factory_28>;
133 nvmem-cell-names = "mac-address";
137 mediatek,portmap = <0x2f>;
141 compatible = "nvmem-cells";
142 #address-cells = <1>;
145 macaddr_factory_28: macaddr@28 {