diff --git a/target/linux/qualcommax/patches-6.12/0049-v6.16-arm64-dts-qcom-ipq5018-enable-the-download-mode-supp.patch b/target/linux/qualcommax/patches-6.12/0049-v6.16-arm64-dts-qcom-ipq5018-enable-the-download-mode-supp.patch new file mode 100644 index 00000000000..08200516a3f --- /dev/null +++ b/target/linux/qualcommax/patches-6.12/0049-v6.16-arm64-dts-qcom-ipq5018-enable-the-download-mode-supp.patch @@ -0,0 +1,38 @@ +From 43fefd6c71291b5793e7c4052b6e3e54d1d87715 Mon Sep 17 00:00:00 2001 +From: George Moussalem +Date: Mon, 12 May 2025 18:36:47 +0400 +Subject: [PATCH] arm64: dts: qcom: ipq5018: enable the download mode support + +Enable support for download mode to collect RAM dumps in case of a +system crash, allowing post mortem analysis. + +Signed-off-by: George Moussalem +Reviewed-by: Konrad Dybcio +Link: https://lore.kernel.org/r/20250512-ipq5018-syscon-v1-2-eb1ad2414c3c@outlook.com +Signed-off-by: Bjorn Andersson +--- + arch/arm64/boot/dts/qcom/ipq5018.dtsi | 6 ++++++ + 1 file changed, 6 insertions(+) + +--- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi ++++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi +@@ -79,6 +79,7 @@ + firmware { + scm { + compatible = "qcom,scm-ipq5018", "qcom,scm"; ++ qcom,dload-mode = <&tcsr 0x6100>; + qcom,sdi-enabled; + }; + }; +@@ -221,6 +222,11 @@ + #hwlock-cells = <1>; + }; + ++ tcsr: syscon@1937000 { ++ compatible = "qcom,tcsr-ipq5018", "syscon"; ++ reg = <0x01937000 0x21000>; ++ }; ++ + sdhc_1: mmc@7804000 { + compatible = "qcom,ipq5018-sdhci", "qcom,sdhci-msm-v5"; + reg = <0x7804000 0x1000>; diff --git a/target/linux/qualcommax/patches-6.12/0154-dts-qcom-IPQ5018-add-tsens-node.patch b/target/linux/qualcommax/patches-6.12/0154-dts-qcom-IPQ5018-add-tsens-node.patch index b712e9ce5d3..7f62590ddf3 100644 --- a/target/linux/qualcommax/patches-6.12/0154-dts-qcom-IPQ5018-add-tsens-node.patch +++ b/target/linux/qualcommax/patches-6.12/0154-dts-qcom-IPQ5018-add-tsens-node.patch @@ -15,7 +15,7 @@ Signed-off-by: Sricharan Ramabadhran --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi -@@ -181,6 +181,117 @@ +@@ -182,6 +182,117 @@ status = "disabled"; }; @@ -133,7 +133,7 @@ Signed-off-by: Sricharan Ramabadhran tlmm: pinctrl@1000000 { compatible = "qcom,ipq5018-tlmm"; reg = <0x01000000 0x300000>; -@@ -624,6 +735,64 @@ +@@ -630,6 +741,64 @@ }; }; }; diff --git a/target/linux/qualcommax/patches-6.12/0302-arm64-dts-qcom-IPQ5018-add-TCSR-node.patch b/target/linux/qualcommax/patches-6.12/0302-arm64-dts-qcom-IPQ5018-add-TCSR-node.patch deleted file mode 100644 index 7b3902d7b72..00000000000 --- a/target/linux/qualcommax/patches-6.12/0302-arm64-dts-qcom-IPQ5018-add-TCSR-node.patch +++ /dev/null @@ -1,22 +0,0 @@ -From: George Moussalem -Subject: [PATCH] arm64: dts: qcom: ipq5018: Add TCSR node -Date: Sun, 06 Oct 2024 16:34:11 +0400 - -Add TCSR node. - -Signed-off-by: George Moussalem ---- ---- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi -+++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi -@@ -332,6 +332,11 @@ - #hwlock-cells = <1>; - }; - -+ tcsr: syscon@1937000 { -+ compatible = "qcom,tcsr-ipq5018", "syscon", "simple-mfd"; -+ reg = <0x01937000 0x21000>; -+ }; -+ - sdhc_1: mmc@7804000 { - compatible = "qcom,ipq5018-sdhci", "qcom,sdhci-msm-v5"; - reg = <0x7804000 0x1000>; diff --git a/target/linux/qualcommax/patches-6.12/0303-arm64-dts-qcom-IPQ5018-enable-the-download-mode-support.patch b/target/linux/qualcommax/patches-6.12/0303-arm64-dts-qcom-IPQ5018-enable-the-download-mode-support.patch deleted file mode 100644 index b4ce71418ba..00000000000 --- a/target/linux/qualcommax/patches-6.12/0303-arm64-dts-qcom-IPQ5018-enable-the-download-mode-support.patch +++ /dev/null @@ -1,19 +0,0 @@ -From: George Moussalem -Subject: [PATCH] arm64: dts: qcom: ipq5018: enable the download mode support -Date: Sun, 06 Oct 2024 16:34:11 +0400 - -IPQ5018 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: George Moussalem ---- ---- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi -+++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi -@@ -80,6 +80,7 @@ - scm { - compatible = "qcom,scm-ipq5018", "qcom,scm"; - qcom,sdi-enabled; -+ qcom,dload-mode = <&tcsr 0x6100>; - }; - }; -