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

Commit b7467910 authored by Tony Truong's avatar Tony Truong Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: remap PCIe BDF to IOMMU SID for sm8150-sdx50m



SDX50m is connected to BDF (bus, device, function) 1 and requires
stage 2 only translation. PCIe SID 127 is configured as stage 2
only, so remap PCIe BDF 1 to PCIe SID 127 for sm8150-sdx50m.

Change-Id: I34edc170a822525b659b53bd03019d38ae53e58c
Signed-off-by: default avatarTony Truong <truong@codeaurora.org>
parent 130b5c4c
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -147,10 +147,18 @@
	};
};

&pcie0 {
	iommu-map = <0x0 &apps_smmu 0x1d80 0x1>,
		<0x100 &apps_smmu 0x1dff 0x1>;
};

&pcie1 {
	pinctrl-0 = <&pcie1_clkreq_default
		&pcie1_perst_default
		&pcie1_sdx50m_wake_default>;

	iommu-map = <0x0 &apps_smmu 0x1e00 0x1>,
		<0x100 &apps_smmu 0x1e7f 0x1>;
};

&soc {