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 = "netgear,wax202", "mediatek,mt7621-soc";
11 model = "Netgear WAX202";
14 led-boot = &led_power_green;
15 led-failsafe = &led_power_orange;
16 led-running = &led_power_green;
17 led-upgrade = &led_power_orange;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-keys";
29 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
35 compatible = "gpio-leds";
37 led_power_green: power_green {
38 function = LED_FUNCTION_POWER;
39 color = <LED_COLOR_ID_GREEN>;
40 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
43 led_power_orange: power_orange {
44 function = LED_FUNCTION_POWER;
45 color = <LED_COLOR_ID_ORANGE>;
46 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
49 led_net_green: net_green {
51 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
54 led_net_blue: net_blue {
56 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
59 led_lan1_orange: lan1_orange {
60 label = "orange:lan1";
61 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
64 led_lan2_orange: lan2_orange {
65 label = "orange:lan2";
66 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
69 led_lan3_orange: lan3_orange {
70 label = "orange:lan3";
71 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
74 led_wifi2g_green: wifi2g_green {
75 label = "green:wifi2g";
76 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
77 linux,default-trigger = "phy0radio";
80 led_wifi2g_blue: wifi2g_blue {
81 label = "blue:wifi2g";
82 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
85 led_wifi5g_green: wifi5g_green {
86 label = "green:wifi5g";
87 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
88 linux,default-trigger = "phy1radio";
91 led_wifi5g_blue: wifi5g_blue {
92 label = "blue:wifi5g";
93 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
107 label = "Bootloader";
114 reg = <0x80000 0x80000>;
120 reg = <0x100000 0x80000>;
124 compatible = "fixed-layout";
125 #address-cells = <1>;
128 eeprom_factory_0: eeprom@0 {
136 reg = <0x180000 0x2600000>;
138 compatible = "fixed-partitions";
139 #address-cells = <1>;
144 reg = <0x0 0x400000>;
149 reg = <0x400000 0x2200000>;
154 label = "firmware_backup";
155 reg = <0x2780000 0x2600000>;
161 reg = <0x4d80000 0x800000>;
167 reg = <0x5580000 0x400000>;
173 reg = <0x5980000 0x100000>;
179 reg = <0x5a80000 0x400000>;
185 reg = <0x5e80000 0x200000>;
191 reg = <0x6080000 0x100000>;
196 label = "NTGRcryptK";
197 reg = <0x6180000 0x100000>;
202 label = "NTGRcryptD";
203 reg = <0x6280000 0x500000>;
209 reg = <0x6780000 0x100000>;
215 reg = <0x6880000 0x640000>;
227 compatible = "mediatek,mt76";
228 reg = <0x0000 0 0 0 0>;
229 nvmem-cells = <&eeprom_factory_0>;
230 nvmem-cell-names = "eeprom";
236 groups = "uart3", "uart2", "jtag", "wdt";
244 phy-handle = <ðphy0>;
248 /delete-property/ interrupts;
263 /* port@3 is not used */