prcm44xx.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * OMAP4 PRCM definitions
  4. *
  5. * Copyright (C) 2010 Texas Instruments, Inc.
  6. * Copyright (C) 2010 Nokia Corporation
  7. *
  8. * Paul Walmsley
  9. *
  10. * This file contains macros and functions that are common to all of
  11. * the PRM/CM/PRCM blocks on the OMAP4 devices: PRM, CM1, CM2,
  12. * PRCM_MPU, SCRM
  13. */
  14. #ifndef __ARCH_ARM_MACH_OMAP2_PRCM44XX_H
  15. #define __ARCH_ARM_MACH_OMAP2_PRCM44XX_H
  16. /*
  17. * OMAP4 PRCM partition IDs
  18. *
  19. * The numbers and order are arbitrary, but 0 is reserved for the
  20. * 'invalid' partition in case someone forgets to add a
  21. * .prcm_partition field.
  22. */
  23. #define OMAP4430_INVALID_PRCM_PARTITION 0
  24. #define OMAP4430_PRM_PARTITION 1
  25. #define OMAP4430_CM1_PARTITION 2
  26. #define OMAP4430_CM2_PARTITION 3
  27. #define OMAP4430_SCRM_PARTITION 4
  28. #define OMAP4430_PRCM_MPU_PARTITION 5
  29. #define OMAP54XX_PRM_PARTITION 1
  30. #define OMAP54XX_CM_CORE_AON_PARTITION 2
  31. #define OMAP54XX_CM_CORE_PARTITION 3
  32. #define OMAP54XX_SCRM_PARTITION 4
  33. #define OMAP54XX_PRCM_MPU_PARTITION 5
  34. #define DRA7XX_PRM_PARTITION 1
  35. #define DRA7XX_CM_CORE_AON_PARTITION 2
  36. #define DRA7XX_CM_CORE_PARTITION 3
  37. #define DRA7XX_MPU_PRCM_PARTITION 5
  38. /*
  39. * OMAP4_MAX_PRCM_PARTITIONS: set to the highest value of the PRCM partition
  40. * IDs, plus one
  41. */
  42. #define OMAP4_MAX_PRCM_PARTITIONS 6
  43. #endif