xref: /rk3399_ARM-atf/plat/qti/qtiseclib/inc/qcs615/qtiseclib_defs_plat.h (revision 06f3c7058c42a9f1a9f7df75ea2de71a000855e8)
1 /*
2  * Copyright (c) 2024, The Linux Foundation. All rights reserved.
3  * SPDX-License-Identifier: BSD-3-Clause
4  */
5 
6 #ifndef __QTISECLIB_DEFS_PLAT_H__
7 #define __QTISECLIB_DEFS_PLAT_H__
8 
9 #define QTISECLIB_PLAT_CLUSTER_COUNT   1
10 #define QTISECLIB_PLAT_CORE_COUNT      8
11 
12 #define BL31_BASE                0x86200000
13 #define BL31_SIZE                0x00100000
14 
15 /*----------------------------------------------------------------------------*/
16 /* AOP CMD DB  address space for mapping */
17 /*----------------------------------------------------------------------------*/
18 #define QTI_AOP_CMD_DB_BASE         0x85F20000
19 #define QTI_AOP_CMD_DB_SIZE         0x00020000
20 
21 /* Chipset specific secure interrupt number/ID defs. */
22 #define QTISECLIB_INT_ID_SEC_WDOG_BARK          (0x204)
23 #define QTISECLIB_INT_ID_NON_SEC_WDOG_BITE      (0x21)
24 
25 #define QTISECLIB_INT_ID_VMIDMT_ERR_CLT_SEC     (0xE6)
26 #define QTISECLIB_INT_ID_VMIDMT_ERR_CLT_NONSEC  (0xE7)
27 #define QTISECLIB_INT_ID_VMIDMT_ERR_CFG_SEC     (0xE8)
28 #define QTISECLIB_INT_ID_VMIDMT_ERR_CFG_NONSEC  (0xE9)
29 
30 #define QTISECLIB_INT_ID_XPU_SEC                (0xE3)
31 #define QTISECLIB_INT_ID_XPU_NON_SEC            (0xE4)
32 
33 //NOC INterrupt
34 #define QTISECLIB_INT_ID_A1_NOC_ERROR        (0x18B)
35 #define QTISECLIB_INT_ID_CONFIG_NOC_ERROR    (0xE2)
36 #define QTISECLIB_INT_ID_DC_NOC_ERROR        (0x122)
37 #define QTISECLIB_INT_ID_MEM_NOC_ERROR       (0x6C) //GEM_NOC
38 #define QTISECLIB_INT_ID_SYSTEM_NOC_ERROR    (0xC6)
39 #define QTISECLIB_INT_ID_MMSS_NOC_ERROR      (0xBA)
40 
41 #endif /* __QTISECLIB_DEFS_PLAT_H__ */
42