diff mbox series

[2/2] arm64: dts: qcom: ipq5424: enable the download mode support

Message ID 20241204141416.1352545-3-quic_mmanikan@quicinc.com (mailing list archive)
State New
Headers show
Series Add the download mode support for IPQ5424 | expand

Commit Message

Manikanta Mylavarapu Dec. 4, 2024, 2:14 p.m. UTC
Enable support for download mode to collect RAM dumps in case
of system crash, facilitating post mortem analysis.

Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
---
 arch/arm64/boot/dts/qcom/ipq5424.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Dmitry Baryshkov Dec. 4, 2024, 10:37 p.m. UTC | #1
On Wed, Dec 04, 2024 at 07:44:16PM +0530, Manikanta Mylavarapu wrote:
> Enable support for download mode to collect RAM dumps in case
> of system crash, facilitating post mortem analysis.
> 
> Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
> ---
>  arch/arm64/boot/dts/qcom/ipq5424.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/ipq5424.dtsi b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
index 2b9e91da72ac..6226576af155 100644
--- a/arch/arm64/boot/dts/qcom/ipq5424.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
@@ -101,6 +101,7 @@  l2_300: l2-cache {
 	firmware {
 		scm {
 			compatible = "qcom,scm-ipq5424", "qcom,scm";
+			qcom,dload-mode = <&tcsr 0x25100>;
 		};
 	};
 
@@ -190,6 +191,11 @@  tcsr_mutex: hwlock@1905000 {
 			#hwlock-cells = <1>;
 		};
 
+		tcsr: syscon@1937000 {
+			compatible = "qcom,tcsr-ipq5424", "syscon";
+			reg = <0 0x01937000 0 0x2a000>;
+		};
+
 		qupv3: geniqup@1ac0000 {
 			compatible = "qcom,geni-se-qup";
 			reg = <0 0x01ac0000 0 0x2000>;