Re: [PATCH] arm64: dts: qcom: qcm2290: Add TCSR download mode address

From: Konrad Dybcio
Date: Wed Jul 30 2025 - 09:25:04 EST


On 7/30/25 3:22 PM, Sumit Garg wrote:
> From: Sumit Garg <sumit.garg@xxxxxxxxxxxxxxxx>
>
> Allow configuration of download mode via qcom_scm driver via specifying
> download mode register address in the TCSR space. It is especially useful
> for a clean watchdog reset without entry into download mode.
>
> The problem remained un-noticed until now since error reporting for
> missing download mode configuration feature was explicitly suppressed.
>
> Signed-off-by: Sumit Garg <sumit.garg@xxxxxxxxxxxxxxxx>
> ---
> arch/arm64/boot/dts/qcom/qcm2290.dtsi | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcm2290.dtsi b/arch/arm64/boot/dts/qcom/qcm2290.dtsi
> index f49ac1c1f8a3..08eadec59882 100644
> --- a/arch/arm64/boot/dts/qcom/qcm2290.dtsi
> +++ b/arch/arm64/boot/dts/qcom/qcm2290.dtsi
> @@ -154,6 +154,7 @@ scm: scm {
> compatible = "qcom,scm-qcm2290", "qcom,scm";
> clocks = <&rpmcc RPM_SMD_CE1_CLK>;
> clock-names = "core";
> + qcom,dload-mode = <&tcsr_regs 0x13000>;

Can confirm it's the right addr

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>

Konrad