* [PATCH 0/3] arm64: dts: qcom: agatti: EL2 overlay and QUP firmware for the Arduino UNO Q
@ 2026-11-26 11:36 Igor Opaniuk
2026-11-26 11:36 ` [PATCH 1/3] arm64: dts: qcom: qrb2210-arduino-imola: name the QUP firmware Igor Opaniuk
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Igor Opaniuk @ 2026-11-26 11:36 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Igor Opaniuk
The Arduino UNO Q (QRB2210) can boot an open firmware chain: TF-A and
OP-TEE in place of QTEE, no hypervisor, so Linux runs at EL2. These
three patches are the DT side that this chain needs and that does not
belong in the base board file.
- Patch 1 names the GENI QUP firmware, so geni-se loads it when the
boot firmware has not. Where the engines are already programmed, as
with QTEE, the drivers do not read the property.
- Patch 2 adds agatti-el2.dtso, following the existing -el2 overlays:
zap shader off, SMMU stream for the ADSP remoteproc.
- Patch 3 adds the WLAN firmware's SMMU stream to the overlay, as
kodiak-el2.dtso has it.
Loading the QUP firmware on this SoC also needs the geni-se fix in [1].
Tested on the Arduino UNO Q with TF-A + OP-TEE, Linux at EL2: I2C, SPI
and the Bluetooth UART probe, the GPU renders without a zap shader, the
ADSP starts over PAS with no SMMU faults, and WiFi associates.
Patch 1 was also booted on the stock QTEE + Gunyah chain, with and
without the property: the same serial engines probe and the same I2C
devices answer in both cases.
dtbs_check (qrb2210-arduino-imola, qrb2210-arduino-imola-el2,
qrb2210-rb1) is clean.
[1] https://lore.kernel.org/r/20261114-geni-minicore-v1-1-a825dd549664@oss.qualcomm.com
---
Igor Opaniuk (3):
arm64: dts: qcom: qrb2210-arduino-imola: name the QUP firmware
arm64: dts: qcom: agatti: add an EL2 overlay
arm64: dts: qcom: agatti-el2: map the WLAN firmware's SMMU stream
arch/arm64/boot/dts/qcom/Makefile | 4 ++++
arch/arm64/boot/dts/qcom/agatti-el2.dtso | 25 ++++++++++++++++++++++
arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts | 2 ++
3 files changed, 31 insertions(+)
---
base-commit: 9437046953b2fb3bf55b36582450ea0267df82a7
change-id: 20261126-agatti-el2-f7c039f5c4f6
Best regards,
--
Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH 1/3] arm64: dts: qcom: qrb2210-arduino-imola: name the QUP firmware
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 ` Igor Opaniuk
2026-11-26 11:43 ` Konrad Dybcio
2026-11-26 11:36 ` [PATCH 2/3] arm64: dts: qcom: agatti: add an EL2 overlay Igor Opaniuk
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Igor Opaniuk @ 2026-11-26 11:36 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Igor Opaniuk
The geni-se driver loads the QUP firmware into a serial engine that the
boot firmware has left unprogrammed, but only if the wrapper node names
the image. Without the name such engines fail to probe:
geni_i2c 4a80000.i2c: Failed to read firmware-name property: -22
On the UNO Q this happens for every I2C, SPI and UART controller except
the console when the board boots TF-A and OP-TEE instead of QTEE.
Name the firmware: qupv3fw.elf from the QRB2210 boot binaries release,
the image the stock boot chain loads from the qupfw partition. Engines
that are already programmed are not touched.
Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts b/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
index e99d2a56dc28..f6db8ec25133 100644
--- a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
+++ b/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
@@ -338,6 +338,8 @@ &pm4125_vbus {
};
&qupv3_id_0 {
+ firmware-name = "qcom/qcm2290/qupv3fw.elf";
+
status = "okay";
};
--
2.53.0
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH 1/3] arm64: dts: qcom: qrb2210-arduino-imola: name the QUP firmware
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
0 siblings, 0 replies; 7+ messages in thread
From: Konrad Dybcio @ 2026-11-26 11:43 UTC (permalink / raw)
To: Igor Opaniuk, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel
On 11/26/26 12:36 PM, Igor Opaniuk wrote:
> The geni-se driver loads the QUP firmware into a serial engine that the
> boot firmware has left unprogrammed, but only if the wrapper node names
> the image. Without the name such engines fail to probe:
>
> geni_i2c 4a80000.i2c: Failed to read firmware-name property: -22
>
> On the UNO Q this happens for every I2C, SPI and UART controller except
> the console when the board boots TF-A and OP-TEE instead of QTEE.
>
> Name the firmware: qupv3fw.elf from the QRB2210 boot binaries release,
> the image the stock boot chain loads from the qupfw partition. Engines
> that are already programmed are not touched.
>
> Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/3] arm64: dts: qcom: agatti: add an EL2 overlay
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:36 ` Igor Opaniuk
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
3 siblings, 0 replies; 7+ messages in thread
From: Igor Opaniuk @ 2026-11-26 11:36 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Igor Opaniuk
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
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH 3/3] arm64: dts: qcom: agatti-el2: map the WLAN firmware's SMMU stream
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:36 ` [PATCH 2/3] arm64: dts: qcom: agatti: add an EL2 overlay Igor Opaniuk
@ 2026-11-26 11:36 ` 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
3 siblings, 0 replies; 7+ messages in thread
From: Igor Opaniuk @ 2026-11-26 11:36 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Igor Opaniuk
The WCN3990 WLAN firmware runs on the modem and reaches the wlan-msa
carveout through SMMU stream 0x1a2. Without a hypervisor nothing maps
that stream: the SMMU blocks it and the firmware asserts 12 s after
boot.
ath10k_snoc maps the carveout itself when the wifi node has a
"wifi-firmware" child, so add one with that stream to the EL2 overlay,
as kodiak-el2.dtso does.
Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/agatti-el2.dtso | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/agatti-el2.dtso b/arch/arm64/boot/dts/qcom/agatti-el2.dtso
index 60142be50417..aa8e85278bdc 100644
--- a/arch/arm64/boot/dts/qcom/agatti-el2.dtso
+++ b/arch/arm64/boot/dts/qcom/agatti-el2.dtso
@@ -17,3 +17,9 @@ &gpu_zap_shader {
&remoteproc_adsp {
iommus = <&apps_smmu 0x1c0 0x0>;
};
+
+&wifi {
+ wifi-firmware {
+ iommus = <&apps_smmu 0x1a2 0x1>;
+ };
+};
--
2.53.0
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH 0/3] arm64: dts: qcom: agatti: EL2 overlay and QUP firmware for the Arduino UNO Q
2026-11-26 11:36 [PATCH 0/3] arm64: dts: qcom: agatti: EL2 overlay and QUP firmware for the Arduino UNO Q Igor Opaniuk
` (2 preceding siblings ...)
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 ` Konrad Dybcio
2026-11-26 11:44 ` Igor Opaniuk
3 siblings, 1 reply; 7+ messages in thread
From: Konrad Dybcio @ 2026-11-26 11:42 UTC (permalink / raw)
To: Igor Opaniuk, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel
On 11/26/26 12:36 PM, Igor Opaniuk wrote:
> The Arduino UNO Q (QRB2210) can boot an open firmware chain: TF-A and
> OP-TEE in place of QTEE, no hypervisor, so Linux runs at EL2. These
> three patches are the DT side that this chain needs and that does not
> belong in the base board file.
>
> - Patch 1 names the GENI QUP firmware, so geni-se loads it when the
> boot firmware has not. Where the engines are already programmed, as
> with QTEE, the drivers do not read the property.
> - Patch 2 adds agatti-el2.dtso, following the existing -el2 overlays:
> zap shader off, SMMU stream for the ADSP remoteproc.
> - Patch 3 adds the WLAN firmware's SMMU stream to the overlay, as
> kodiak-el2.dtso has it.
>
> Loading the QUP firmware on this SoC also needs the geni-se fix in [1].
>
> Tested on the Arduino UNO Q with TF-A + OP-TEE, Linux at EL2: I2C, SPI
> and the Bluetooth UART probe, the GPU renders without a zap shader, the
> ADSP starts over PAS with no SMMU faults, and WiFi associates.
>
> Patch 1 was also booted on the stock QTEE + Gunyah chain, with and
> without the property: the same serial engines probe and the same I2C
> devices answer in both cases.
>
> dtbs_check (qrb2210-arduino-imola, qrb2210-arduino-imola-el2,
> qrb2210-rb1) is clean.
>
> [1] https://lore.kernel.org/r/20261114-geni-minicore-v1-1-a825dd549664@oss.qualcomm.com
>
> ---
> Igor Opaniuk (3):
> arm64: dts: qcom: qrb2210-arduino-imola: name the QUP firmware
> arm64: dts: qcom: agatti: add an EL2 overlay
> arm64: dts: qcom: agatti-el2: map the WLAN firmware's SMMU stream
Don't fix the previous patch, squash 2 and 3 together
Konrad
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH 0/3] arm64: dts: qcom: agatti: EL2 overlay and QUP firmware for the Arduino UNO Q
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
0 siblings, 0 replies; 7+ messages in thread
From: Igor Opaniuk @ 2026-11-26 11:44 UTC (permalink / raw)
To: Konrad Dybcio
Cc: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree,
linux-kernel
On Thu, Nov 26, 2026 at 12:42 PM Konrad Dybcio
<konrad.dybcio@oss.qualcomm.com> wrote:
>
> On 11/26/26 12:36 PM, Igor Opaniuk wrote:
> > The Arduino UNO Q (QRB2210) can boot an open firmware chain: TF-A and
> > OP-TEE in place of QTEE, no hypervisor, so Linux runs at EL2. These
> > three patches are the DT side that this chain needs and that does not
> > belong in the base board file.
> >
> > - Patch 1 names the GENI QUP firmware, so geni-se loads it when the
> > boot firmware has not. Where the engines are already programmed, as
> > with QTEE, the drivers do not read the property.
> > - Patch 2 adds agatti-el2.dtso, following the existing -el2 overlays:
> > zap shader off, SMMU stream for the ADSP remoteproc.
> > - Patch 3 adds the WLAN firmware's SMMU stream to the overlay, as
> > kodiak-el2.dtso has it.
> >
> > Loading the QUP firmware on this SoC also needs the geni-se fix in [1].
> >
> > Tested on the Arduino UNO Q with TF-A + OP-TEE, Linux at EL2: I2C, SPI
> > and the Bluetooth UART probe, the GPU renders without a zap shader, the
> > ADSP starts over PAS with no SMMU faults, and WiFi associates.
> >
> > Patch 1 was also booted on the stock QTEE + Gunyah chain, with and
> > without the property: the same serial engines probe and the same I2C
> > devices answer in both cases.
> >
> > dtbs_check (qrb2210-arduino-imola, qrb2210-arduino-imola-el2,
> > qrb2210-rb1) is clean.
> >
> > [1] https://lore.kernel.org/r/20261114-geni-minicore-v1-1-a825dd549664@oss.qualcomm.com
> >
> > ---
> > Igor Opaniuk (3):
> > arm64: dts: qcom: qrb2210-arduino-imola: name the QUP firmware
> > arm64: dts: qcom: agatti: add an EL2 overlay
> > arm64: dts: qcom: agatti-el2: map the WLAN firmware's SMMU stream
>
> Don't fix the previous patch, squash 2 and 3 together
Will do in v2, thanks!
>
> Konrad
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-11-26 11:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [PATCH 2/3] arm64: dts: qcom: agatti: add an EL2 overlay Igor Opaniuk
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
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®