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/gpio/gpio.h>
11 model = "Netgear WAX218";
12 compatible = "netgear,wax218", "qcom,ipq8074";
15 serial0 = &blsp1_uart5;
16 led-boot = &led_power_amber;
17 led-failsafe = &led_power_amber;
18 led-running = &led_power_amber;
19 led-upgrade = &led_power_amber;
23 stdout-path = "serial0:115200n8";
25 * Netgear's U-Boot adds "ubi.mtd=rootfs root=mtd:ubi_rootfs"
26 * That fails to create a UBI block device, so add it here.
28 bootargs-append = " ubi.block=0,rootfs root=/dev/ubiblock0_1";
32 compatible = "gpio-keys";
36 gpios = <&tlmm 52 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
42 compatible = "spi-gpio";
46 sck-gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>;
47 mosi-gpios = <&tlmm 19 GPIO_ACTIVE_HIGH>;
49 led_gpio: led_gpio@0 {
50 compatible = "fairchild,74hc595";
54 registers-number = <1>;
55 enable-gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>;
56 spi-max-frequency = <1000000>;
61 compatible = "gpio-leds";
63 led_power_amber: led_power {
64 label = "amber:power";
65 gpios = <&led_gpio 1 GPIO_ACTIVE_HIGH>;
70 gpios = <&led_gpio 2 GPIO_ACTIVE_HIGH>;
74 label = "blue:wlan2g";
75 gpios = <&led_gpio 3 GPIO_ACTIVE_HIGH>;
79 label = "blue:wlan5g";
80 gpios = <&led_gpio 4 GPIO_ACTIVE_HIGH>;
92 switch_cpu_bmp = <0x1>;
93 switch_lan_bmp = <0x3e>;
94 switch_wan_bmp = <0x40>;
95 switch_mac_mode = <0x00>;
96 switch_mac_mode1 = <0xff>;
97 switch_mac_mode2 = <0x0f>;
105 port_mac_sel = "QGMAC_PORT";
111 mdio_pins: mdio-pins {
115 drive-strength = <8>;
122 drive-strength = <8>;
131 pinctrl-0 = <&mdio_pins>;
132 pinctrl-names = "default";
133 reset-gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
135 qca8081_28: ethernet-phy@28 {
142 phy-handle = <&qca8081_28>;
144 nvmem-cells = <&macaddr_ubootenv_ethaddr>;
145 nvmem-cell-names = "mac-address";
157 nand-ecc-strength = <4>;
158 nand-ecc-step-size = <512>;
159 nand-bus-width = <8>;
162 compatible = "qcom,smem-part";
164 partition-0-appsblenv {
165 compatible = "fixed-partitions";
166 label = "0:appsblenv";
168 #address-cells = <1>;
172 compatible = "u-boot,env";
176 macaddr_ubootenv_ethaddr: ethaddr {};
190 qcom,ath11k-calibration-variant = "Netgear-WAX218";