1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/gpio/gpio.h>
9 compatible = "wavlink,wl-wn577a2", "maginon,wlr-755", "mediatek,mt7628an-soc";
10 model = "WAVLINK WL-WN577A2";
14 led-failsafe = &led_wps;
15 led-running = &led_wps;
16 led-upgrade = &led_wps;
20 compatible = "gpio-keys";
24 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
30 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_WPS_BUTTON>;
36 compatible = "gpio-leds";
40 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
57 groups = "i2c", "wdt", "p0led_an", "p3led_an", "p4led_an";
68 reg = <0x0000 0 0 0 0>;
69 mediatek,mtd-eeprom = <&factory 0x8000>;
70 ieee80211-freq-limit = <5000000 6000000>;
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <40000000>;
83 compatible = "fixed-partitions";
95 reg = <0x30000 0x10000>;
99 factory: partition@40000 {
101 reg = <0x40000 0x10000>;
106 compatible = "denx,uimage";
108 reg = <0x50000 0x7b0000>;
117 mediatek,mtd-eeprom = <&factory 0x0>;
121 nvmem-cells = <&macaddr_factory_28>;
122 nvmem-cell-names = "mac-address";
126 mediatek,portmap = <0x2f>;
142 compatible = "nvmem-cells";
143 #address-cells = <1>;
146 macaddr_factory_28: macaddr@28 {