[PATCH v5] arm64: dts: qcom: sm8650: Add minidump SRAM config to SCM node

From: Mukesh Ojha

Date: Wed Aug 05 2026 - 09:47:51 EST


Point the SCM node at the minidump config slot in the always-on SRAM.
Boot firmware reads this word before DDR is initialised on a warm reset
to decide where to deliver the minidump.

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Signed-off-by: Mukesh Ojha <mukesh.ojha@xxxxxxxxxxxxxxxx>
---
Changes in v5:
- Separate patch, as other patches in the series got merged.
- Resolved conflict.
- Rebased it next-20260731.
- Link to v4: https://lore.kernel.org/lkml/20260624190830.3131112-13-mukesh.ojha@xxxxxxxxxxxxxxxx/

arch/arm64/boot/dts/qcom/sm8650.dtsi | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi
index 075985ad7995..44d33f1bb0fb 100644
--- a/arch/arm64/boot/dts/qcom/sm8650.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi
@@ -701,6 +701,7 @@ scm: scm {
qcom,dload-mode = <&tcsr 0x19000>;
interconnects = <&aggre2_noc MASTER_CRYPTO QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
+ sram = <&minidump_config>;
};
};

@@ -7154,6 +7155,10 @@ sram@14680000 {

ranges = <0 0 0x14680000 0x2c000>;

+ minidump_config: minidump-sram@1c {
+ reg = <0x1c 0x4>;
+ };
+
ipa_modem_tables: modem-tables@3000 {
reg = <0x3000 0x2000>;
};
--
2.53.0