From aa1ca3fb0b7ad1b8c20810269d963ca465777def Mon Sep 17 00:00:00 2001 From: Mukesh Ojha Date: Tue, 30 Jan 2024 17:49:40 +0530 Subject: [PATCH] ARM: dts: msm: Enable qcom,ramoops device qcom,ramoops driver takes memory dynamically available from a given range and give it to ramoops for its usage. Change-Id: I94ece0f9d25719e240ecb5c7f47a3b1fe83fbab1 Signed-off-by: Mukesh Ojha --- qcom/sun.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index e9ef05cb..6be4c266 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -2087,6 +2087,13 @@ status = "ok"; }; + qcom_ramoops { + compatible = "qcom,ramoops"; + memory-region = <&ramoops_mem>; + pmsg-size = <0x200000>; + mem-type = <2>; + }; + logbuf: qcom,logbuf-vendor-hooks { compatible = "qcom,logbuf-vendor-hooks"; }; @@ -3726,6 +3733,12 @@ size = <0 0x1000000>; }; + ramoops_mem: ramoops-region { + alloc-ranges = <0x1 0x00000000 0xfffffffe 0xffffffff>; + size = <0x0 0x200000>; + no-map; + }; + qmc_dma_mem: qmc_dma_region { compatible = "shared-dma-pool"; alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;