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,ws-wn572hp3-4g", "mediatek,mt7621-soc";
10 model = "Wavlink WS-WN572HP3 4G";
13 bootargs = "console=ttyS0,115200";
17 label-mac-device = &wifi1;
18 led-boot = &led_status_blue;
19 led-failsafe = &led_status_blue;
20 led-running = &led_status_blue;
21 led-upgrade = &led_status_blue;
25 compatible = "gpio-keys";
28 label = "Reset Button";
29 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
35 compatible = "gpio-leds";
38 label = "blue:rssihigh";
39 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
43 label = "blue:rssimedium";
44 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
48 label = "blue:rssilow";
49 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
52 led_status_blue: status_blue {
53 label = "blue:status";
54 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
57 // gpio 15 would be Quectels PWRKEY if used
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <40000000>;
70 compatible = "fixed-partitions";
82 reg = <0x30000 0x10000>;
86 factory: partition@40000 {
88 reg = <0x40000 0x10000>;
92 compatible = "fixed-layout";
96 eeprom_factory_0: eeprom@0 {
100 eeprom_factory_8000: eeprom@8000 {
101 reg = <0x8000 0x4da8>;
104 macaddr_factory_e000: macaddr@e000 {
108 macaddr_factory_e006: macaddr@e006 {
115 compatible = "denx,fit";
117 reg = <0x50000 0xf30000>;
122 reg = <0xf80000 0x80000>;
135 compatible = "mediatek,mt76";
136 reg = <0x0000 0 0 0 0>;
137 ieee80211-freq-limit = <2400000 2500000>;
138 nvmem-cells = <&eeprom_factory_0>;
139 nvmem-cell-names = "eeprom";
145 compatible = "mediatek,mt76";
146 reg = <0x0000 0 0 0 0>;
147 ieee80211-freq-limit = <5000000 6000000>;
148 nvmem-cells = <&eeprom_factory_8000>;
149 nvmem-cell-names = "eeprom";
154 nvmem-cells = <&macaddr_factory_e000>;
155 nvmem-cell-names = "mac-address";
161 phy-handle = <ðphy4>;
163 nvmem-cells = <&macaddr_factory_e006>;
164 nvmem-cell-names = "mac-address";
168 ethphy4: ethernet-phy@4 {