From: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
Subject: [PATCH 2/3] arm64: dts: qcom: agatti: add an EL2 overlay
Date: Thu, 26 Nov 2026 12:36:48 +0100 [thread overview]
Message-ID: <20261126-agatti-el2-v1-2-4e25fd64f198@oss.qualcomm.com> (raw)
In-Reply-To: <20261126-agatti-el2-v1-0-4e25fd64f198@oss.qualcomm.com>
With a boot chain that has no hypervisor (TF-A and OP-TEE in place of
QTEE and Gunyah) Linux runs at EL2 and owns the APPS SMMU.
Add agatti-el2.dtso for that case, as the other SoCs have:
- disable the zap shader: at EL2 the GPU driver programs the CP secure
registers itself;
- give the ADSP remoteproc its SMMU stream (0x1c0), so the PAS driver
maps the firmware carveout and the resource-table windows for it.
Build it for the Arduino UNO Q as qrb2210-arduino-imola-el2.dtb.
Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/Makefile | 4 ++++
arch/arm64/boot/dts/qcom/agatti-el2.dtso | 19 +++++++++++++++++++
2 files changed, 23 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 19310879349d..70e41313b4d9 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -278,6 +278,10 @@ dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride-el2.dtb
dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride-r3-el2.dtb
dtb-$(CONFIG_ARCH_QCOM) += qdu1000-idp.dtb
dtb-$(CONFIG_ARCH_QCOM) += qrb2210-arduino-imola.dtb
+
+qrb2210-arduino-imola-el2-dtbs := qrb2210-arduino-imola.dtb agatti-el2.dtbo
+
+dtb-$(CONFIG_ARCH_QCOM) += qrb2210-arduino-imola-el2.dtb
dtb-$(CONFIG_ARCH_QCOM) += qrb2210-rb1.dtb
qrb2210-rb1-vision-mezzanine-dtbs := qrb2210-rb1.dtb qrb2210-rb1-vision-mezzanine.dtbo
diff --git a/arch/arm64/boot/dts/qcom/agatti-el2.dtso b/arch/arm64/boot/dts/qcom/agatti-el2.dtso
new file mode 100644
index 000000000000..60142be50417
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/agatti-el2.dtso
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+/*
+ * Agatti specific modifications required to boot in EL2.
+ */
+
+/dts-v1/;
+/plugin/;
+
+&gpu_zap_shader {
+ status = "disabled";
+};
+
+&remoteproc_adsp {
+ iommus = <&apps_smmu 0x1c0 0x0>;
+};
--
2.53.0
next prev parent reply other threads:[~2026-11-26 11:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 11:36 [PATCH 0/3] arm64: dts: qcom: agatti: EL2 overlay and QUP firmware for the Arduino UNO Q Igor Opaniuk
2026-11-26 11:36 ` [PATCH 1/3] arm64: dts: qcom: qrb2210-arduino-imola: name the QUP firmware Igor Opaniuk
2026-11-26 11:43 ` Konrad Dybcio
2026-11-26 11:36 ` Igor Opaniuk [this message]
2026-11-26 11:36 ` [PATCH 3/3] arm64: dts: qcom: agatti-el2: map the WLAN firmware's SMMU stream Igor Opaniuk
2026-11-26 11:42 ` [PATCH 0/3] arm64: dts: qcom: agatti: EL2 overlay and QUP firmware for the Arduino UNO Q Konrad Dybcio
2026-11-26 11:44 ` Igor Opaniuk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261126-agatti-el2-v1-2-4e25fd64f198@oss.qualcomm.com \
--to=igor.opaniuk@oss.qualcomm.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®