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

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

ARM: dts: msm: Add mem_dump node for scuba

ADD mem_dump node for scuba to support memory dump feature

Change-Id: I14c331317117f3bf0abd13e430515b80e678ac1c
parent 1a88e340
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
@@ -214,6 +214,12 @@
			reg = <0x0 0x5f800000 0x0 0x4100000>;
		};

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

		/* global autoconfigured region for contiguous allocations */
		linux,cma {
			compatible = "shared-dma-pool";
@@ -447,6 +453,7 @@

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

		c0_context {
			qcom,dump-size = <0x800>;
@@ -547,6 +554,41 @@
			qcom,dump-size = <0x2000>;
			qcom,dump-id = <0x123>;
		};

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

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

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

		tmc_etf {
			qcom,dump-size = <0x8000>;
			qcom,dump-id = <0xf0>;
		};

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

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

		misc_data {
			qcom,dump-size = <0x1000>;
			qcom,dump-id = <0xe8>;
		};
	};
	clocks {
		xo_board: xo-board {