From 5efd918591a22cbb6a3086c129ff615541cd9923 Mon Sep 17 00:00:00 2001 From: Sudarshan Rajagopalan Date: Tue, 22 Mar 2022 12:25:20 -0700 Subject: [PATCH] ARM: dts: msm: Add system cma region for Cinder Add the global system cma region for contiguous memory allocation for RU and DU variants of Cinder. Change-Id: Ib3dabed7d4e29d0eac83b3c4ae673836d7662e4a --- qcom/cinder.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/qcom/cinder.dtsi b/qcom/cinder.dtsi index 135849ec..53b9c38f 100644 --- a/qcom/cinder.dtsi +++ b/qcom/cinder.dtsi @@ -151,6 +151,23 @@ }; soc: soc { }; + +}; + +&reserved_memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* global autoconfigured region for contiguous allocations */ + system_cma: linux,cma { + compatible = "shared-dma-pool"; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + reusable; + alignment = <0x0 0x400000>; + size = <0x0 0x2000000>; + linux,cma-default; + }; }; #include "cinder-stub-regulator.dtsi"