From a6ca6d7d2c7176d4725eed93c73e112a20a4f7c6 Mon Sep 17 00:00:00 2001 From: Yuanfang Zhang Date: Wed, 30 Dec 2020 15:29:28 +0800 Subject: [PATCH] ARM: dts: msm: add mem_dump entry for sdxnightjar Add memory dump entry on sdxnightjar. Change-Id: Ic2494e6d1265deb4065fb429c9db863c5c103955 --- qcom/sdxnightjar.dtsi | 77 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/qcom/sdxnightjar.dtsi b/qcom/sdxnightjar.dtsi index 3e91d4b919c5..feb3b75c4d95 100644 --- a/qcom/sdxnightjar.dtsi +++ b/qcom/sdxnightjar.dtsi @@ -48,6 +48,13 @@ reg = <0x88000000 0x7300000>; label = "mss_mem"; }; + + dump_mem: mem_dump_region { + compatible = "shared-dma-pool"; + alloc-ranges = <0x00000000 0xffffffff>; + reusable; + size = <0x400000>; + }; }; aliases { }; @@ -292,6 +299,76 @@ }; }; + mem_dump { + compatible = "qcom,mem-dump"; + memory-region = <&dump_mem>; + + c0_context { + qcom,dump-size = <0x800>; + qcom,dump-id = <0x0>; + }; + + cnss_wlan { + qcom,dump-size = <0x200000>; + qcom,dump-id = <0xe1>; + }; + + etr_reg { + qcom,dump-size = <0x1000>; + qcom,dump-id = <0x100>; + }; + + tmc_etf { + qcom,dump-size = <0x2000>; + qcom,dump-id = <0xf0>; + }; + + etf_reg { + qcom,dump-size = <0x1000>; + qcom,dump-id = <0x101>; + }; + + dbgui_reg { + qcom,dump-size = <0x1000>; + qcom,dump-id = <0xe5>; + }; + + etm_reg { + qcom,dump-size = <0x1000>; + qcom,dump-id = <0xa0>; + }; + + log_buf { + qcom,dump-size = <0x1000>; + qcom,dump-id = <0x110>; + }; + + log_idx { + qcom,dump-size = <0x1000>; + qcom,dump-id = <0x111>; + }; + + misc_data { + qcom,dump-size = <0x1000>; + qcom,dump-id = <0xe8>; + }; + + pmic_data { + qcom,dump-size = <0x1000>; + qcom,dump-id = <0xe4>; + }; + + vsense_data { + qcom,dump-size = <0x1000>; + qcom,dump-id = <0xe9>; + }; + + rpm_data { + qcom,dump-size = <0x1000>; + qcom,dump-id = <0xea>; + }; + }; + qcom,sps { compatible = "qcom,msm-sps-4k"; qcom,pipe-attr-ee;