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_blue;
17 led-upgrade = &led_red;
20 // Default bootargs include rootfstype=ext4 and need to be overriden.
22 bootargs-append = " root=/dev/ubiblock0_0 rootfstype=squashfs ro";
23 stdout-path = &blsp1_uart1;
28 compatible = "qcom,tcsr";
29 reg = <0x1953000 0x1000>;
30 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
35 compatible = "qcom,tcsr";
36 reg = <0x1949000 0x100>;
37 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
41 compatible = "qcom,tcsr";
42 reg = <0x194b000 0x100>;
43 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
47 compatible = "qcom,tcsr";
48 reg = <0x1957000 0x100>;
49 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
55 compatible = "gpio-keys";
59 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_RESTART>;
67 mdio_pins: mdio-pinmux {
81 i2c_0_pins: i2c-0-pinmux {
82 pins = "gpio20", "gpio21";
83 function = "blsp_i2c0";
87 serial_0_pins: serial0-pinmux {
88 pins = "gpio16", "gpio17";
89 function = "blsp_uart0";
93 serial_1_pins: serial1-pinmux {
94 pins = "gpio8", "gpio9", "gpio10", "gpio11";
95 function = "blsp_uart1";
99 spi_0_pins: spi-0-pinmux {
101 pins = "gpio13", "gpio14", "gpio15";
102 function = "blsp_spi0";
103 drive-strength = <12>;
109 drive-strength = <2>;
115 spi_1_pins: spi-1-pinmux {
117 pins = "gpio44", "gpio46", "gpio47";
118 function = "blsp_spi1";
123 pins = "gpio31", "gpio45", "gpio49";
136 wifi_0_pins: wifi0-pinmux {
139 drive-strength = <6>;
146 gpios = <29 GPIO_ACTIVE_HIGH>;
153 gpios = <50 GPIO_ACTIVE_HIGH>;
160 gpios = <32 GPIO_ACTIVE_HIGH>;
167 pinctrl-0 = <&mdio_pins>;
168 pinctrl-names = "default";
169 phy-reset-gpios = <&tlmm 19 GPIO_ACTIVE_LOW>;
221 pinctrl-0 = <&serial_0_pins>;
222 pinctrl-names = "default";
227 pinctrl-0 = <&serial_1_pins>;
228 pinctrl-names = "default";
231 compatible = "csr,8811";
233 enable-gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
238 pinctrl-0 = <&spi_1_pins>;
239 pinctrl-names = "default";
242 cs-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
245 #address-cells = <1>;
248 compatible = "silabs,em3581";
250 spi-max-frequency = <12000000>;
255 pinctrl-0 = <&i2c_0_pins>;
256 pinctrl-names = "default";
261 pca9633: led-controller@62 {
262 compatible = "nxp,pca9633";
265 #address-cells = <1>;
269 color = <LED_COLOR_ID_RED>;
270 function = LED_FUNCTION_INDICATOR;
275 color = <LED_COLOR_ID_GREEN>;
276 function = LED_FUNCTION_INDICATOR;
281 color = <LED_COLOR_ID_BLUE>;
282 function = LED_FUNCTION_INDICATOR;
305 compatible = "fixed-partitions";
306 #address-cells = <1>;
311 reg = <0x0 0x100000>;
317 reg = <0x100000 0x100000>;
323 reg = <0x200000 0x100000>;
329 reg = <0x300000 0x80000>;
335 reg = <0x380000 0x200000>;
341 reg = <0x580000 0x80000>;
345 compatible = "fixed-layout";
346 #address-cells = <1>;
349 macaddr_gmac0: macaddr@0 {
350 compatible = "mac-base";
352 #nvmem-cell-cells = <1>;
355 macaddr_gmac1: macaddr@6 {
359 precal_art_1000: precal@1000 {
360 reg = <0x1000 0x2f20>;
363 precal_art_5000: precal@5000 {
364 reg = <0x5000 0x2f20>;
367 precal_art_9000: precal@9000 {
368 reg = <0x9000 0x2f20>;
375 reg = <0x600000 0x80000>;
380 reg = <0x680000 0x40000>;
385 reg = <0x6c0000 0x40000>;
391 reg = <0x700000 0xa100000>;
396 reg = <0xd00000 0x9b00000>;
400 label = "alt_kernel";
401 reg = <0xa800000 0xa100000>;
405 label = "alt_rootfs";
406 reg = <0xae00000 0x9b00000>;
411 reg = <0x14900000 0x200000>;
417 reg = <0x14b00000 0xb500000>;
427 perst-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
428 wake-gpios = <&tlmm 40 GPIO_ACTIVE_LOW>;
429 clkreq-gpios = <&tlmm 39 GPIO_ACTIVE_LOW>;
432 reg = <0x00000000 0 0 0 0>;
433 #address-cells = <3>;
438 compatible = "qcom,ath10k";
439 reg = <0x00010000 0 0 0 0>;
460 nvmem-cell-names = "mac-address";
461 nvmem-cells = <&macaddr_gmac1>;
468 nvmem-cell-names = "mac-address";
469 nvmem-cells = <&macaddr_gmac0 0>;
473 pinctrl-0 = <&wifi_0_pins>;
474 pinctrl-names = "default";
478 qcom,coexist-support = <1>;
479 qcom,coexist-gpio-pin = <52>;
481 qcom,ath10k-calibration-variant = "linksys-whw03v2";
483 nvmem-cell-names = "pre-calibration", "mac-address";
484 nvmem-cells = <&precal_art_1000>, <&macaddr_gmac0 1>;
490 ieee80211-freq-limit = <5170000 5330000>;
491 qcom,ath10k-calibration-variant = "linksys-whw03v2";
493 nvmem-cell-names = "pre-calibration", "mac-address";
494 nvmem-cells = <&precal_art_5000>, <&macaddr_gmac0 2>;
500 ieee80211-freq-limit = <5490000 5835000>;
501 qcom,ath10k-calibration-variant = "linksys-whw03v2";
503 nvmem-cell-names = "pre-calibration", "mac-address";
504 nvmem-cells = <&precal_art_9000>, <&macaddr_gmac0 3>;