From 84c4efda152b94009478d67d9eece8e388d09db3 Mon Sep 17 00:00:00 2001 From: Qingqing Zhou Date: Fri, 1 Jul 2022 16:42:04 +0800 Subject: [PATCH] ARM: dts: msm: Add CMA region for sdxbaagha Add a 12MB common CMA region for system use. Change-Id: If3df6fed2dc8600ebd032425b34cea4d5da48897 --- qcom/sdxbaagha.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/qcom/sdxbaagha.dtsi b/qcom/sdxbaagha.dtsi index ab790d46..dee17518 100644 --- a/qcom/sdxbaagha.dtsi +++ b/qcom/sdxbaagha.dtsi @@ -86,6 +86,16 @@ reg = <0x87000000 0x400000>; }; + /* global autoconfigured region for contiguous allocations */ + system_cma: linux,cma { + compatible = "shared-dma-pool"; + alloc-ranges = <0x00000000 0xffffffff>; + reusable; + alignment = <0x400000>; + size = <0xc00000>; + linux,cma-default; + }; + }; cpus {