arm64: dts: qcom: ipq9574: Enable the download mode support
authorPoovendhan Selvaraj <quic_poovendh@quicinc.com>
Thu, 11 May 2023 07:58:13 +0000 (13:28 +0530)
committerBjorn Andersson <andersson@kernel.org>
Thu, 11 May 2023 16:49:48 +0000 (09:49 -0700)
Enable the support for download mode to collect the crashdumps if
system crashes, to debug crashes extensively.

Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230511075814.2370-2-quic_poovendh@quicinc.com
arch/arm64/boot/dts/qcom/ipq9574.dtsi

index 3bb7435..4d41c01 100644 (file)
                };
        };
 
+       firmware {
+               scm {
+                       compatible = "qcom,scm-ipq9574", "qcom,scm";
+                       qcom,dload-mode = <&tcsr 0x6100>;
+               };
+       };
+
        memory@40000000 {
                device_type = "memory";
                /* We expect the bootloader to fill in the size */
                        #power-domain-cells = <1>;
                };
 
+               tcsr: syscon@1937000 {
+                       compatible = "qcom,tcsr-ipq9574", "syscon";
+                       reg = <0x01937000 0x21000>;
+               };
+
                sdhc_1: mmc@7804000 {
                        compatible = "qcom,ipq9574-sdhci", "qcom,sdhci-msm-v5";
                        reg = <0x07804000 0x1000>, <0x07805000 0x1000>;