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

Commit 70830b4c authored by Yimin Peng's avatar Yimin Peng
Browse files

ARM: dts: msm: memory rework for gvm on msm8996



Split memory configuration for different projects.

Change-Id: I2928adb05dfe174a2d8413172ed10f4240f3f42d
Signed-off-by: default avatarYimin Peng <yiminp@codeaurora.org>
parent e16178f1
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -27,11 +27,5 @@
			memory-region = <&qseecom_mem>;
			qcom,ion-heap-type = "DMA";
		};

		qcom,ion-heap@28 { /* Audio Heap */
			reg = <28>;
			memory-region = <&ion_audio>;
			qcom,ion-heap-type = "CARVEOUT";
		};
	};
};
+12 −0
Original line number Diff line number Diff line
@@ -41,3 +41,15 @@
&blsp1_uart2 {
	status = "okay";
};

&reserved_memory {
		pmem_shared: pmem_shared_region@d0000000 {
			reg = <0 0xd0000000 0 0x20000000>;
			label = "pmem_shared_mem";
		};

		ion_system: ion_system_region@100000000 {
			reg = <0x1 0x0 0 0x10000000>;
			label = "ion_system_mem";
		};
};
+7 −0
Original line number Diff line number Diff line
@@ -34,11 +34,13 @@
		no-map;
		reg = <0 0x88800000 0 0x6200000>;
	};

	peripheral_mem: peripheral_region@8ea00000 {
		compatible = "removed-dma-pool";
		no-map;
		reg = <0 0x8ea00000 0 0x2b00000>;
	};

	adsp_mem: adsp_region {
		compatible = "shared-dma-pool";
		alloc-ranges = <0 0x00000000 0 0xffffffff>;
@@ -46,6 +48,11 @@
		alignment = <0 0x100000>;
		size = <0 0x400000>;
	};

	ion_system: ion_system_region@ff000000 {
		reg = <0 0xff000000 0 0x00400000>;
		label = "ion_system_mem";
	};
};

&soc {
+0 −12
Original line number Diff line number Diff line
@@ -35,14 +35,6 @@
		#size-cells = <2>;
		ranges;

		pmem_shared: pmem_shared_region {
			reg = <0 0xd0000000 0 0x20000000>;
			label = "pmem_shared_mem";
		};
		ion_system: ion_system_region {
			reg = <0x1 0x0 0 0x10000000>;
			label = "ion_system_mem";
		};
		qseecom_mem: qseecom_region {
			compatible = "shared-dma-pool";
			alloc-ranges = <0 0x00000000 0 0xffffffff>;
@@ -50,10 +42,6 @@
			alignment = <0 0x400000>;
			size = <0 0x1400000>;
		};
		ion_audio: ion_audio_region {
			reg = <0 0xc8000000 0 0x00400000>;
			label = "ion_audio_mem";
		};
	};
};