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 V2 (Velop)";
11 compatible = "linksys,whw03v2", "qcom,ipq4019";
15 led-failsafe = &led_red;
16 led-running = &led_green;
17 led-upgrade = &led_red;
20 // The arguments rootfstype and ro are needed
21 // to override the default bootargs
23 bootargs-append = " root=/dev/ubiblock0_0 rootfstype=squashfs ro";
24 stdout-path = &blsp1_uart1;
29 compatible = "qcom,tcsr";
30 reg = <0x1953000 0x1000>;
31 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
36 compatible = "qcom,tcsr";
37 reg = <0x1949000 0x100>;
38 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
42 compatible = "qcom,tcsr";
43 reg = <0x194b000 0x100>;
44 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
48 compatible = "qcom,tcsr";
49 reg = <0x1957000 0x100>;
50 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
56 compatible = "gpio-keys";
60 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_RESTART>;
68 mdio_pins: mdio-pinmux {
82 i2c_0_pins: i2c-0-pinmux {
84 function = "blsp_i2c0";
85 pins = "gpio20", "gpio21";
90 serial_0_pins: serial0-pinmux {
92 pins = "gpio16", "gpio17";
93 function = "blsp_uart0";
98 serial_1_pins: serial1-pinmux {
100 pins = "gpio8", "gpio9", "gpio10", "gpio11";
101 function = "blsp_uart1";
106 spi_0_pins: spi-0-pinmux {
108 function = "blsp_spi0";
109 pins = "gpio13", "gpio14", "gpio15";
110 drive-strength = <12>;
116 drive-strength = <2>;
122 spi_1_pins: spi-1-pinmux {
124 function = "blsp_spi1";
125 pins = "gpio44", "gpio46","gpio47";
130 pins = "gpio31", "gpio45", "gpio49";
143 wifi_0_pins: wifi0-pinmux {
146 drive-strength = <6>;
155 gpios = <29 GPIO_ACTIVE_HIGH>;
162 gpios = <50 GPIO_ACTIVE_HIGH>;
169 gpios = <32 GPIO_ACTIVE_HIGH>;
176 pinctrl-0 = <&mdio_pins>;
177 pinctrl-names = "default";
178 phy-reset-gpios = <&tlmm 19 GPIO_ACTIVE_LOW>;
230 pinctrl-0 = <&serial_0_pins>;
231 pinctrl-names = "default";
236 pinctrl-0 = <&serial_1_pins>;
237 pinctrl-names = "default";
240 compatible = "csr,8811";
242 enable-gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
247 pinctrl-0 = <&spi_1_pins>;
248 pinctrl-names = "default";
251 cs-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
254 #address-cells = <1>;
257 compatible = "silabs,em3581";
259 spi-max-frequency = <12000000>;
264 pinctrl-0 = <&i2c_0_pins>;
265 pinctrl-names = "default";
270 pca9633: led-controller {
271 compatible = "nxp,pca9633";
274 #address-cells = <1>;
279 color = <LED_COLOR_ID_RED>;
280 function = LED_FUNCTION_INDICATOR;
281 linux,default-trigger = "none";
287 color = <LED_COLOR_ID_GREEN>;
288 function = LED_FUNCTION_INDICATOR;
289 linux,default-trigger = "none";
295 color = <LED_COLOR_ID_BLUE>;
296 function = LED_FUNCTION_INDICATOR;
297 linux,default-trigger = "default-on";
320 compatible = "fixed-partitions";
321 #address-cells = <1>;
326 reg = <0x0 0x100000>;
332 reg = <0x100000 0x100000>;
338 reg = <0x200000 0x100000>;
344 reg = <0x300000 0x80000>;
350 reg = <0x380000 0x200000>;
356 reg = <0x580000 0x80000>;
357 compatible = "nvmem-cells";
358 #address-cells = <1>;
362 precal_art_1000: precal@1000 {
363 reg = <0x1000 0x2f20>;
366 precal_art_5000: precal@5000 {
367 reg = <0x5000 0x2f20>;
370 precal_art_9000: precal@9000 {
371 reg = <0x9000 0x2f20>;
374 macaddr_gmac0: macaddr@0 {
378 macaddr_gmac1: macaddr@6 {
385 reg = <0x600000 0x80000>;
390 reg = <0x680000 0x40000>;
395 reg = <0x6c0000 0x40000>;
401 reg = <0x700000 0xa100000>;
406 reg = <0xd00000 0x9b00000>;
410 label = "alt_kernel";
411 reg = <0xa800000 0xa100000>;
415 label = "alt_rootfs";
416 reg = <0xae00000 0x9b00000>;
421 reg = <0x14900000 0x200000>;
427 reg = <0x14b00000 0xb500000>;
437 perst-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
438 wake-gpios = <&tlmm 40 GPIO_ACTIVE_LOW>;
439 clkreq-gpios = <&tlmm 39 GPIO_ACTIVE_LOW>;
442 reg = <0x00000000 0 0 0 0>;
443 #address-cells = <3>;
448 compatible = "qcom,ath10k";
449 reg = <0x00010000 0 0 0 0>;
470 nvmem-cell-names = "mac-address";
471 nvmem-cells = <&macaddr_gmac1>;
478 nvmem-cell-names = "mac-address";
479 nvmem-cells = <&macaddr_gmac0>;
483 pinctrl-0 = <&wifi_0_pins>;
484 pinctrl-names = "default";
488 qcom,coexist-support = <1>;
489 qcom,coexist-gpio-pin = <0x34>;
491 ieee80211-freq-limit = <2401000 2473000>;
492 qcom,ath10k-calibration-variant = "linksys-whw03v2";
494 nvmem-cell-names = "pre-calibration", "mac-address";
495 nvmem-cells = <&precal_art_1000>, <&macaddr_gmac0>;
496 mac-address-increment = <1>;
502 ieee80211-freq-limit = <5170000 5250000>;
503 qcom,ath10k-calibration-variant = "linksys-whw03v2";
505 nvmem-cell-names = "pre-calibration", "mac-address";
506 nvmem-cells = <&precal_art_5000>, <&macaddr_gmac0>;
507 mac-address-increment = <2>;
513 ieee80211-freq-limit = <5735000 5835000>;
514 qcom,ath10k-calibration-variant = "linksys-whw03v2";
516 nvmem-cell-names = "pre-calibration", "mac-address";
517 nvmem-cells = <&precal_art_9000>, <&macaddr_gmac0>;
518 mac-address-increment = <3>;