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

Commit 27b673d8 authored by Tao,Zhang's avatar Tao,Zhang
Browse files

ARM: dts: msm: Add mem_dump node for lagoon

Add mem_dump node for lagoon to support memory dump feature.

Change-Id: I44fe290a7ff48c7f8d4f852f78a9bd09708e7af3
parent 99ded382
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
@@ -528,6 +528,12 @@
			size = <0 0x8c00000>;
		};

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

		cmd_db: reserved-memory@80860000 {
			reg = <0x0 0x80860000 0x0 0x20000>;
			compatible = "qcom,cmd-db";
@@ -2863,6 +2869,41 @@
			reg = <0x6024 0x4>;
		};
	};

	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>;
		};

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

		ipa {
			qcom,dump-size = <0x11000>;
			qcom,dump-id = <0x150>;
		};
	};
};

#include "lagoon-gdsc.dtsi"