1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "wavlink,wl-wn573hx1", "mediatek,mt7621-soc";
10 model = "WAVLINK WL-WN573HX1";
13 led-boot = &led_status_blue;
14 led-failsafe = &led_status_blue;
15 led-running = &led_status_blue;
16 led-upgrade = &led_status_blue;
17 label-mac-device = &gmac0;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-keys";
29 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
35 compatible = "gpio-leds";
37 led_status_blue:status_led {
38 label = "blue:status_led";
39 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
46 nvmem-cells = <&macaddr_factory_3fff4>;
47 nvmem-cell-names = "mac-address";
51 ethphy4: ethernet-phy@4 {
62 compatible = "mediatek,mt76";
63 reg = <0x0000 0 0 0 0>;
64 mediatek,mtd-eeprom = <&factory 0x0>;
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <14000000>;
75 compatible = "fixed-partitions";
81 reg = <0x00000 0x30000>;
86 reg = <0x30000 0x10000>;
89 factory:partition@50000 {
91 reg = <0x50000 0x40000>;
95 compatible = "denx,uimage";
97 reg = <0x90000 0xf70000>;
104 nvmem-cells = <&macaddr_factory_3fff4>;
105 nvmem-cell-names = "mac-address";
109 ethphy4: ethernet-phy@4 {
125 compatible = "nvmem-cells";
126 #address-cells = <1>;
129 macaddr_factory_3fff4: macaddr@3fff4 {