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 = "netgear,wax202", "mediatek,mt7621-soc";
10 model = "Netgear WAX202";
13 led-boot = &led_power_green;
14 led-failsafe = &led_power_orange;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_orange;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-keys";
28 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
34 compatible = "gpio-leds";
36 led_power_green: power_green {
37 label = "green:power";
38 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
41 led_power_orange: power_orange {
42 label = "orange:power";
43 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
46 led_net_green: net_green {
48 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
51 led_net_blue: net_blue {
53 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
56 led_lan1_orange: lan1_orange {
57 label = "orange:lan1";
58 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
61 led_lan2_orange: lan2_orange {
62 label = "orange:lan2";
63 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
66 led_lan3_orange: lan3_orange {
67 label = "orange:lan3";
68 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
71 led_wifi2g_green: wifi2g_green {
72 label = "green:wifi2g";
73 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
74 linux,default-trigger = "phy0radio";
77 led_wifi2g_blue: wifi2g_blue {
78 label = "blue:wifi2g";
79 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
82 led_wifi5g_green: wifi5g_green {
83 label = "green:wifi5g";
84 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
85 linux,default-trigger = "phy1radio";
88 led_wifi5g_blue: wifi5g_blue {
89 label = "blue:wifi5g";
90 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
99 compatible = "fixed-partitions";
100 #address-cells = <1>;
104 label = "Bootloader";
111 reg = <0x80000 0x80000>;
115 factory: partition@100000 {
116 compatible = "nvmem-cells";
118 reg = <0x100000 0x80000>;
119 #address-cells = <1>;
123 eeprom_factory_0: eeprom@0 {
130 reg = <0x180000 0x2600000>;
132 compatible = "fixed-partitions";
133 #address-cells = <1>;
138 reg = <0x0 0x400000>;
143 reg = <0x400000 0x2200000>;
148 label = "firmware_backup";
149 reg = <0x2780000 0x2600000>;
155 reg = <0x4d80000 0x800000>;
161 reg = <0x5580000 0x400000>;
167 reg = <0x5980000 0x100000>;
173 reg = <0x5a80000 0x400000>;
179 reg = <0x5e80000 0x200000>;
185 reg = <0x6080000 0x100000>;
190 label = "NTGRcryptK";
191 reg = <0x6180000 0x100000>;
196 label = "NTGRcryptD";
197 reg = <0x6280000 0x500000>;
203 reg = <0x6780000 0x100000>;
209 reg = <0x6880000 0x640000>;
221 compatible = "mediatek,mt76";
222 reg = <0x0000 0 0 0 0>;
223 nvmem-cells = <&eeprom_factory_0>;
224 nvmem-cell-names = "eeprom";
230 groups = "uart3", "uart2", "jtag", "wdt";
238 phy-handle = <ðphy0>;
242 ethphy0: ethernet-phy@0 {
259 /* port@3 is not used */