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

Commit 961f5b8d authored by Jitendra Sharma's avatar Jitendra Sharma Committed by Zhenhua Huang
Browse files

ARM: dts: msm: Describe reserved-memory regions for Atoll



Add carveout memory regions, based on memory map v3, as well as
for CMA and other contiguous memory usecases for ATOLL.

Change-Id: I55f2453bbeb1078c907eb183c1bd0225c5987a7b
Signed-off-by: default avatarJitendra Sharma <shajit@codeaurora.org>
Signed-off-by: default avatarZhenhua Huang <zhenhuah@codeaurora.org>
parent c456d422
Loading
Loading
Loading
Loading
+117 −0
Original line number Diff line number Diff line
@@ -334,6 +334,123 @@
		method = "smc";
	};

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

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

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

		sec_apps_mem: sec_apps_region@808ff000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0x0 0x808ff000 0x0 0x1000>;
		};

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

		removed_region: removed_region@80b00000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x80b00000 0 0x3900000>;
		};

		pil_camera_mem: camera_region@8e000000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x8e000000 0 0x500000>;
		};

		pil_modem_mem: modem_region@86000000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x86000000 0 0x8000000>;
		};

		pil_video_mem: pil_video_region@8ea00000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x8ea00000 0 0x500000>;
		};

		pil_cdsp_mem: cdsp_regions@8ef00000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x8ef00000 0 0x1e00000>;
		};

		pil_adsp_mem: pil_adsp_region@90d00000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x90d00000 0 0x2800000>;
		};

		wlan_fw_mem: wlan_fw_region@93500000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x93500000 0 0x200000>;
		};

		npu_mem: npu_region@8e500000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x8e500000 0 0x500000>;
		};

		pil_ipa_fw_mem: ipa_fw_region@93700000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x93700000 0 0x10000>;
		};

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

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

		qseecom_mem: qseecom_region@9e000000 {
			compatible = "shared-dma-pool";
			no-map;
			reg = <0 0x9e000000 0 0x1400000>;
		};

		cdsp_sec_mem: cdsp_sec_regions@0x9f400000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0 0x9f400000 0 0xc00000>;
		};
		/* 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;
		};
	};

	chosen {
		bootargs = "rcupdate.rcu_expedited=1 rcu_nocbs=0-7";
	};