1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qcom-ipq4019.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/soc/qcom,tcsr.h>
7 #include <dt-bindings/leds/common.h>
10 model = "Linksys WHW03 (Velop)";
11 compatible = "linksys,whw03", "qcom,ipq4019";
15 led-failsafe = &led_red;
16 led-running = &led_blue;
17 led-upgrade = &led_red;
20 // Default bootargs include rootfstype=ext4 and need to be overriden.
22 bootargs-append = " rootfstype=squashfs";
27 compatible = "qcom,tcsr";
28 reg = <0x1953000 0x1000>;
29 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
34 compatible = "qcom,tcsr";
35 reg = <0x1949000 0x100>;
36 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
40 compatible = "qcom,tcsr";
41 reg = <0x194b000 0x100>;
42 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
46 compatible = "qcom,tcsr";
47 reg = <0x1957000 0x100>;
48 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
54 compatible = "gpio-keys";
58 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RESTART>;
66 mdio_pins: mdio-pinmux {
81 pins = "gpio23", "gpio24", "gpio25", "gpio26",
82 "gpio27", "gpio28", "gpio29", "gpio30",
87 i2c_0_pins: i2c-0-pinmux {
88 pins = "gpio58", "gpio59";
89 function = "blsp_i2c0";
93 serial_0_pins: serial0-pinmux {
94 pins = "gpio16", "gpio17";
95 function = "blsp_uart0";
99 serial_1_pins: serial1-pinmux {
100 pins = "gpio8", "gpio9", "gpio10", "gpio11";
101 function = "blsp_uart1";
105 spi_0_pins: spi-0-pinmux {
106 pins = "gpio12", "gpio13", "gpio14", "gpio15";
107 function = "blsp_spi0";
111 spi_1_pins: spi-1-pinmux {
113 pins = "gpio44", "gpio46", "gpio47";
114 function = "blsp_spi1";
119 pins = "gpio45", "gpio49";
132 wifi_0_pins: wifi0-pinmux {
135 drive-strength = <6>;
142 gpios = <29 GPIO_ACTIVE_HIGH>;
149 gpios = <50 GPIO_ACTIVE_HIGH>;
156 gpios = <32 GPIO_ACTIVE_HIGH>;
163 pinctrl-0 = <&mdio_pins>;
164 pinctrl-names = "default";
165 reset-gpios = <&tlmm 41 GPIO_ACTIVE_LOW>;
209 pinctrl-0 = <&serial_0_pins>;
210 pinctrl-names = "default";
215 pinctrl-0 = <&serial_1_pins>;
216 pinctrl-names = "default";
219 compatible = "csr,8811";
221 enable-gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
226 pinctrl-0 = <&spi_1_pins>;
227 pinctrl-names = "default";
230 cs-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
233 #address-cells = <1>;
236 compatible = "silabs,em3581";
238 spi-max-frequency = <12000000>;
243 pinctrl-0 = <&i2c_0_pins>;
244 pinctrl-names = "default";
249 pca9633: led-controller@62 {
250 compatible = "nxp,pca9633";
253 #address-cells = <1>;
257 color = <LED_COLOR_ID_RED>;
258 function = LED_FUNCTION_INDICATOR;
263 color = <LED_COLOR_ID_GREEN>;
264 function = LED_FUNCTION_INDICATOR;
269 color = <LED_COLOR_ID_BLUE>;
270 function = LED_FUNCTION_INDICATOR;
277 vqmmc-supply = <&vqmmc>;
278 pinctrl-0 = <&sd_pins>;
279 pinctrl-names = "default";
280 cd-gpios = <&tlmm 22 GPIO_ACTIVE_LOW>;
281 sd-ldo-gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
288 perst-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
289 wake-gpios = <&tlmm 40 GPIO_ACTIVE_LOW>;
290 clkreq-gpios = <&tlmm 39 GPIO_ACTIVE_LOW>;
293 reg = <0x00000000 0 0 0 0>;
294 #address-cells = <3>;
299 compatible = "qcom,ath10k";
300 reg = <0x00000000 0 0 0 0>;
328 pinctrl-0 = <&wifi_0_pins>;
329 pinctrl-names = "default";
333 qcom,coexist-support = <1>;
334 qcom,coexist-gpio-pin = <52>;
336 qcom,ath10k-calibration-variant = "linksys-whw03";
342 ieee80211-freq-limit = <5170000 5330000>;
343 qcom,ath10k-calibration-variant = "linksys-whw03";
349 ieee80211-freq-limit = <5490000 5835000>;
350 qcom,ath10k-calibration-variant = "linksys-whw03";