ipq40xx: merge DTS for Linksys WHW03 V1 and V2
[openwrt/staging/pepe2k.git] / target / linux / ipq40xx / files-6.6 / arch / arm / boot / dts / qcom / qcom-ipq4019-whw03.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qcom-ipq4019-whw03.dtsi"
4
5 / {
6 model = "Linksys WHW03 (Velop)";
7 compatible = "linksys,whw03", "qcom,ipq4019";
8
9 // Default bootargs include rootfstype=ext4 and need to be overriden.
10 chosen {
11 bootargs-append = " rootfstype=squashfs";
12 };
13 };
14
15 &tlmm {
16 sd_pins: sd-pinmux {
17 pins = "gpio23", "gpio24", "gpio25", "gpio26",
18 "gpio27", "gpio28", "gpio29", "gpio30",
19 "gpio31", "gpio32";
20 function = "sdio";
21 };
22
23 i2c_0_pins: i2c-0-pinmux {
24 pins = "gpio58", "gpio59";
25 function = "blsp_i2c0";
26 bias-disable;
27 };
28
29 spi_0_pins: spi-0-pinmux {
30 pins = "gpio12", "gpio13", "gpio14", "gpio15";
31 function = "blsp_spi0";
32 bias-disable;
33 };
34 };
35
36 &mdio {
37 status = "okay";
38 pinctrl-0 = <&mdio_pins>;
39 pinctrl-names = "default";
40
41 reset-gpios = <&tlmm 41 GPIO_ACTIVE_LOW>;
42 };
43
44 &vqmmc {
45 status = "okay";
46 };
47
48 &sdhci {
49 status = "okay";
50 pinctrl-0 = <&sd_pins>;
51 pinctrl-names = "default";
52
53 cd-gpios = <&tlmm 22 GPIO_ACTIVE_LOW>;
54 sd-ldo-gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
55
56 vqmmc-supply = <&vqmmc>;
57 };
58
59 &wifi0 {
60 qcom,ath10k-calibration-variant = "linksys-whw03";
61 };
62
63 &wifi1 {
64 qcom,ath10k-calibration-variant = "linksys-whw03";
65 };
66
67 &wifi2 {
68 reg = <0x00000000 0 0 0 0>;
69
70 qcom,ath10k-calibration-variant = "linksys-whw03";
71 };