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

Commit f44c52b9 authored by Charan Teja Reddy's avatar Charan Teja Reddy Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: add ion heaps for qcs405



Add ion heaps support that is used to manage one or more memory pools on
qcs405.

Change-Id: Icf9e1460d28751f4ad5a8d85827f89fede17f84c
Signed-off-by: default avatarCharan Teja Reddy <charante@codeaurora.org>
parent c2947368
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

&soc {
	qcom,ion {
		compatible = "qcom,msm-ion";
		#address-cells = <1>;
		#size-cells = <0>;

		system_heap: qcom,ion-heap@25 {
			reg = <25>;
			qcom,ion-heap-type = "SYSTEM";
		};

		qcom,ion-heap@27 { /* QSEECOM HEAP */
			reg = <27>;
			memory-region = <&qseecom_mem>;
			qcom,ion-heap-type = "DMA";
		};
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -110,6 +110,7 @@
#include "qcs405-pinctrl.dtsi"
#include "qcs405-blsp.dtsi"
#include "qcs405-cpu.dtsi"
#include "qcs405-ion.dtsi"

&soc {
	#address-cells = <1>;