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

Commit 4d9b5b18 authored by Vinayak Menon's avatar Vinayak Menon
Browse files

ARM: dts: msm: add reserved memory regions for trinket



Add carveout and default cma regions for trinket based
on memory map v1.

Change-Id: I794640d0779bbe3cfa17c99634a7f4b4a236427e
Signed-off-by: default avatarVinayak Menon <vinmenon@codeaurora.org>
parent d4172aa9
Loading
Loading
Loading
Loading
+106 −0
Original line number Diff line number Diff line
@@ -256,6 +256,112 @@
	};

	soc: soc { };

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

		hyp_region: hyp_region@25700000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x25700000 0 0x600000>;
		};

		xbl_aop_mem: xbl_aop_mem@25e00000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0x0 0x25e00000 0x0 0x140000>;
		};

		sec_apps_mem: sec_apps_region@25fff000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0x0 0x25fff000 0x0 0x1000>;
		};

		smem_region: smem@26000000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0x0 0x26000000 0x0 0x200000>;
		};

		removed_region: removed_region@26200000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x26200000 0 0x2d00000>;
		};

		pil_camera_mem: camera_region@2ab00000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x2ab00000 0 0x500000>;
		};

		pil_modem_mem: modem_region@2b000000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x2b000000 0 0x7e00000>;
		};

		pil_video_mem: pil_video_region@32e00000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x32e00000 0 0x500000>;
		};

		wlan_msa_mem: wlan_msa_region@33300000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x33300000 0 0x100000>;
		};

		pil_cdsp_mem: cdsp_regions@33400000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x33400000 0 0x800000>;
		};

		pil_adsp_mem: pil_adsp_region@33c00000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x33c00000 0 0x1e00000>;
		};

		pil_ipa_fw_mem: ips_fw_region@35a00000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x35a00000 0 0x10000>;
		};

		pil_ipa_gsi_mem: ipa_gsi_region@35a10000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x35a10000 0 0x5000>;
		};

		pil_gpu_mem: gpu_region@35a15000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x35a15000 0 0x2000>;
		};

		qseecom_mem: qseecom_region@3e400000 {
			compatible = "shared-dma-pool";
			no-map;
			reg = <0 0x3e400000 0 0x1400000>;
		};

		/* global autoconfigured region for contiguous allocations */
		linux,cma {
			compatible = "shared-dma-pool";
			alloc-ranges = <0 0x00000000 0 0xffffffff>;
			reusable;
			alignment = <0 0x400000>;
			size = <0 0x2000000>;
			linux,cma-default;
		};
	};
};

&soc {