]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: sa8775p: Add TCSR halt register space
authorMukesh Ojha <quic_mojha@quicinc.com>
Fri, 30 Aug 2024 13:39:08 +0000 (19:09 +0530)
committerBjorn Andersson <andersson@kernel.org>
Tue, 22 Oct 2024 23:56:00 +0000 (18:56 -0500)
Enable download mode for sa8775p which can help collect
ramdump for this SoC.

Reviewed-by: Elliot Berman <quic_eberman@quicinc.com>
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Link: https://lore.kernel.org/r/20240830133908.2246139-2-quic_mojha@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sa8775p.dtsi

index a8c8629bc8dc900006de0300555378b82b91225f..2e5b46527d44403c7bceddcfd5b9b2815c2de697 100644 (file)
        firmware {
                scm {
                        compatible = "qcom,scm-sa8775p", "qcom,scm";
+                       qcom,dload-mode = <&tcsr 0x13000>;
                        memory-region = <&tz_ffi_mem>;
                };
        };
                        #hwlock-cells = <1>;
                };
 
+               tcsr: syscon@1fc0000 {
+                       compatible = "qcom,sa8775p-tcsr", "syscon";
+                       reg = <0x0 0x1fc0000 0x0 0x30000>;
+               };
+
                gpucc: clock-controller@3d90000 {
                        compatible = "qcom,sa8775p-gpucc";
                        reg = <0x0 0x03d90000 0x0 0xa000>;