From 01e19d9a5815a3a3e02a55e470d07902e11663cb Mon Sep 17 00:00:00 2001 From: Manuel Gomez Date: Mon, 3 May 2021 09:46:55 -0700 Subject: [PATCH] ARM: dts: msm: add ntn3/qps615 pci DT nodes for sdxlemur Update pci DT nodes with virtual end points. Change-Id: I3df0f9a967b15668bdaad858b69b005b0dd72b32 --- qcom/sdxlemur-mtp-cpe.dtsi | 16 ++++++++++++++++ qcom/sdxlemur-mtp-mbb-ntn3-pcie.dtsi | 8 ++++++++ 2 files changed, 24 insertions(+) diff --git a/qcom/sdxlemur-mtp-cpe.dtsi b/qcom/sdxlemur-mtp-cpe.dtsi index 5fb9b8f8c7b4..f6993fafd059 100644 --- a/qcom/sdxlemur-mtp-cpe.dtsi +++ b/qcom/sdxlemur-mtp-cpe.dtsi @@ -94,6 +94,22 @@ /* BDF 2.3.0 */ pcie0_bus2_dev3_fn0: pcie0_bus2_dev3_fn0 { reg = <0x1800 0x0 0x0 0x0 0x0>; + /* BDF 5.0.0 */ + pcie0_bus5_dev0_fn0: pcie0_ntn3_eth0 { + reg = <0x0 0x0 0x0 0x0 0x0>; + qcom,iommu-group = <ð0_pci_iommu_group>; + eth0_pci_iommu_group: eth0_pci_iommu_group { + qcom,iommu-dma = "atomic"; + }; + }; + /* BDF 5.0.1 */ + pcie0_bus5_dev0_fn1: pcie0_ntn3_eth1 { + reg = <0x100 0x0 0x0 0x0 0x0>; + qcom,iommu-group = <ð1_pci_iommu_group>; + eth1_pci_iommu_group: eth1_pci_iommu_group { + qcom,iommu-dma = "atomic"; + }; + }; }; }; }; diff --git a/qcom/sdxlemur-mtp-mbb-ntn3-pcie.dtsi b/qcom/sdxlemur-mtp-mbb-ntn3-pcie.dtsi index 42ae590813bb..4335ee88f0f6 100644 --- a/qcom/sdxlemur-mtp-mbb-ntn3-pcie.dtsi +++ b/qcom/sdxlemur-mtp-mbb-ntn3-pcie.dtsi @@ -72,6 +72,14 @@ /* BDF 2.3.0 */ pcie0_bus2_dev3_fn0: pcie0_bus2_dev3_fn0 { reg = <0x1800 0x0 0x0 0x0 0x0>; + /* BDF 5.0.0 */ + pcie0_bus5_dev0_fn0: pcie0_ntn3_eth0 { + reg = <0x0 0x0 0x0 0x0 0x0>; + qcom,iommu-group = <ð_pci_iommu_group>; + eth_pci_iommu_group: eth_pci_iommu_group { + qcom,iommu-dma = "atomic"; + }; + }; }; }; };