From f7ace169667ba5d92afc36610cf3f0b5232d173f Mon Sep 17 00:00:00 2001 From: Melody Olvera Date: Mon, 2 Oct 2023 14:06:03 -0700 Subject: [PATCH] ARM: dts: msm: Add nodes for minidump for sun Add minidump nodes for sun SoC. Change-Id: Iebcd2ceaeefceff7d60448d62ad6a98c4fa2d433 Signed-off-by: Melody Olvera --- qcom/sun.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index dea5b1b6..b34b7eed 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -1113,6 +1113,21 @@ method = "smc"; }; + google,debug-kinfo { + compatible = "google,debug-kinfo"; + memory-region = <&kinfo_mem>; + }; + + mini_dump_mode { + compatible = "qcom,minidump"; + status = "ok"; + }; + + va_mini_dump { + compatible = "qcom,va-minidump"; + memory-region = <&va_md_mem>; + status = "ok"; + }; trust_ui_vm_vblk0_ring: trust_ui_vm_vblk0_ring { size = <0x4000>; @@ -1723,6 +1738,19 @@ alignment = <0x0 0x400000>; size = <0x0 0xC00000>; }; + + kinfo_mem: debug_kinfo_region { + alloc-ranges = <0x0 0x00000000 0xffffffff 0xffffffff>; + size = <0x0 0x1000>; + no-map; + }; + + va_md_mem: va_md_mem_region { + compatible = "shared-dma-pool"; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + reusable; + size = <0 0x1000000>; + }; }; #include "sun-dma-heaps.dtsi"