summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6ul-14x14-lpddr2-arm2.dts
diff options
context:
space:
mode:
authorJason Liu <jason.hui.liu@nxp.com>2016-03-14 16:40:12 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:24:31 +0800
commit87405e105ab449eaa907c40c4678b8628b82fc3b (patch)
tree0d6c0316e8890313c585dfd4e825128b16b286a9 /arch/arm/boot/dts/imx6ul-14x14-lpddr2-arm2.dts
parent4ce06c5961f8fc4e7394c60aa36cac13b6de1896 (diff)
MLK-12556 dts: i.mx6ul: configure the CMA region by default
CMA region is a must to avoid the multile memory mapping for the DMAed memory and also benifit the large continious phisical memory allocation. The default value is depend on the target system design and user cases definition. This is not suitable to put this into the soc.dtsi, thus we put it into the board DTS. customer can override the value by changing cma size in DTS file. Again, customer need set the CMA size correctly according to the target system. The incorrectly CMA size can cause Linux kernel fail to boot up.CMA disabled or CMA size set to zero is also not allowed. Signed-off-by: Jason Liu <jason.hui.liu@nxp.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6ul-14x14-lpddr2-arm2.dts')
-rw-r--r--arch/arm/boot/dts/imx6ul-14x14-lpddr2-arm2.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6ul-14x14-lpddr2-arm2.dts b/arch/arm/boot/dts/imx6ul-14x14-lpddr2-arm2.dts
index 8180666c15d7..0692bf45609e 100644
--- a/arch/arm/boot/dts/imx6ul-14x14-lpddr2-arm2.dts
+++ b/arch/arm/boot/dts/imx6ul-14x14-lpddr2-arm2.dts
@@ -23,6 +23,19 @@
reg = <0x80000000 0x20000000>;
};
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ linux,cma {
+ compatible = "shared-dma-pool";
+ reusable;
+ size = <0x14000000>;
+ linux,cma-default;
+ };
+ };
+
pxp_v4l2 {
compatible = "fsl,imx6ul-pxp-v4l2", "fsl,imx6sx-pxp-v4l2", "fsl,imx6sl-pxp-v4l2";
status = "okay";