1 // SPDX-License-Identifier: (GPL-2.0+)
5 #include "ipq6018.dtsi"
6 #include "ipq6018-cp-cpu.dtsi"
7 #include "ipq6018-ess.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
13 model = "Netgear WAX214";
14 compatible = "netgear,wax214", "qcom,ipq6018";
17 serial0 = &blsp1_uart3;
19 label-mac-device = &dp3;
27 stdout-path = "serial0:115200n8";
28 bootargs-append = " root=/dev/ubiblock0_1";
32 compatible = "gpio-keys";
36 gpios = <&tlmm 9 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
42 compatible = "gpio-leds";
45 color = <LED_COLOR_ID_ORANGE>;
46 function = LED_FUNCTION_POWER;
47 gpios = <&tlmm 28 GPIO_ACTIVE_HIGH>;
51 color = <LED_COLOR_ID_BLUE>;
52 function = LED_FUNCTION_LAN;
53 gpios = <&tlmm 29 GPIO_ACTIVE_HIGH>;
57 color = <LED_COLOR_ID_BLUE>;
58 function = LED_FUNCTION_WLAN;
59 function-enumerator = <0>;
60 gpios = <&tlmm 30 GPIO_ACTIVE_HIGH>;
61 linux,default-trigger = "phy0radio";
65 color = <LED_COLOR_ID_BLUE>;
66 function = LED_FUNCTION_WLAN;
67 function-enumerator = <1>;
68 gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>;
69 linux,default-trigger = "phy1radio";
75 pinctrl-0 = <&serial_3_pins>;
76 pinctrl-names = "default";
81 mdio_pins: mdio-pins {
101 phy-handle = <&qca8072_4>;
111 pinctrl-0 = <&mdio_pins>;
112 pinctrl-names = "default";
113 reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>;
114 reset-delay-us = <10000>;
115 reset-post-delay-us = <50000>;
117 ethernet-phy-package@0 {
118 #address-cells = <1>;
120 compatible = "qcom,qca8075-package";
123 qcom,package-mode = "psgmii";
125 qca8072_4: ethernet-phy@4 {
126 compatible = "ethernet-phy-ieee802.3-c22";
135 switch_lan_bmp = <ESS_PORT3>;
136 switch_mac_mode = <MAC_MODE_PSGMII>;
137 port3_pcs_channel = <4>;
157 nand-ecc-strength = <4>;
158 nand-ecc-step-size = <512>;
159 nand-bus-width = <8>;
162 compatible = "qcom,smem-part";
170 qcom,ath11k-fw-memory-mode = <1>;
171 qcom,ath11k-calibration-variant = "Netgear-WAX214";