cm1_7xx.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * DRA7xx CM1 instance offset macros
  4. *
  5. * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com
  6. *
  7. * Generated by code originally written by:
  8. * Paul Walmsley ([email protected])
  9. * Rajendra Nayak ([email protected])
  10. * Benoit Cousson ([email protected])
  11. *
  12. * This file is automatically generated from the OMAP hardware databases.
  13. * We respectfully ask that any modifications to this file be coordinated
  14. * with the public [email protected] mailing list and the
  15. * authors above to ensure that the autogeneration scripts are kept
  16. * up-to-date with the file contents.
  17. */
  18. #ifndef __ARCH_ARM_MACH_OMAP2_CM1_7XX_H
  19. #define __ARCH_ARM_MACH_OMAP2_CM1_7XX_H
  20. /* CM1 base address */
  21. #define DRA7XX_CM_CORE_AON_BASE 0x4a005000
  22. #define DRA7XX_CM_CORE_AON_REGADDR(inst, reg) \
  23. OMAP2_L4_IO_ADDRESS(DRA7XX_CM_CORE_AON_BASE + (inst) + (reg))
  24. /* CM_CORE_AON instances */
  25. #define DRA7XX_CM_CORE_AON_OCP_SOCKET_INST 0x0000
  26. #define DRA7XX_CM_CORE_AON_CKGEN_INST 0x0100
  27. #define DRA7XX_CM_CORE_AON_MPU_INST 0x0300
  28. #define DRA7XX_CM_CORE_AON_DSP1_INST 0x0400
  29. #define DRA7XX_CM_CORE_AON_IPU_INST 0x0500
  30. #define DRA7XX_CM_CORE_AON_DSP2_INST 0x0600
  31. #define DRA7XX_CM_CORE_AON_EVE1_INST 0x0640
  32. #define DRA7XX_CM_CORE_AON_EVE2_INST 0x0680
  33. #define DRA7XX_CM_CORE_AON_EVE3_INST 0x06c0
  34. #define DRA7XX_CM_CORE_AON_EVE4_INST 0x0700
  35. #define DRA7XX_CM_CORE_AON_RTC_INST 0x0740
  36. #define DRA7XX_CM_CORE_AON_VPE_INST 0x0760
  37. /* CM_CORE_AON clockdomain register offsets (from instance start) */
  38. #define DRA7XX_CM_CORE_AON_MPU_MPU_CDOFFS 0x0000
  39. #define DRA7XX_CM_CORE_AON_DSP1_DSP1_CDOFFS 0x0000
  40. #define DRA7XX_CM_CORE_AON_IPU_IPU1_CDOFFS 0x0000
  41. #define DRA7XX_CM_CORE_AON_IPU_IPU_CDOFFS 0x0040
  42. #define DRA7XX_CM_CORE_AON_DSP2_DSP2_CDOFFS 0x0000
  43. #define DRA7XX_CM_CORE_AON_EVE1_EVE1_CDOFFS 0x0000
  44. #define DRA7XX_CM_CORE_AON_EVE2_EVE2_CDOFFS 0x0000
  45. #define DRA7XX_CM_CORE_AON_EVE3_EVE3_CDOFFS 0x0000
  46. #define DRA7XX_CM_CORE_AON_EVE4_EVE4_CDOFFS 0x0000
  47. #define DRA7XX_CM_CORE_AON_RTC_RTC_CDOFFS 0x0000
  48. #define DRA7XX_CM_CORE_AON_VPE_VPE_CDOFFS 0x0000
  49. #endif