cm1_44xx.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * OMAP44xx CM1 instance offset macros
  4. *
  5. * Copyright (C) 2009-2011 Texas Instruments, Inc.
  6. * Copyright (C) 2009-2010 Nokia Corporation
  7. *
  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. * XXX This file needs to be updated to align on one of "OMAP4", "OMAP44XX",
  19. * or "OMAP4430".
  20. */
  21. #ifndef __ARCH_ARM_MACH_OMAP2_CM1_44XX_H
  22. #define __ARCH_ARM_MACH_OMAP2_CM1_44XX_H
  23. /* CM1 base address */
  24. #define OMAP4430_CM1_BASE 0x4a004000
  25. #define OMAP44XX_CM1_REGADDR(inst, reg) \
  26. OMAP2_L4_IO_ADDRESS(OMAP4430_CM1_BASE + (inst) + (reg))
  27. /* CM1 instances */
  28. #define OMAP4430_CM1_OCP_SOCKET_INST 0x0000
  29. #define OMAP4430_CM1_CKGEN_INST 0x0100
  30. #define OMAP4430_CM1_MPU_INST 0x0300
  31. #define OMAP4430_CM1_TESLA_INST 0x0400
  32. #define OMAP4430_CM1_ABE_INST 0x0500
  33. /* CM1 clockdomain register offsets (from instance start) */
  34. #define OMAP4430_CM1_MPU_MPU_CDOFFS 0x0000
  35. #define OMAP4430_CM1_TESLA_TESLA_CDOFFS 0x0000
  36. #define OMAP4430_CM1_ABE_ABE_CDOFFS 0x0000
  37. #endif