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

Commit b0862871 authored by Vinayak Menon's avatar Vinayak Menon
Browse files

ARM: dts: msm: add ion heaps for trinket



Add ion device tree configurations for generic ion heaps and
template for clients to add target specific heaps.

Change-Id: I9ec1d7ac0cccd650b61eb46f02d3ddcbf838492e
Signed-off-by: default avatarVinayak Menon <vinmenon@codeaurora.org>
parent 4d9b5b18
Loading
Loading
Loading
Loading
+35 −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";
		};

		qcom,ion-heap@9 {
			reg = <9>;
			qcom,ion-heap-type = "SYSTEM_SECURE";
		};
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -623,3 +623,4 @@
	};
};
#include "trinket-pinctrl.dtsi"
#include "trinket-ion.dtsi"