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

Commit af96099a authored by Yuanfang Zhang's avatar Yuanfang Zhang
Browse files

ARM: dts: msm: add memory dump config for olympic

Add memory dump config on olympic.

Change-Id: I08562a5ea392668e18fcdea58a6ad7fe48db63b6
parent e6a6a152
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
@@ -68,6 +68,13 @@
			reg = <0x8c400000 0x3200000>;
		};

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

		/* global autoconfigured region for contiguous allocations */
		linux,cma {
			compatible = "shared-dma-pool";
@@ -211,6 +218,46 @@
		clock-frequency = <32768>;
	};

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

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

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

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

		tmc_etf {
			qcom,dump-size = <0x4000>;
			qcom,dump-id = <0xf1>;
		};

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

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

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

	qcom,msm-imem@1468f000 {
		compatible = "qcom,msm-imem";
		reg = <0x1468f000 0x1000>; /* Address and size of IMEM */