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

Commit a1e18b4b authored by Liam Mark's avatar Liam Mark Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add ion system heap for msmzirc



Enable the ion system and audio heaps in the msmzirc
device tree.

Change-Id: Ia3e131471497d93537e7ea541b8f0ba9c272a5f4
Signed-off-by: default avatarLiam Mark <lmark@codeaurora.org>
parent 3511ae2a
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
/* Copyright (c) 2014, 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>;

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

		qcom,ion-heap@28 { /* AUDIO HEAP */
			compatible = "qcom,msm-ion-reserve";
			reg = <28>;
			linux,contiguous-region = <&audio_mem>;
			qcom,ion-heap-type = "DMA";
		};
	};
};
+8 −0
Original line number Diff line number Diff line
@@ -48,6 +48,13 @@
			reg = <0x87d00000 0x300000>;
			label = "peripheral2_mem";
		};

		audio_mem: audio_region@0 {
			linux,reserve-contiguous-region;
			linux,reserve-region;
			reg = <0 0xAF000>;
			label = "audio_mem";
		};
	};

	cpus {
@@ -70,6 +77,7 @@
#include "msmzirc-coresight.dtsi"
#include "msm-gdsc.dtsi"
#include "msmzirc-bus.dtsi"
#include "msmzirc-ion.dtsi"

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