From bad9f45e0b12849be5a1217c4c64da96d022ba56 Mon Sep 17 00:00:00 2001 From: Nitin LNU Date: Fri, 22 Jul 2022 14:07:12 +0530 Subject: [PATCH] ARM: dts: msm: Add dtsi changes for qseecom heap Add dts changes for qseecom, qseecom-TA and user_contig heap. Change-Id: Ife9baa81e77c04fbbc5f7045a010b8fcde24394a --- qcom/cinder-dma-heaps.dtsi | 17 +++++++++++++++++ qcom/cinder.dtsi | 25 +++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/qcom/cinder-dma-heaps.dtsi b/qcom/cinder-dma-heaps.dtsi index ebb9b1d8..8c12959c 100644 --- a/qcom/cinder-dma-heaps.dtsi +++ b/qcom/cinder-dma-heaps.dtsi @@ -4,5 +4,22 @@ qcom,dma-heaps { compatible = "qcom,dma-heaps"; + qcom,qseecom { + qcom,dma-heap-name = "qcom,qseecom"; + qcom,dma-heap-type = ; + memory-region = <&qseecom_mem>; + }; + + qcom,qseecom_ta { + qcom,dma-heap-name = "qcom,qseecom-ta"; + qcom,dma-heap-type = ; + memory-region = <&qseecom_ta_mem>; + }; + + qcom,user_contig { + qcom,dma-heap-name = "qcom,user-contig"; + qcom,dma-heap-type = ; + memory-region = <&user_contig_mem>; + }; }; }; diff --git a/qcom/cinder.dtsi b/qcom/cinder.dtsi index 7e1b0898..a90ba065 100644 --- a/qcom/cinder.dtsi +++ b/qcom/cinder.dtsi @@ -189,6 +189,31 @@ reusable; size = <0x0 0x1000000>; }; + + user_contig_mem: user_contig_region { + compatible = "shared-dma-pool"; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + reusable; + alignment = <0x0 0x400000>; + size = <0x0 0x1000000>; + }; + + qseecom_mem: qseecom_region { + compatible = "shared-dma-pool"; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + reusable; + alignment = <0x0 0x400000>; + size = <0x0 0x1400000>; + }; + + qseecom_ta_mem: qseecom_ta_region { + compatible = "shared-dma-pool"; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + reusable; + alignment = <0x0 0x400000>; + size = <0x0 0x1000000>; + }; + }; &soc {