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

Commit 973e6f5c authored by Mao Jinlong's avatar Mao Jinlong
Browse files

ARM: dts: msm: Add mem_dump node for msm8917



Add mem_dump node to support mem_dump function.

Change-Id: Ie951edcc91eaed752c49dc8a4e4e5e34a32e751a
Signed-off-by: default avatarMao Jinlong <jinlmao@codeaurora.org>
parent 48c63662
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
@@ -142,6 +142,12 @@
		cont_splash_mem: splash_region@83000000 {
			reg = <0x0 0x90000000 0x0 0x1400000>;
		};

		dump_mem: mem_dump_region {
			compatible = "shared-dma-pool";
			reusable;
			size = <0 0x400000>;
		};
	};

	soc: soc { };
@@ -229,6 +235,47 @@

	thermal_zones: thermal-zones {};

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

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

		pmic_dump {
			qcom,dump-size = <0x10000>;
			qcom,dump-id = <0xe4>;
		};

		vsense_dump {
			qcom,dump-size = <0x1000>;
			qcom,dump-id = <0xe9>;
		};

		tmc_etf_dump {
			qcom,dump-size = <0x10000>;
			qcom,dump-id = <0xf0>;
		};

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

		tmc_etf_reg_dump {
			qcom,dump-size = <0x1000>;
			qcom,dump-id = <0x101>;
		};

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

	};

	tsens0: tsens@4a8000 {
		compatible = "qcom,msm8937-tsens";
		reg = <0x4a8000 0x1000>,