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

Commit 13fe5433 authored by Konstantin Dorfman's avatar Konstantin Dorfman
Browse files

ARM: dts: msm: Add SP memory map and ion heap changes for kona



This change adds carveout memory region for Secure Processor and adds
ion heap to allow client to allocate memory from ion.

Change-Id: Ibdba8288b9d07bd695d11ed04b827a62eaf2b8e9
Signed-off-by: default avatarKonstantin Dorfman <kdorfman@codeaurora.org>
parent caf5f93c
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 */

&soc {
@@ -36,5 +36,11 @@
			memory-region = <&qseecom_ta_mem>;
			qcom,ion-heap-type = "DMA";
		};

		qcom,ion-heap@13 { /* SPSS HEAP */
			reg = <13>;
			memory-region = <&sp_mem>;
			qcom,ion-heap-type = "HYP_CMA";
		};
	};
};
+7 −0
Original line number Diff line number Diff line
@@ -581,6 +581,13 @@
			reusable;
			size = <0 0x2400000>;
		};
		sp_mem: sp_region {  /* SPSS-HLOS ION shared mem */
			compatible = "shared-dma-pool";
			alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
			reusable;
			alignment = <0x0 0x400000>;
			size = <0x0 0x800000>;
		};

		qseecom_mem: qseecom_region {
			compatible = "shared-dma-pool";