cm1_54xx.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * OMAP54xx CM1 instance offset macros
  4. *
  5. * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com
  6. *
  7. * Paul Walmsley ([email protected])
  8. * Rajendra Nayak ([email protected])
  9. * Benoit Cousson ([email protected])
  10. *
  11. * This file is automatically generated from the OMAP hardware databases.
  12. * We respectfully ask that any modifications to this file be coordinated
  13. * with the public [email protected] mailing list and the
  14. * authors above to ensure that the autogeneration scripts are kept
  15. * up-to-date with the file contents.
  16. */
  17. #ifndef __ARCH_ARM_MACH_OMAP2_CM1_54XX_H
  18. #define __ARCH_ARM_MACH_OMAP2_CM1_54XX_H
  19. /* CM1 base address */
  20. #define OMAP54XX_CM_CORE_AON_BASE 0x4a004000
  21. #define OMAP54XX_CM_CORE_AON_REGADDR(inst, reg) \
  22. OMAP2_L4_IO_ADDRESS(OMAP54XX_CM_CORE_AON_BASE + (inst) + (reg))
  23. /* CM_CORE_AON instances */
  24. #define OMAP54XX_CM_CORE_AON_OCP_SOCKET_INST 0x0000
  25. #define OMAP54XX_CM_CORE_AON_CKGEN_INST 0x0100
  26. #define OMAP54XX_CM_CORE_AON_MPU_INST 0x0300
  27. #define OMAP54XX_CM_CORE_AON_DSP_INST 0x0400
  28. #define OMAP54XX_CM_CORE_AON_ABE_INST 0x0500
  29. /* CM_CORE_AON clockdomain register offsets (from instance start) */
  30. #define OMAP54XX_CM_CORE_AON_MPU_MPU_CDOFFS 0x0000
  31. #define OMAP54XX_CM_CORE_AON_DSP_DSP_CDOFFS 0x0000
  32. #define OMAP54XX_CM_CORE_AON_ABE_ABE_CDOFFS 0x0000
  33. #endif