ARM: dts: msm: Add CMA node for secure DSP

Add CMA memory node for secure fastrpc usecases.

Change-Id: I3c8cf93a91025ebbcb570db6d7b0b82a1554bbb7
Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
This commit is contained in:
Anirudh Raghavendra
2024-01-25 15:41:51 -08:00
parent 6b23c4a6b3
commit ae18704842
2 changed files with 15 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include <dt-bindings/arm/msm/qcom_dma_heap_dt_constants.h>
@@ -48,5 +48,11 @@
memory-region = <&spu_modem_shared_mem>;
qcom,token = <0x10800000>;
};
qcom,secure_cdsp {
qcom,dma-heap-name = "qcom,cma-secure-cdsp";
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
memory-region = <&cdsp_secure_heap_cma>;
};
};
};

View File

@@ -3709,6 +3709,14 @@
alignment = <0x0 0x400000>;
size = <0x0 0x1000000>;
};
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 "sun-dma-heaps.dtsi"