1*91f16700Schasinglulu /* 2*91f16700Schasinglulu * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. 3*91f16700Schasinglulu * 4*91f16700Schasinglulu * SPDX-License-Identifier: BSD-3-Clause 5*91f16700Schasinglulu */ 6*91f16700Schasinglulu #ifndef QTI_SECURE_IO_CFG_H 7*91f16700Schasinglulu #define QTI_SECURE_IO_CFG_H 8*91f16700Schasinglulu 9*91f16700Schasinglulu #include <stdint.h> 10*91f16700Schasinglulu 11*91f16700Schasinglulu /* 12*91f16700Schasinglulu * List of peripheral/IO memory areas that are protected from 13*91f16700Schasinglulu * non-secure world but not required to be secure. 14*91f16700Schasinglulu */ 15*91f16700Schasinglulu 16*91f16700Schasinglulu #define APPS_SMMU_TBU_PWR_STATUS 0x15002204 17*91f16700Schasinglulu #define APPS_SMMU_CUSTOM_CFG 0x15002300 18*91f16700Schasinglulu #define APPS_SMMU_STATS_SYNC_INV_TBU_ACK 0x150025DC 19*91f16700Schasinglulu #define APPS_SMMU_SAFE_SEC_CFG 0x15002648 20*91f16700Schasinglulu #define APPS_SMMU_MMU2QSS_AND_SAFE_WAIT_CNTR 0x15002670 21*91f16700Schasinglulu 22*91f16700Schasinglulu static const uintptr_t qti_secure_io_allowed_regs[] = { 23*91f16700Schasinglulu APPS_SMMU_TBU_PWR_STATUS, 24*91f16700Schasinglulu APPS_SMMU_CUSTOM_CFG, 25*91f16700Schasinglulu APPS_SMMU_STATS_SYNC_INV_TBU_ACK, 26*91f16700Schasinglulu APPS_SMMU_SAFE_SEC_CFG, 27*91f16700Schasinglulu APPS_SMMU_MMU2QSS_AND_SAFE_WAIT_CNTR, 28*91f16700Schasinglulu }; 29*91f16700Schasinglulu 30*91f16700Schasinglulu #endif /* QTI_SECURE_IO_CFG_H */ 31