[PATCH v1 2/2] arm64: dts: qcom: monaco-evk-qep170: Add PCIe switch iommu-map overlay
From: Abhishek Reddy Sudugu
Date: Sat Dec 05 2026 - 14:46:19 EST
The QPE170 is an IO expander add-on board that connects to the
Monaco 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/monaco-evk-qep170.dtso | 26 +++++++++++++++++++
2 files changed, 28 insertions(+)
create mode 100644 arch/arm64/boot/dts/qcom/monaco-evk-qep170.dtso
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 156234b8e666..ae55134a02b7 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -81,6 +81,8 @@ dtb-$(CONFIG_ARCH_QCOM) += monaco-ac-evk-ifp-mezzanine.dtb
dtb-$(CONFIG_ARCH_QCOM) += monaco-evk-el2.dtb
monaco-evk-ifp-mezzanine-dtbs := monaco-evk.dtb monaco-evk-ifp-mezzanine.dtbo
dtb-$(CONFIG_ARCH_QCOM) += monaco-evk-ifp-mezzanine.dtb
+monaco-evk-qep170-dtbs := monaco-evk.dtb monaco-evk-qep170.dtbo
+dtb-$(CONFIG_ARCH_QCOM) += monaco-evk-qep170.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8216-samsung-fortuna3g.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-acer-a1-724.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-alcatel-idol347.dtb
diff --git a/arch/arm64/boot/dts/qcom/monaco-evk-qep170.dtso b/arch/arm64/boot/dts/qcom/monaco-evk-qep170.dtso
new file mode 100644
index 000000000000..18179bc1d4c2
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/monaco-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. Monaco 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