summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKathiravan T <quic_kathirav@quicinc.com>2023-05-19 16:38:44 +0300
committerBjorn Andersson <andersson@kernel.org>2023-06-14 01:08:53 +0300
commit0196b041aeec788e1bc516b6d24d9c59ea59b1a6 (patch)
treeacd158154c6b24d485e0bc7f2cef00fd665d3bdc
parent66d141a15c19f89e7e259e57a007550a253e03d2 (diff)
downloadlinux-0196b041aeec788e1bc516b6d24d9c59ea59b1a6.tar.xz
arm64: dts: qcom: ipq5332: add few more reserved memory region
In IPQ SoCs, bootloader will collect the system RAM contents upon crash for the post morterm analysis. If we don't reserve the memory region used by bootloader, obviously linux will consume it and upon next boot on crash, bootloader will be loaded in the same region, which will lead to loose some of the data, sometimes we may miss out critical information. So lets reserve the region used by the bootloader. Similarly SBL copies some data into the reserved region and it will be used in the crash scenario. So reserve 1MB for SBL as well. While at it, drop the size padding in the smem memory region. Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230519133844.23512-4-quic_kathirav@quicinc.com
-rw-r--r--arch/arm64/boot/dts/qcom/ipq5332.dtsi12
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qcom/ipq5332.dtsi
index e7d3ec7a5750..b4558871ed21 100644
--- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi
@@ -114,6 +114,16 @@
#size-cells = <2>;
ranges;
+ bootloader@4a100000 {
+ reg = <0x0 0x4a100000 0x0 0x400000>;
+ no-map;
+ };
+
+ sbl@4a500000 {
+ reg = <0x0 0x4a500000 0x0 0x100000>;
+ no-map;
+ };
+
tz_mem: tz@4a600000 {
reg = <0x0 0x4a600000 0x0 0x200000>;
no-map;
@@ -121,7 +131,7 @@
smem@4a800000 {
compatible = "qcom,smem";
- reg = <0x0 0x4a800000 0x0 0x00100000>;
+ reg = <0x0 0x4a800000 0x0 0x100000>;
no-map;
hwlocks = <&tcsr_mutex 0>;