mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
e8e7b3c106
This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. See: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html for the original discussion. Signed-off-by: Robert Marko <robimarko@gmail.com>
50 lines
1.4 KiB
Diff
50 lines
1.4 KiB
Diff
From 9b2406aaba7841863ac041225316c1ec1c86ea36 Mon Sep 17 00:00:00 2001
|
|
From: Vignesh Viswanathan <quic_viswanat@quicinc.com>
|
|
Date: Fri, 26 May 2023 16:36:52 +0530
|
|
Subject: [PATCH] arm64: dts: qcom: enable the download mode support
|
|
|
|
Like any other Qualcomm SoCs, IPQ8074 and IPQ6018 also supports the
|
|
download mode to collect the RAM dumps if system crashes, to perform
|
|
the post mortem analysis. Add support for the same.
|
|
|
|
Signed-off-by: Vignesh Viswanathan <quic_viswanat@quicinc.com>
|
|
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
|
|
Link: https://lore.kernel.org/r/20230526110653.27777-3-quic_viswanat@quicinc.com
|
|
---
|
|
arch/arm64/boot/dts/qcom/ipq6018.dtsi | 1 +
|
|
arch/arm64/boot/dts/qcom/ipq8074.dtsi | 6 ++++++
|
|
2 files changed, 7 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
|
|
@@ -90,6 +90,7 @@
|
|
firmware {
|
|
scm {
|
|
compatible = "qcom,scm-ipq6018", "qcom,scm";
|
|
+ qcom,dload-mode = <&tcsr 0x6100>;
|
|
};
|
|
};
|
|
|
|
--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
|
|
@@ -112,6 +112,7 @@
|
|
firmware {
|
|
scm {
|
|
compatible = "qcom,scm-ipq8074", "qcom,scm";
|
|
+ qcom,dload-mode = <&tcsr 0x6100>;
|
|
};
|
|
};
|
|
|
|
@@ -386,6 +387,11 @@
|
|
#hwlock-cells = <1>;
|
|
};
|
|
|
|
+ tcsr: syscon@1937000 {
|
|
+ compatible = "qcom,tcsr-ipq8074", "syscon";
|
|
+ reg = <0x01937000 0x21000>;
|
|
+ };
|
|
+
|
|
spmi_bus: spmi@200f000 {
|
|
compatible = "qcom,spmi-pmic-arb";
|
|
reg = <0x0200f000 0x001000>,
|