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:
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: BSD-3-Clause
|
// 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>
|
#include <dt-bindings/arm/msm/qcom_dma_heap_dt_constants.h>
|
||||||
@@ -48,5 +48,11 @@
|
|||||||
memory-region = <&spu_modem_shared_mem>;
|
memory-region = <&spu_modem_shared_mem>;
|
||||||
qcom,token = <0x10800000>;
|
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>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@@ -3709,6 +3709,14 @@
|
|||||||
alignment = <0x0 0x400000>;
|
alignment = <0x0 0x400000>;
|
||||||
size = <0x0 0x1000000>;
|
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"
|
#include "sun-dma-heaps.dtsi"
|
||||||
|
Reference in New Issue
Block a user