[PATCH v1 1/2] arm64: dts: qcom: lemans-evk-qep170: Add PCIe switch iommu-map overlay
From: Abhishek Reddy Sudugu
Date: Sat Dec 05 2026 - 14:00:09 EST
The QPE170 is an IO expander add-on board that connects to the
Lemans EVK via the PCIe1 interface. It integrates a PCIe switch
with the following downstream ports:
- 1st DSP is routed to a PCIe Gen4 x4 expansion slot.
- 2nd DSP is routed to PCIe Gen3 x4/SATA 3.3 x4 lanes.
- 3rd DSP is routed to an NVMe M.2 slot.
- 4th DSP is connected to the on-chip xHCI USB controller,
which drives USB 3.2 Gen2 Type-A and Type-C ports.
- 5th DSP is connected to the on-chip AHCI SATA controller,
which drives the SATA 3.3 ports.
Add an overlay to configure the iommu-map for all devices visible
through the switch, assigning each a unique SMMU stream ID
(0x0080-0x008b) to enforce DMA isolation per device.
Signed-off-by: Abhishek Reddy Sudugu <abhishek.sudugu@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/Makefile | 2 ++
.../boot/dts/qcom/lemans-evk-qep170.dtso | 26 +++++++++++++++++++
2 files changed, 28 insertions(+)
create mode 100644 arch/arm64/boot/dts/qcom/lemans-evk-qep170.dtso
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index daf9e3f895b8..156234b8e666 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -61,6 +61,8 @@ lemans-evk-el2-dtbs := lemans-evk.dtb lemans-el2.dtbo
dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-el2.dtb
lemans-evk-ifp-mezzanine-dtbs := lemans-evk.dtb lemans-evk-ifp-mezzanine.dtbo
dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-ifp-mezzanine.dtb
+lemans-evk-qep170-dtbs := lemans-evk.dtb lemans-evk-qep170.dtbo
+dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-qep170.dtb
dtb-$(CONFIG_ARCH_QCOM) += mahua-crd.dtb
dtb-$(CONFIG_ARCH_QCOM) += milos-fairphone-fp6.dtb
dtb-$(CONFIG_ARCH_QCOM) += milos-nothing-asteroids.dtb
diff --git a/arch/arm64/boot/dts/qcom/lemans-evk-qep170.dtso b/arch/arm64/boot/dts/qcom/lemans-evk-qep170.dtso
new file mode 100644
index 000000000000..0588078b4870
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/lemans-evk-qep170.dtso
@@ -0,0 +1,26 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+/dts-v1/;
+/plugin/;
+
+&{/} {
+ model = "Qualcomm Technologies, Inc. Lemans EVK QEP170";
+};
+
+&pcie1 {
+ iommu-map = <0x0 &pcie_smmu 0x0080 0x0 0x1>,
+ <0x100 &pcie_smmu 0x0081 0x0 0x1>,
+ <0x200 &pcie_smmu 0x0082 0x0 0x1>,
+ <0x220 &pcie_smmu 0x0083 0x0 0x1>,
+ <0x240 &pcie_smmu 0x0084 0x0 0x1>,
+ <0x260 &pcie_smmu 0x0085 0x0 0x1>,
+ <0x268 &pcie_smmu 0x0086 0x0 0x1>,
+ <0x300 &pcie_smmu 0x0087 0x0 0x1>,
+ <0x400 &pcie_smmu 0x0088 0x0 0x1>,
+ <0x500 &pcie_smmu 0x0089 0x0 0x1>,
+ <0x600 &pcie_smmu 0x008a 0x0 0x1>,
+ <0x700 &pcie_smmu 0x008b 0x0 0x1>;
+};
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation