1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/gpio/gpio.h>
7 #include "mt7628an.dtsi"
10 compatible = "wavlink,wl-wn577a2", "maginon,wlr-755", "mediatek,mt7628an-soc";
11 model = "WAVLINK WL-WN577A2";
15 led-failsafe = &led_wps;
16 led-running = &led_wps;
17 led-upgrade = &led_wps;
21 compatible = "gpio-keys";
25 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_RESTART>;
31 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_WPS_BUTTON>;
37 compatible = "gpio-leds";
40 label = "wl-wn577a2:green:lan";
41 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
45 label = "wl-wn577a2:green:wan";
46 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
50 label = "wl-wn577a2:green:wps";
51 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
58 groups = "i2c", "wdt", "p0led_an", "p3led_an", "p4led_an";
69 reg = <0x0000 0 0 0 0>;
70 mediatek,mtd-eeprom = <&factory 0x8000>;
71 ieee80211-freq-limit = <5000000 6000000>;
79 compatible = "jedec,spi-nor";
81 spi-max-frequency = <40000000>;
84 compatible = "fixed-partitions";
96 reg = <0x30000 0x10000>;
100 factory: partition@40000 {
102 reg = <0x40000 0x10000>;
107 compatible = "denx,uimage";
109 reg = <0x50000 0x7b0000>;
120 mtd-mac-address = <&factory 0x28>;
124 mediatek,portmap = <0x2f>;