Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81240380 authored by Hemant Kumar's avatar Hemant Kumar
Browse files

ARM: dts: msm: expand iommu-map to support PCIe switch on sdxlemur

Additional BDF to SID mappings are needed if a switch and
mutliple endpoints are connected to PCIe root complex.
Expand iommu-map for PCIe on sdxprarie to support such
a usecase.

Change-Id: I396c535af617c413962049c26209d6ecf30628c5
parent 0d6f35e3
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -4,6 +4,18 @@

};

&pcie0 {
	iommu-map = <0x0 &apps_smmu 0x0200 0x1>,
		<0x100 &apps_smmu 0x0201 0x1>,
		<0x208 &apps_smmu 0x0202 0x1>,
		<0x210 &apps_smmu 0x0203 0x1>,
		<0x218 &apps_smmu 0x0204 0x1>,
		<0x300 &apps_smmu 0x0207 0x1>,
		<0x400 &apps_smmu 0x0208 0x1>,
		<0x500 &apps_smmu 0x020C 0x1>,
		<0x501 &apps_smmu 0x020E 0x1>;
};

&pcie0_rp {
	#address-cells = <5>;
	#size-cells = <0>;