From ea83b71a00c6b911b2a171476d3e304371dd69d5 Mon Sep 17 00:00:00 2001 From: Divisha Bisht Date: Tue, 19 Jul 2022 18:55:28 +0530 Subject: [PATCH] ARM: dts: msm: Add qseecom and smcinvoke node for anorak Add qseecom and smcinvoke support for Anorak. Change-Id: Ia7f2c429d95761ded77e0c3840f2062f39476926 --- qcom/anorak-dma-heaps.dtsi | 19 +++++++++++++ qcom/anorak.dtsi | 55 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/qcom/anorak-dma-heaps.dtsi b/qcom/anorak-dma-heaps.dtsi index 703893c4..f589503b 100644 --- a/qcom/anorak-dma-heaps.dtsi +++ b/qcom/anorak-dma-heaps.dtsi @@ -28,10 +28,29 @@ memory-region = <&spu_tz_shared_mem>; qcom,token = <0x01000000>; }; + qcom,audio_ml { qcom,dma-heap-name = "qcom,audio-ml"; qcom,dma-heap-type = ; memory-region = <&audio_cma_mem>; }; + + qcom,user_contig { + qcom,dma-heap-name = "qcom,user-contig"; + qcom,dma-heap-type = ; + memory-region = <&user_contig_mem>; + }; + + 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>; + }; }; }; diff --git a/qcom/anorak.dtsi b/qcom/anorak.dtsi index 5f49d669..28e8d9bf 100644 --- a/qcom/anorak.dtsi +++ b/qcom/anorak.dtsi @@ -198,6 +198,30 @@ linux,cma-default; }; + 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>; + }; + adsp_mem_heap: adsp_heap_region { compatible = "shared-dma-pool"; alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; @@ -244,6 +268,14 @@ qcom,dload-mode = <&tcsr 0x13000>; }; + qtee_shmbridge { + compatible = "qcom,tee-shared-memory-bridge"; + }; + + qcom_smcinvoke { + compatible = "qcom,smcinvoke"; + }; + android { compatible = "android,firmware"; vbmeta { @@ -1720,6 +1752,29 @@ status = "ok"; }; + qcom_tzlog: tz-log@146AA720 { + compatible = "qcom,tz-log"; + reg = <0x146AA720 0x3000>; + qcom,hyplog-enabled; + hyplog-address-offset = <0x410>; + hyplog-size-offset = <0x414>; + }; + + qcom_qseecom: qseecom@c1700000 { + compatible = "qcom,qseecom"; + memory-region = <&qseecom_mem>; + qseecom_mem = <&qseecom_mem>; + qseecom_ta_mem = <&qseecom_ta_mem>; + user_contig_mem = <&user_contig_mem>; + qcom,hlos-num-ce-hw-instances = <1>; + qcom,hlos-ce-hw-instance = <0>; + qcom,qsee-ce-hw-instance = <0>; + qcom,disk-encrypt-pipe-pair = <2>; + qcom,no-clock-support; + qcom,appsbl-qseecom-support; + qcom,commonlib64-loaded-by-uefi; + qcom,qsee-reentrancy-support = <2>; + }; }; #include "anorak-qupv3.dtsi"