arm64: dts: qcom: ipq5018: add few more reserved memory regions
authorKathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Wed, 25 Oct 2023 16:42:12 +0000 (22:12 +0530)
committerBjorn Andersson <andersson@kernel.org>
Thu, 7 Dec 2023 15:52:24 +0000 (07:52 -0800)
commita427dd16e61f3d145bc24f0ed09692fc25931250
tree5fa59541223baa9d001ebda00e42ba19fcd9e309
parent63a021f52f69092f17d24707cd8e81f914f8d1e6
arm64: dts: qcom: ipq5018: add few more reserved memory regions

Like all other 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, enable the SMEM support along with TCSR mutex.

Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231025-ipq5018-misc-v1-1-7d14fde97fe7@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/ipq5018.dtsi