From ca07cdcac12e22c31668912ff09b46536badbb8b Mon Sep 17 00:00:00 2001 From: Tony Truong Date: Sun, 28 Mar 2021 14:22:46 -0700 Subject: [PATCH] ARM: dts: msm: Have PCIe RC control NTN3 and its ETH power for sdxlemur When connecting a NTN3 switch to sdxlemur, host needs to control the power to the switch as well as to the ETHs downstream. Add DT entry in PCIe root complex node to toggle the regulators that controls power to NTN3 and its ETHs on sdxlemur. Change-Id: I747b3ba718ad9c4aaed1b7b0ac7aa79edf36fc7f --- qcom/sdxlemur-mtp-cpe.dtsi | 2 ++ qcom/sdxlemur-mtp-mbb-ntn3-pcie.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff --git a/qcom/sdxlemur-mtp-cpe.dtsi b/qcom/sdxlemur-mtp-cpe.dtsi index 73f9ee8e190b..1114bac99640 100644 --- a/qcom/sdxlemur-mtp-cpe.dtsi +++ b/qcom/sdxlemur-mtp-cpe.dtsi @@ -36,6 +36,8 @@ }; &pcie0 { + vreg-3p3-supply = <&aqr_vreg>; + iommu-map = <0x0 &apps_smmu 0x0200 0x1>, <0x100 &apps_smmu 0x0201 0x1>, <0x208 &apps_smmu 0x0202 0x1>, diff --git a/qcom/sdxlemur-mtp-mbb-ntn3-pcie.dtsi b/qcom/sdxlemur-mtp-mbb-ntn3-pcie.dtsi index 632a1adda7cd..f3477511f83c 100644 --- a/qcom/sdxlemur-mtp-mbb-ntn3-pcie.dtsi +++ b/qcom/sdxlemur-mtp-mbb-ntn3-pcie.dtsi @@ -27,6 +27,8 @@ &pcie0 { qcom,filtered-bdfs = <0x02080000>; + vreg-3p3-supply = <&aqr_vreg>; + iommu-map = <0x0 &apps_smmu 0x0200 0x1>, <0x100 &apps_smmu 0x0201 0x1>, <0x208 &apps_smmu 0x0202 0x1>,