1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include "ipq8074.dtsi"
6 #include "ipq8074-hk-cpu.dtsi"
7 #include "ipq8074-ess.dtsi"
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/gpio/gpio.h>
12 model = "Netgear WAX620";
13 compatible = "netgear,wax620", "qcom,ipq8074";
16 serial0 = &blsp1_uart5;
18 led-boot = &led_system_blue;
19 led-failsafe = &led_system_red;
20 led-running = &led_system_green;
21 led-upgrade = &led_system_blue;
25 stdout-path = "serial0:115200n8";
27 * Netgear's U-Boot adds "ubi.mtd=rootfs root=mtd:ubi_rootfs"
28 * That fails to create a UBI block device, so add it here.
30 bootargs-append = " root=/dev/ubiblock0_1";
34 compatible = "gpio-keys";
38 gpios = <&tlmm 52 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
44 compatible = "spi-gpio";
48 sck-gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>;
49 mosi-gpios = <&tlmm 19 GPIO_ACTIVE_HIGH>;
51 led_gpio: led_gpio@0 {
52 compatible = "fairchild,74hc595";
56 registers-number = <1>;
57 enable-gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>;
58 spi-max-frequency = <1000000>;
63 compatible = "gpio-leds";
65 led_system_red: system-red {
67 gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
70 led_system_green: system-green {
71 label = "system:green";
72 gpios = <&tlmm 55 GPIO_ACTIVE_HIGH>;
75 led_system_blue: system-blue {
76 label = "system:blue";
77 gpios = <&tlmm 56 GPIO_ACTIVE_HIGH>;
82 gpios = <&led_gpio 0 GPIO_ACTIVE_HIGH>;
87 gpios = <&led_gpio 1 GPIO_ACTIVE_HIGH>;
91 label = "wlan2g:blue";
92 gpios = <&led_gpio 2 GPIO_ACTIVE_HIGH>;
96 label = "wlan2g:green";
97 gpios = <&led_gpio 3 GPIO_ACTIVE_HIGH>;
101 label = "wlan5g:blue";
102 gpios = <&led_gpio 4 GPIO_ACTIVE_HIGH>;
106 label = "wlan5g:green";
107 gpios = <&led_gpio 5 GPIO_ACTIVE_HIGH>;
120 switch_cpu_bmp = <0x01>;
121 switch_lan_bmp = <0x3e>;
122 switch_wan_bmp = <0x40>;
123 switch_mac_mode = <0x00>;
124 switch_mac_mode1 = <0xff>;
125 switch_mac_mode2 = <0x0f>;
126 bm_tick_mode = <0x00>;
127 tm_tick_mode = <0x00>;
133 port_mac_sel = "QGMAC_PORT";
139 mdio_pins: mdio-pins {
143 drive-strength = <8>;
150 drive-strength = <8>;
159 pinctrl-0 = <&mdio_pins>;
160 pinctrl-names = "default";
161 reset-gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
163 qca8081_28: ethernet-phy@28 {
170 phy-handle = <&qca8081_28>;
183 nand-ecc-strength = <4>;
184 nand-ecc-step-size = <512>;
185 nand-bus-width = <8>;
188 compatible = "qcom,smem-part";
200 qcom,ath11k-calibration-variant = "Netgear-WAX620";