[PATCH v2 1/2] arm64: dts: qcom: nord: Add EL2 overlay for remoteproc SMMU mappings
From: Anurag Pateriya
Date: Thu Dec 03 2026 - 09:53:49 EST
Nord boards currently boot Linux under a hypervisor that manages the
IOMMU streams of the remote processor firmware. When Linux boots
directly at EL2 without the hypervisor, it owns the SMMU and must
describe the remoteproc firmware streams itself.
Add nord-embedded-el2.dtso carrying the iommus of the ADSP, CDSPs
and SoCCP, and apply it to nord-ride-embedded and nord-rrd to build
the -el2.dtb variants.
The base DTBs are unchanged, so the existing hypervisor boot flow
is unaffected.
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Signed-off-by: Anurag Pateriya <anurag.pateriya@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/Makefile | 8 +++++++
arch/arm64/boot/dts/qcom/nord-embedded-el2.dtso | 32 +++++++++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 19310879349d..efd25483adcf 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -197,7 +197,15 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8998-sony-xperia-yoshino-poplar.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8998-xiaomi-sagit.dtb
dtb-$(CONFIG_ARCH_QCOM) += nord-ride.dtb
dtb-$(CONFIG_ARCH_QCOM) += nord-ride-embedded.dtb
+
+nord-ride-embedded-el2-dtbs := nord-ride-embedded.dtb nord-embedded-el2.dtbo
+dtb-$(CONFIG_ARCH_QCOM) += nord-ride-embedded-el2.dtb
+
dtb-$(CONFIG_ARCH_QCOM) += nord-rrd.dtb
+
+nord-rrd-el2-dtbs := nord-rrd.dtb nord-embedded-el2.dtbo
+dtb-$(CONFIG_ARCH_QCOM) += nord-rrd-el2.dtb
+
dtb-$(CONFIG_ARCH_QCOM) += purwa-iot-evk.dtb
purwa-iot-evk-edp-dtbs := purwa-iot-evk.dtb purwa-iot-evk-edp.dtbo
diff --git a/arch/arm64/boot/dts/qcom/nord-embedded-el2.dtso b/arch/arm64/boot/dts/qcom/nord-embedded-el2.dtso
new file mode 100644
index 000000000000..50c5057f6683
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/nord-embedded-el2.dtso
@@ -0,0 +1,32 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+/dts-v1/;
+/plugin/;
+
+&remoteproc_adsp {
+ iommus = <&apps_smmu_0 0x09e0 0x0>;
+};
+
+&remoteproc_cdsp0 {
+ iommus = <&apps_smmu_2 0x0360 0x0>;
+};
+
+&remoteproc_cdsp1 {
+ iommus = <&apps_smmu_2 0x0760 0x0>;
+};
+
+&remoteproc_cdsp2 {
+ iommus = <&apps_smmu_2 0x0b60 0x0>;
+};
+
+&remoteproc_cdsp3 {
+ iommus = <&apps_smmu_2 0x0f60 0x0>;
+};
+
+&remoteproc_soccp {
+ iommus = <&apps_smmu_0 0x1960 0x5>,
+ <&apps_smmu_0 0x1966 0x0>;
+};
--
2.43.0