xref: /rk3399_ARM-atf/plat/qti/qcs615/inc/qti_secure_io_cfg.h (revision b67e984664a8644d6cfd1812cabaa02cf24f09c9)
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 EUD_MODE_MANAGER2_EN                 0x088E4000
16 #define APPS_SMMU_TBU_PWR_STATUS             0x15002204
17 #define APPS_SMMU_CUSTOM_CFG                 0x15002300
18 #define APPS_SMMU_STATS_SYNC_INV_TBU_ACK     0x150025DC
19 #define APPS_SMMU_SAFE_SEC_CFG               0x15002644
20 #define APPS_SMMU_MMU2QSS_AND_SAFE_WAIT_CNTR 0x15002648
21 
22 static const uintptr_t qti_secure_io_allowed_regs[] = {
23 	EUD_MODE_MANAGER2_EN,
24 	APPS_SMMU_TBU_PWR_STATUS,
25 	APPS_SMMU_CUSTOM_CFG,
26 	APPS_SMMU_STATS_SYNC_INV_TBU_ACK,
27 	APPS_SMMU_SAFE_SEC_CFG,
28 	APPS_SMMU_MMU2QSS_AND_SAFE_WAIT_CNTR,
29 };
30 
31 static const uintptr_t qti_secure_io_debug_allowed_regs[] = {
32 };
33 
34 
35 #endif /* QTI_SECURE_IO_CFG_H */
36