qti_secure_io_cfg.h 803 B

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