3 #include "ipq8074.dtsi"
4 #include "ipq8074-hk-cpu.dtsi"
5 #include "ipq8074-ess.dtsi"
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/leds/common.h>
9 #include <dt-bindings/gpio/gpio.h>
12 model = "Netgear WAX218";
13 compatible = "netgear,wax218", "qcom,ipq8074";
16 serial0 = &blsp1_uart5;
17 led-boot = &led_power_amber;
18 led-failsafe = &led_power_amber;
19 led-running = &led_power_amber;
20 led-upgrade = &led_power_amber;
24 stdout-path = "serial0:115200n8";
26 * Netgear's U-Boot adds "ubi.mtd=rootfs root=mtd:ubi_rootfs"
27 * That fails to create a UBI block device, so add it here.
29 bootargs-append = " ubi.block=0,rootfs root=/dev/ubiblock0_1";
33 compatible = "gpio-keys";
37 gpios = <&tlmm 52 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
43 compatible = "spi-gpio";
47 sck-gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>;
48 mosi-gpios = <&tlmm 19 GPIO_ACTIVE_HIGH>;
50 led_gpio: led_gpio@0 {
51 compatible = "fairchild,74hc595";
55 registers-number = <1>;
56 enable-gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>;
57 spi-max-frequency = <1000000>;
62 compatible = "gpio-leds";
64 led_power_amber: led_power {
65 function = LED_FUNCTION_POWER;
66 color = <LED_COLOR_ID_AMBER>;
67 gpios = <&led_gpio 1 GPIO_ACTIVE_HIGH>;
71 function = LED_FUNCTION_LAN;
72 color = <LED_COLOR_ID_BLUE>;
73 gpios = <&led_gpio 2 GPIO_ACTIVE_HIGH>;
77 label = "blue:wlan2g";
78 gpios = <&led_gpio 3 GPIO_ACTIVE_HIGH>;
82 label = "blue:wlan5g";
83 gpios = <&led_gpio 4 GPIO_ACTIVE_HIGH>;
95 switch_lan_bmp = <ESS_PORT6>;
96 switch_mac_mode = <MAC_MODE_PSGMII>;
97 switch_mac_mode2 = <MAC_MODE_SGMII_CHANNEL0>;
103 port_mac_sel = "QGMAC_PORT";
109 mdio_pins: mdio-pins {
113 drive-strength = <8>;
120 drive-strength = <8>;
129 pinctrl-0 = <&mdio_pins>;
130 pinctrl-names = "default";
131 reset-gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
133 qca8081_28: ethernet-phy@28 {
140 phy-handle = <&qca8081_28>;
142 nvmem-cells = <&macaddr_ubootenv_ethaddr>;
143 nvmem-cell-names = "mac-address";
155 nand-ecc-strength = <4>;
156 nand-ecc-step-size = <512>;
157 nand-bus-width = <8>;
160 compatible = "qcom,smem-part";
162 partition-0-appsblenv {
163 compatible = "fixed-partitions";
164 label = "0:appsblenv";
166 #address-cells = <1>;
170 compatible = "u-boot,env";
174 macaddr_ubootenv_ethaddr: ethaddr {};
188 qcom,ath11k-calibration-variant = "Netgear-WAX218";