hw_prm_mpu.h 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. /**
  2. * @Component: PRM
  3. *
  4. * @Filename: ../../CredDataBase/prcmCRED/prm_mpu_cred.h
  5. *
  6. ============================================================================ */
  7. /*
  8. * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
  9. */
  10. /*
  11. * Redistribution and use in source and binary forms, with or without
  12. * modification, are permitted provided that the following conditions
  13. * are met:
  14. *
  15. * Redistributions of source code must retain the above copyright
  16. * notice, this list of conditions and the following disclaimer.
  17. *
  18. * Redistributions in binary form must reproduce the above copyright
  19. * notice, this list of conditions and the following disclaimer in the
  20. * documentation and/or other materials provided with the
  21. * distribution.
  22. *
  23. * Neither the name of Texas Instruments Incorporated nor the names of
  24. * its contributors may be used to endorse or promote products derived
  25. * from this software without specific prior written permission.
  26. *
  27. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  28. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  29. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  30. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  31. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  32. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  33. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  34. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  35. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  36. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  37. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  38. *
  39. */
  40. #ifndef _HW_PRM_MPU_H_
  41. #define _HW_PRM_MPU_H_
  42. /***********************************************************************\
  43. * Register arrays Definition
  44. \***********************************************************************/
  45. /***********************************************************************\
  46. * Bundle arrays Definition
  47. \***********************************************************************/
  48. /***********************************************************************\
  49. * Bundles Definition
  50. \***********************************************************************/
  51. /*************************************************************************\
  52. * Registers Definition
  53. \*************************************************************************/
  54. #define PRM_MPU_PM_MPU_PWRSTCTRL (0x0)
  55. #define PRM_MPU_PM_MPU_PWRSTST (0x4)
  56. #define PRM_MPU_RM_MPU_RSTST (0x8)
  57. /**************************************************************************\
  58. * Field Definition Macros
  59. \**************************************************************************/
  60. /* PM_MPU_PWRSTCTRL */
  61. #define PRM_MPU_PM_MPU_PWRSTCTRL_LOGICRETSTATE (0x00000004u)
  62. #define PRM_MPU_PM_MPU_PWRSTCTRL_LOGICRETSTATE_SHIFT (0x00000002u)
  63. #define PRM_MPU_PM_MPU_PWRSTCTRL_LOGICRETSTATE_LOGIC_OFF (0x0u)
  64. #define PRM_MPU_PM_MPU_PWRSTCTRL_LOGICRETSTATE_LOGIC_RET (0x1u)
  65. #define PRM_MPU_PM_MPU_PWRSTCTRL_LOWPOWERSTATECHANGE (0x00000010u)
  66. #define PRM_MPU_PM_MPU_PWRSTCTRL_LOWPOWERSTATECHANGE_SHIFT (0x00000004u)
  67. #define PRM_MPU_PM_MPU_PWRSTCTRL_LOWPOWERSTATECHANGE_DIS (0x0u)
  68. #define PRM_MPU_PM_MPU_PWRSTCTRL_LOWPOWERSTATECHANGE_EN (0x1u)
  69. #define PRM_MPU_PM_MPU_PWRSTCTRL_MPU_L1_ONSTATE (0x000C0000u)
  70. #define PRM_MPU_PM_MPU_PWRSTCTRL_MPU_L1_ONSTATE_SHIFT (0x00000012u)
  71. #define PRM_MPU_PM_MPU_PWRSTCTRL_MPU_L1_ONSTATE_MEM_ON (0x3u)
  72. #define PRM_MPU_PM_MPU_PWRSTCTRL_MPU_L1_RETSTATE (0x00400000u)
  73. #define PRM_MPU_PM_MPU_PWRSTCTRL_MPU_L1_RETSTATE_SHIFT (0x00000016u)
  74. #define PRM_MPU_PM_MPU_PWRSTCTRL_MPU_L2_ONSTATE (0x00300000u)
  75. #define PRM_MPU_PM_MPU_PWRSTCTRL_MPU_L2_ONSTATE_SHIFT (0x00000014u)
  76. #define PRM_MPU_PM_MPU_PWRSTCTRL_MPU_L2_ONSTATE_MEM_ON (0x3u)
  77. #define PRM_MPU_PM_MPU_PWRSTCTRL_MPU_L2_RETSTATE (0x00800000u)
  78. #define PRM_MPU_PM_MPU_PWRSTCTRL_MPU_L2_RETSTATE_SHIFT (0x00000017u)
  79. #define PRM_MPU_PM_MPU_PWRSTCTRL_MPU_RAM_ONSTATE (0x00030000u)
  80. #define PRM_MPU_PM_MPU_PWRSTCTRL_MPU_RAM_ONSTATE_SHIFT (0x00000010u)
  81. #define PRM_MPU_PM_MPU_PWRSTCTRL_MPU_RAM_ONSTATE_MEM_OFF (0x0u)
  82. #define PRM_MPU_PM_MPU_PWRSTCTRL_MPU_RAM_ONSTATE_MEM_ON (0x3u)
  83. #define PRM_MPU_PM_MPU_PWRSTCTRL_MPU_RAM_ONSTATE_RESERVED (0x2u)
  84. #define PRM_MPU_PM_MPU_PWRSTCTRL_MPU_RAM_RETSTATE (0x01000000u)
  85. #define PRM_MPU_PM_MPU_PWRSTCTRL_MPU_RAM_RETSTATE_SHIFT (0x00000018u)
  86. #define PRM_MPU_PM_MPU_PWRSTCTRL_POWERSTATE (0x00000003u)
  87. #define PRM_MPU_PM_MPU_PWRSTCTRL_POWERSTATE_SHIFT (0x00000000u)
  88. #define PRM_MPU_PM_MPU_PWRSTCTRL_POWERSTATE_OFF (0x0u)
  89. #define PRM_MPU_PM_MPU_PWRSTCTRL_POWERSTATE_ON (0x3u)
  90. #define PRM_MPU_PM_MPU_PWRSTCTRL_POWERSTATE_RESERVED (0x2u)
  91. #define PRM_MPU_PM_MPU_PWRSTCTRL_POWERSTATE_RET (0x1u)
  92. /* PM_MPU_PWRSTST */
  93. #define PRM_MPU_PM_MPU_PWRSTST_INTRANSITION (0x00100000u)
  94. #define PRM_MPU_PM_MPU_PWRSTST_INTRANSITION_SHIFT (0x00000014u)
  95. #define PRM_MPU_PM_MPU_PWRSTST_INTRANSITION_NO (0x0u)
  96. #define PRM_MPU_PM_MPU_PWRSTST_INTRANSITION_ONGOING (0x1u)
  97. #define PRM_MPU_PM_MPU_PWRSTST_LOGICSTATEST (0x00000004u)
  98. #define PRM_MPU_PM_MPU_PWRSTST_LOGICSTATEST_SHIFT (0x00000002u)
  99. #define PRM_MPU_PM_MPU_PWRSTST_LOGICSTATEST_OFF (0x0u)
  100. #define PRM_MPU_PM_MPU_PWRSTST_LOGICSTATEST_ON (0x1u)
  101. #define PRM_MPU_PM_MPU_PWRSTST_MPU_L1_STATEST (0x000000C0u)
  102. #define PRM_MPU_PM_MPU_PWRSTST_MPU_L1_STATEST_SHIFT (0x00000006u)
  103. #define PRM_MPU_PM_MPU_PWRSTST_MPU_L1_STATEST_MEM_OFF (0x0u)
  104. #define PRM_MPU_PM_MPU_PWRSTST_MPU_L1_STATEST_MEM_ON (0x3u)
  105. #define PRM_MPU_PM_MPU_PWRSTST_MPU_L1_STATEST_RESERVED (0x2u)
  106. #define PRM_MPU_PM_MPU_PWRSTST_MPU_L2_STATEST (0x00000300u)
  107. #define PRM_MPU_PM_MPU_PWRSTST_MPU_L2_STATEST_SHIFT (0x00000008u)
  108. #define PRM_MPU_PM_MPU_PWRSTST_MPU_L2_STATEST_MEM_OFF (0x0u)
  109. #define PRM_MPU_PM_MPU_PWRSTST_MPU_L2_STATEST_MEM_ON (0x3u)
  110. #define PRM_MPU_PM_MPU_PWRSTST_MPU_L2_STATEST_RESERVED (0x2u)
  111. #define PRM_MPU_PM_MPU_PWRSTST_MPU_RAM_STATEST (0x00000030u)
  112. #define PRM_MPU_PM_MPU_PWRSTST_MPU_RAM_STATEST_SHIFT (0x00000004u)
  113. #define PRM_MPU_PM_MPU_PWRSTST_MPU_RAM_STATEST_MEM_OFF (0x0u)
  114. #define PRM_MPU_PM_MPU_PWRSTST_MPU_RAM_STATEST_MEM_ON (0x3u)
  115. #define PRM_MPU_PM_MPU_PWRSTST_MPU_RAM_STATEST_RESERVED (0x2u)
  116. #define PRM_MPU_PM_MPU_PWRSTST_POWERSTATEST (0x00000003u)
  117. #define PRM_MPU_PM_MPU_PWRSTST_POWERSTATEST_SHIFT (0x00000000u)
  118. #define PRM_MPU_PM_MPU_PWRSTST_POWERSTATEST_OFF (0x0u)
  119. #define PRM_MPU_PM_MPU_PWRSTST_POWERSTATEST_ON (0x3u)
  120. #define PRM_MPU_PM_MPU_PWRSTST_POWERSTATEST_RET (0x1u)
  121. /* RM_MPU_RSTST */
  122. #define PRM_MPU_RM_MPU_RSTST_EMULATION_MPU_RST (0x00000020u)
  123. #define PRM_MPU_RM_MPU_RSTST_EMULATION_MPU_RST_SHIFT (0x00000005u)
  124. #define PRM_MPU_RM_MPU_RSTST_EMULATION_MPU_RST_RESET_NO (0x0u)
  125. #define PRM_MPU_RM_MPU_RSTST_EMULATION_MPU_RST_RESET_YES (0x1u)
  126. #define PRM_MPU_RM_MPU_RSTST_ICECRUSHER_MPU_RST (0x00000040u)
  127. #define PRM_MPU_RM_MPU_RSTST_ICECRUSHER_MPU_RST_SHIFT (0x00000006u)
  128. #define PRM_MPU_RM_MPU_RSTST_ICECRUSHER_MPU_RST_RESET_NO (0x0u)
  129. #define PRM_MPU_RM_MPU_RSTST_ICECRUSHER_MPU_RST_RESET_YES (0x1u)
  130. #endif