From c3a763d67047b25c991f3ace0670da82be57b086 Mon Sep 17 00:00:00 2001 From: Konstantin Dorfman Date: Tue, 26 Nov 2019 09:16:47 +0200 Subject: [PATCH] ARM: dts: msm: Add ion heap for Secure Processor on lahaina Add ion heap for Secure Processor on Lahaina. Change-Id: If75465eca9d96cbe91869fb2a535d22cac8d5e68 --- qcom/lahaina-ion.dtsi | 6 ++++++ qcom/lahaina.dtsi | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/qcom/lahaina-ion.dtsi b/qcom/lahaina-ion.dtsi index d880e212a323..f6d3150bfb98 100644 --- a/qcom/lahaina-ion.dtsi +++ b/qcom/lahaina-ion.dtsi @@ -30,5 +30,11 @@ token = <0x20000000>; }; }; + + qcom,ion-heap@13 { /* SPSS HEAP */ + reg = ; + memory-region = <&sp_mem>; + qcom,ion-heap-type = "HYP_CMA"; + }; }; }; diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index 65fb446cbd32..248cdc2aae7c 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -362,6 +362,14 @@ size = <0x0 0x2000000>; linux,cma-default; }; + + sp_mem: sp_region { /* SPSS-HLOS ION shared mem */ + compatible = "shared-dma-pool"; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + reusable; + alignment = <0x0 0x400000>; + size = <0x0 0x1000000>; + }; }; chosen { };