cm2_54xx.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * OMAP54xx CM2 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_CM2_54XX_H
  18. #define __ARCH_ARM_MACH_OMAP2_CM2_54XX_H
  19. /* CM2 base address */
  20. #define OMAP54XX_CM_CORE_BASE 0x4a008000
  21. #define OMAP54XX_CM_CORE_REGADDR(inst, reg) \
  22. OMAP2_L4_IO_ADDRESS(OMAP54XX_CM_CORE_BASE + (inst) + (reg))
  23. /* CM_CORE instances */
  24. #define OMAP54XX_CM_CORE_OCP_SOCKET_INST 0x0000
  25. #define OMAP54XX_CM_CORE_CKGEN_INST 0x0100
  26. #define OMAP54XX_CM_CORE_COREAON_INST 0x0600
  27. #define OMAP54XX_CM_CORE_CORE_INST 0x0700
  28. #define OMAP54XX_CM_CORE_IVA_INST 0x1200
  29. #define OMAP54XX_CM_CORE_CAM_INST 0x1300
  30. #define OMAP54XX_CM_CORE_DSS_INST 0x1400
  31. #define OMAP54XX_CM_CORE_GPU_INST 0x1500
  32. #define OMAP54XX_CM_CORE_L3INIT_INST 0x1600
  33. #define OMAP54XX_CM_CORE_CUSTEFUSE_INST 0x1700
  34. /* CM_CORE clockdomain register offsets (from instance start) */
  35. #define OMAP54XX_CM_CORE_COREAON_COREAON_CDOFFS 0x0000
  36. #define OMAP54XX_CM_CORE_CORE_L3MAIN1_CDOFFS 0x0000
  37. #define OMAP54XX_CM_CORE_CORE_L3MAIN2_CDOFFS 0x0100
  38. #define OMAP54XX_CM_CORE_CORE_IPU_CDOFFS 0x0200
  39. #define OMAP54XX_CM_CORE_CORE_DMA_CDOFFS 0x0300
  40. #define OMAP54XX_CM_CORE_CORE_EMIF_CDOFFS 0x0400
  41. #define OMAP54XX_CM_CORE_CORE_C2C_CDOFFS 0x0500
  42. #define OMAP54XX_CM_CORE_CORE_L4CFG_CDOFFS 0x0600
  43. #define OMAP54XX_CM_CORE_CORE_L3INSTR_CDOFFS 0x0700
  44. #define OMAP54XX_CM_CORE_CORE_MIPIEXT_CDOFFS 0x0800
  45. #define OMAP54XX_CM_CORE_CORE_L4PER_CDOFFS 0x0900
  46. #define OMAP54XX_CM_CORE_CORE_L4SEC_CDOFFS 0x0a80
  47. #define OMAP54XX_CM_CORE_IVA_IVA_CDOFFS 0x0000
  48. #define OMAP54XX_CM_CORE_CAM_CAM_CDOFFS 0x0000
  49. #define OMAP54XX_CM_CORE_DSS_DSS_CDOFFS 0x0000
  50. #define OMAP54XX_CM_CORE_GPU_GPU_CDOFFS 0x0000
  51. #define OMAP54XX_CM_CORE_L3INIT_L3INIT_CDOFFS 0x0000
  52. #define OMAP54XX_CM_CORE_CUSTEFUSE_CUSTEFUSE_CDOFFS 0x0000
  53. #endif