diff --git a/qcom/kera-dma-heaps.dtsi b/qcom/kera-dma-heaps.dtsi index 6472b080..ac87057a 100644 --- a/qcom/kera-dma-heaps.dtsi +++ b/qcom/kera-dma-heaps.dtsi @@ -9,5 +9,11 @@ qcom,dma-heaps { compatible = "qcom,dma-heaps"; depends-on-supply = <&qcom_scm>; + + qcom,secure_cdsp { + qcom,dma-heap-name = "qcom,cma-secure-cdsp"; + qcom,dma-heap-type = ; + memory-region = <&cdsp_secure_heap_cma>; + }; }; }; diff --git a/qcom/kera.dtsi b/qcom/kera.dtsi index d75b7787..6b7c0c1f 100644 --- a/qcom/kera.dtsi +++ b/qcom/kera.dtsi @@ -489,6 +489,12 @@ status = "ok"; }; + qcom,msm-adsprpc-mem { + compatible = "qcom,msm-adsprpc-mem-region"; + memory-region = <&adsp_mem_heap>; + restrict-access; + }; + clocks { xo_board: xo_board { compatible = "fixed-clock"; @@ -721,6 +727,22 @@ no-map; reg = <0x0 0x81c60000 0x0 0x20000>; }; + + adsp_mem_heap: adsp_heap_region { + compatible = "shared-dma-pool"; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + reusable; + alignment = <0x0 0x400000>; + size = <0x0 0xC00000>; + }; + + cdsp_secure_heap_cma: secure_cdsp_region { /* Secure DSP */ + compatible = "shared-dma-pool"; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + reusable; + alignment = <0x0 0x400000>; + size = <0x0 0x4800000>; + }; }; #include "kera-pinctrl.dtsi"