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

Commit f27aab80 authored by Vishwanath Raju K's avatar Vishwanath Raju K
Browse files

ARM: dts: msm: Add common CMA device configuration for msm8909w & apq8909



TZ expects firmware regions under 512MB. BG firmware region is
allocated from common CMA region. Add common CMA configuration
and restrict it within 512MB region for msm8909w and apq8009.

Change-Id: I9785470c15bb4d4f4fad74b40eb01c1d4f36edba
Signed-off-by: default avatarVishwanath Raju K <vishk@codeaurora.org>
parent fc7eae29
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -22,3 +22,14 @@
&peripheral_mem {
	reg = <0x0 0x8a300000 0x0 0x0600000>;
};

&reserved_mem {
	linux,cma {
		compatible = "shared-dma-pool";
		alloc-ranges = <0 0x00000000 0 0xa0000000>;
		reusable;
		alignment = <0 0x400000>;
		size = <0 0x1000000>;
		linux,cma-default;
	};
};
+1 −1
Original line number Diff line number Diff line
@@ -132,7 +132,7 @@
		};
	};

	reserved-memory {
	reserved_mem: reserved-memory {
		#address-cells = <2>;
		#size-cells = <2>;
		ranges;
+11 −0
Original line number Diff line number Diff line
@@ -22,3 +22,14 @@
&peripheral_mem {
	reg = <0x0 0x8d200000 0x0 0x0600000>;
};

&reserved_mem {
	linux,cma {
		compatible = "shared-dma-pool";
		alloc-ranges = <0 0x00000000 0 0xa0000000>;
		reusable;
		alignment = <0 0x400000>;
		size = <0 0x1000000>;
		linux,cma-default;
	};
};