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 nvmem-cells = <&eeprom_factory_0>, <&precal_factory_e10>;
65 nvmem-cell-names = "eeprom", "precal";
72 compatible = "jedec,spi-nor";
74 spi-max-frequency = <14000000>;
76 compatible = "fixed-partitions";
82 reg = <0x00000 0x30000>;
87 reg = <0x30000 0x10000>;
90 factory: partition@50000 {
92 reg = <0x50000 0x40000>;
95 compatible = "fixed-layout";
99 eeprom_factory_0: eeprom@0 {
103 precal_factory_e10: precal@e10 {
104 reg = <0xe10 0x19c10>;
107 macaddr_factory_3fff4: macaddr@3fff4 {
114 compatible = "denx,uimage";
116 reg = <0x90000 0xf70000>;
123 nvmem-cells = <&macaddr_factory_3fff4>;
124 nvmem-cell-names = "mac-address";
128 ethphy4: ethernet-phy@4 {