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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "wavlink,ws-wn572hp3-4g", "mediatek,mt7621-soc";
11 model = "Wavlink WS-WN572HP3 4G";
14 bootargs = "console=ttyS0,115200";
18 label-mac-device = &wifi1;
19 led-boot = &led_status_blue;
20 led-failsafe = &led_status_blue;
21 led-running = &led_status_blue;
22 led-upgrade = &led_status_blue;
26 compatible = "gpio-keys";
29 label = "Reset Button";
30 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_RESTART>;
36 compatible = "gpio-leds";
39 label = "blue:rssihigh";
40 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
44 label = "blue:rssimedium";
45 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
49 label = "blue:rssilow";
50 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
53 led_status_blue: status_blue {
54 function = LED_FUNCTION_STATUS;
55 color = <LED_COLOR_ID_BLUE>;
56 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
59 // gpio 15 would be Quectels PWRKEY if used
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <40000000>;
72 compatible = "fixed-partitions";
84 reg = <0x30000 0x10000>;
90 reg = <0x40000 0x10000>;
94 compatible = "fixed-layout";
98 eeprom_factory_0: eeprom@0 {
102 eeprom_factory_8000: eeprom@8000 {
103 reg = <0x8000 0x4da8>;
106 macaddr_factory_e000: macaddr@e000 {
110 macaddr_factory_e006: macaddr@e006 {
117 compatible = "denx,fit";
119 reg = <0x50000 0xf30000>;
124 reg = <0xf80000 0x80000>;
137 compatible = "mediatek,mt76";
138 reg = <0x0000 0 0 0 0>;
139 ieee80211-freq-limit = <2400000 2500000>;
140 nvmem-cells = <&eeprom_factory_0>;
141 nvmem-cell-names = "eeprom";
147 compatible = "mediatek,mt76";
148 reg = <0x0000 0 0 0 0>;
149 ieee80211-freq-limit = <5000000 6000000>;
150 nvmem-cells = <&eeprom_factory_8000>;
151 nvmem-cell-names = "eeprom";
156 nvmem-cells = <&macaddr_factory_e000>;
157 nvmem-cell-names = "mac-address";
163 phy-handle = <ðphy4>;
165 nvmem-cells = <&macaddr_factory_e006>;
166 nvmem-cell-names = "mac-address";
170 /delete-property/ interrupts;