xref: /rk3399_ARM-atf/plat/qti/qcs615/inc/qti_secure_io_cfg.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 QTI_SECURE_IO_CFG_H
7 #define QTI_SECURE_IO_CFG_H
8 
9 #include <stdint.h>
10 
11 /*
12  * List of peripheral/IO memory areas that are protected from
13  * non-secure world but not required to be secure.
14  */
15 #define APPS_SMMU_TBU_PWR_STATUS             0x15002204
16 #define APPS_SMMU_CUSTOM_CFG                 0x15002300
17 #define APPS_SMMU_STATS_SYNC_INV_TBU_ACK     0x150025DC
18 #define APPS_SMMU_SAFE_SEC_CFG               0x15002644
19 #define APPS_SMMU_MMU2QSS_AND_SAFE_WAIT_CNTR 0x15002648
20 
21 static const uintptr_t qti_secure_io_allowed_regs[] = {
22 	APPS_SMMU_TBU_PWR_STATUS,
23 	APPS_SMMU_CUSTOM_CFG,
24 	APPS_SMMU_STATS_SYNC_INV_TBU_ACK,
25 	APPS_SMMU_SAFE_SEC_CFG,
26 	APPS_SMMU_MMU2QSS_AND_SAFE_WAIT_CNTR,
27 };
28 
29 static const uintptr_t qti_secure_io_debug_allowed_regs[] = {
30 };
31 
32 
33 #endif /* QTI_SECURE_IO_CFG_H */
34