arm-smmu.h 1.1 KB

12345678910111213141516171819202122232425262728
  1. /* Copyright (c) 2018, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. #ifndef __DT_ARM_SMMU_H__
  13. #define __DT_ARM_SMMU_H__
  14. #define ARM_SMMU_OPT_SECURE_CFG_ACCESS (1 << 0)
  15. #define ARM_SMMU_OPT_FATAL_ASF (1 << 1)
  16. #define ARM_SMMU_OPT_SKIP_INIT (1 << 2)
  17. #define ARM_SMMU_OPT_DYNAMIC (1 << 3)
  18. #define ARM_SMMU_OPT_3LVL_TABLES (1 << 4)
  19. #define ARM_SMMU_OPT_NO_ASID_RETENTION (1 << 5)
  20. #define ARM_SMMU_OPT_DISABLE_ATOS (1 << 6)
  21. #define ARM_SMMU_OPT_MMU500_ERRATA1 (1 << 7)
  22. #define ARM_SMMU_OPT_STATIC_CB (1 << 8)
  23. #define ARM_SMMU_OPT_HALT (1 << 9)
  24. #define ARM_SMMU_OPT_HIBERNATION (1 << 10)
  25. #endif