Skip to content

Commit 8e9d6b4

Browse files
authored
arm64: dts: qcom: talos-evk: add QPS615 m.2 ethernet staging overlay (#659)
arm64: dts: qcom: talos-evk: add QPS615 m.2 ethernet staging overlay
2 parents 293ad18 + 6a9624b commit 8e9d6b4

2 files changed

Lines changed: 101 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,8 @@ dtb-$(CONFIG_ARCH_QCOM) += talos-evk-camx.dtb
531531

532532
dtb-$(CONFIG_ARCH_QCOM) += talos-staging.dtbo
533533

534+
dtb-$(CONFIG_ARCH_QCOM) += talos-evk-staging.dtbo
535+
534536
dtb-$(CONFIG_ARCH_QCOM) += kodiak-staging.dtbo
535537

536538
dtb-$(CONFIG_ARCH_QCOM) += hamoa-staging.dtbo
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
/*
3+
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
4+
*/
5+
6+
/dts-v1/;
7+
/plugin/;
8+
9+
#include <dt-bindings/gpio/gpio.h>
10+
11+
&pcie {
12+
iommu-map = <0x0 &apps_smmu 0x400 0x1>,
13+
<0x100 &apps_smmu 0x401 0x1>,
14+
<0x208 &apps_smmu 0x402 0x1>,
15+
<0x210 &apps_smmu 0x403 0x1>,
16+
<0x218 &apps_smmu 0x404 0x1>,
17+
<0x300 &apps_smmu 0x405 0x1>,
18+
<0x400 &apps_smmu 0x406 0x1>,
19+
<0x500 &apps_smmu 0x407 0x1>,
20+
<0x501 &apps_smmu 0x408 0x1>;
21+
22+
status = "okay";
23+
};
24+
25+
/*
26+
* With QPS615 installed, the m.2 E-key slot is occupied by the QPS615
27+
* PCIe switch (pci1179,0623) rather than the direct WCN7850 WLAN chip.
28+
*
29+
* QPS615 downstream port layout:
30+
* pcie@1,0 (bus 3) — WCN7850 WLAN, moved here from the direct connection
31+
* pcie@2,0 (bus 4) — free downstream port
32+
* pci@3,0 (bus 5) — TC956X dual Ethernet (QPS615 GPIO-reset PHYs)
33+
*/
34+
&pcie_port0 {
35+
wifi@0 {
36+
status = "disabled";
37+
38+
pcie@1,0 {
39+
reg = <0x20800 0x0 0x0 0x0 0x0>;
40+
#address-cells = <3>;
41+
#size-cells = <2>;
42+
device_type = "pci";
43+
ranges;
44+
bus-range = <0x3 0x3>;
45+
46+
wifi@0,0 {
47+
compatible = "pci17cb,1103";
48+
reg = <0x30000 0x0 0x0 0x0 0x0>;
49+
50+
qcom,calibration-variant = "QC_QCS615_Ride";
51+
52+
vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
53+
vddaon-supply = <&vreg_pmu_aon_0p59>;
54+
vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
55+
vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
56+
vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
57+
vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
58+
vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
59+
vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
60+
vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
61+
};
62+
};
63+
64+
pci@3,0 {
65+
reg = <0x21800 0x0 0x0 0x0 0x0>;
66+
#address-cells = <3>;
67+
#size-cells = <2>;
68+
device_type = "pci";
69+
ranges;
70+
bus-range = <0x5 0xff>;
71+
compatible = "pci1179,0623";
72+
73+
qps615: pci@0,0 {
74+
reg = <0x50000 0x0 0x0 0x0 0x0>;
75+
#address-cells = <3>;
76+
#size-cells = <2>;
77+
device_type = "pci";
78+
ranges;
79+
80+
gpio-controller;
81+
#gpio-cells = <2>;
82+
83+
phy-reset-gpios = <&qps615 0 GPIO_ACTIVE_LOW>;
84+
reset-deassert-us = <221000>;
85+
};
86+
87+
pci@0,1 {
88+
reg = <0x50100 0x0 0x0 0x0 0x0>;
89+
#address-cells = <3>;
90+
#size-cells = <2>;
91+
device_type = "pci";
92+
ranges;
93+
94+
phy-reset-gpios = <&qps615 1 GPIO_ACTIVE_LOW>;
95+
reset-deassert-us = <20000>;
96+
};
97+
};
98+
};
99+
};

0 commit comments

Comments
 (0)