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

Commit faa3770a authored by Susheel Khiani's avatar Susheel Khiani
Browse files

ARM: dts: msm: Add memory map for MDMFERMIUM



Add initial memory map indicating carveout
regions and also add ION heaps.

Change-Id: I3e94a42894332887bebb2fdccb1d4ae25f1f835d
Signed-off-by: default avatarSusheel Khiani <skhiani@codeaurora.org>
parent d837ea84
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015, 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 */
			reg = <28>;
			memory-region = <&audio_mem>;
			qcom,ion-heap-type = "DMA";
		};
	};
};
+26 −0
Original line number Diff line number Diff line
@@ -22,6 +22,30 @@
	qcom,msm-id = <290 0x10000>;
	interrupt-parent = <&intc>;

	reserved-memory {
		#address-cells = <1>;
		#size-cells = <1>;
		ranges;

		modem_adsp_mem: modem_adsp_region@0 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0x82a00000 0x5000000>;
		};

		external_image_mem: external_image_region@0 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0x87c00000 0x400000>;
		};

		audio_mem: audio_region@0 {
			compatible = "shared-dma-pool";
			reusable;
			size = <0x400000>;
		};
	};

	cpus {
		#size-cells = <0>;
		#address-cells = <1>;
@@ -35,6 +59,8 @@
	soc: soc { };
};

#include "mdmfermium-ion.dtsi"

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