Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7e3e180 authored by Mao Jinlong's avatar Mao Jinlong Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add memory dump area for Lito



Memory dump area needs to be allocated in boot up phase.
It will be used in memory dump case to collect information
for debug.

Change-Id: Ie32329d03081ee8c7dd2a450cfbb6bb660f1c7aa
Signed-off-by: default avatarMao Jinlong <jinlmao@codeaurora.org>
parent 76ab5ee1
Loading
Loading
Loading
Loading
+52 −0
Original line number Original line Diff line number Diff line
@@ -504,6 +504,13 @@
			size = <0x0 0x400000>;
			size = <0x0 0x400000>;
		};
		};


		dump_mem: mem_dump_region {
			compatible = "shared-dma-pool";
			alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
			reusable;
			size = <0 0x2400000>;
		};

		/* global autoconfigured region for contiguous allocations */
		/* global autoconfigured region for contiguous allocations */
		linux,cma {
		linux,cma {
			compatible = "shared-dma-pool";
			compatible = "shared-dma-pool";
@@ -1305,6 +1312,51 @@
		interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
		interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
	};
	};


	mem_dump {
		compatible = "qcom,mem-dump";
		memory-region = <&dump_mem>;

		rpmh {
			qcom,dump-size = <0x2000000>;
			qcom,dump-id = <0xec>;
		};

		rpm_sw {
			qcom,dump-size = <0x28000>;
			qcom,dump-id = <0xea>;
		};

		pmic {
			qcom,dump-size = <0x80000>;
			qcom,dump-id = <0xe4>;
		};

		fcm {
			qcom,dump-size = <0x8400>;
			qcom,dump-id = <0xee>;
		};

		etf_swao {
			qcom,dump-size = <0x10000>;
			qcom,dump-id = <0xf1>;
		};

		etr_reg {
			qcom,dump-size = <0x1000>;
			qcom,dump-id = <0x100>;
		};

		etfswao_reg {
			qcom,dump-size = <0x1000>;
			qcom,dump-id = <0x102>;
		};

		misc_data {
			qcom,dump-size = <0x1000>;
			qcom,dump-id = <0xe8>;
		};
	};

	qcom,chd_silver {
	qcom,chd_silver {
		compatible = "qcom,core-hang-detect";
		compatible = "qcom,core-hang-detect";
		label = "silver";
		label = "silver";