cm2_44xx.h 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  1. /*
  2. * OMAP44xx CM2 instance offset macros
  3. *
  4. * Copyright (C) 2009-2011 Texas Instruments, Inc.
  5. * Copyright (C) 2009-2010 Nokia Corporation
  6. *
  7. * Paul Walmsley (paul@pwsan.com)
  8. * Rajendra Nayak (rnayak@ti.com)
  9. * Benoit Cousson (b-cousson@ti.com)
  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 linux-omap@vger.kernel.org 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. * This program is free software; you can redistribute it and/or modify
  18. * it under the terms of the GNU General Public License version 2 as
  19. * published by the Free Software Foundation.
  20. *
  21. * XXX This file needs to be updated to align on one of "OMAP4", "OMAP44XX",
  22. * or "OMAP4430".
  23. */
  24. #ifndef __ARCH_ARM_MACH_OMAP2_CM2_44XX_H
  25. #define __ARCH_ARM_MACH_OMAP2_CM2_44XX_H
  26. /* CM2 base address */
  27. #define OMAP4430_CM2_BASE 0x4a008000
  28. #define OMAP44XX_CM2_REGADDR(inst, reg) \
  29. OMAP2_L4_IO_ADDRESS(OMAP4430_CM2_BASE + (inst) + (reg))
  30. /* CM2 instances */
  31. #define OMAP4430_CM2_OCP_SOCKET_INST 0x0000
  32. #define OMAP4430_CM2_CKGEN_INST 0x0100
  33. #define OMAP4430_CM2_ALWAYS_ON_INST 0x0600
  34. #define OMAP4430_CM2_CORE_INST 0x0700
  35. #define OMAP4430_CM2_IVAHD_INST 0x0f00
  36. #define OMAP4430_CM2_CAM_INST 0x1000
  37. #define OMAP4430_CM2_DSS_INST 0x1100
  38. #define OMAP4430_CM2_GFX_INST 0x1200
  39. #define OMAP4430_CM2_L3INIT_INST 0x1300
  40. #define OMAP4430_CM2_L4PER_INST 0x1400
  41. #define OMAP4430_CM2_CEFUSE_INST 0x1600
  42. #define OMAP4430_CM2_RESTORE_INST 0x1e00
  43. #define OMAP4430_CM2_INSTR_INST 0x1f00
  44. /* CM2 clockdomain register offsets (from instance start) */
  45. #define OMAP4430_CM2_ALWAYS_ON_ALWON_CDOFFS 0x0000
  46. #define OMAP4430_CM2_CORE_L3_1_CDOFFS 0x0000
  47. #define OMAP4430_CM2_CORE_L3_2_CDOFFS 0x0100
  48. #define OMAP4430_CM2_CORE_DUCATI_CDOFFS 0x0200
  49. #define OMAP4430_CM2_CORE_SDMA_CDOFFS 0x0300
  50. #define OMAP4430_CM2_CORE_MEMIF_CDOFFS 0x0400
  51. #define OMAP4430_CM2_CORE_D2D_CDOFFS 0x0500
  52. #define OMAP4430_CM2_CORE_L4CFG_CDOFFS 0x0600
  53. #define OMAP4430_CM2_CORE_L3INSTR_CDOFFS 0x0700
  54. #define OMAP4430_CM2_IVAHD_IVAHD_CDOFFS 0x0000
  55. #define OMAP4430_CM2_CAM_CAM_CDOFFS 0x0000
  56. #define OMAP4430_CM2_DSS_DSS_CDOFFS 0x0000
  57. #define OMAP4430_CM2_GFX_GFX_CDOFFS 0x0000
  58. #define OMAP4430_CM2_L3INIT_L3INIT_CDOFFS 0x0000
  59. #define OMAP4430_CM2_L4PER_L4PER_CDOFFS 0x0000
  60. #define OMAP4430_CM2_L4PER_L4SEC_CDOFFS 0x0180
  61. #define OMAP4430_CM2_CEFUSE_CEFUSE_CDOFFS 0x0000
  62. /* CM2 */
  63. /* CM2.OCP_SOCKET_CM2 register offsets */
  64. #define OMAP4_REVISION_CM2_OFFSET 0x0000
  65. #define OMAP4430_REVISION_CM2 OMAP44XX_CM2_REGADDR(OMAP4430_CM2_OCP_SOCKET_INST, 0x0000)
  66. #define OMAP4_CM_CM2_PROFILING_CLKCTRL_OFFSET 0x0040
  67. #define OMAP4430_CM_CM2_PROFILING_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_OCP_SOCKET_INST, 0x0040)
  68. /* CM2.CKGEN_CM2 register offsets */
  69. #define OMAP4_CM_CLKSEL_DUCATI_ISS_ROOT_OFFSET 0x0000
  70. #define OMAP4430_CM_CLKSEL_DUCATI_ISS_ROOT OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0000)
  71. #define OMAP4_CM_CLKSEL_USB_60MHZ_OFFSET 0x0004
  72. #define OMAP4430_CM_CLKSEL_USB_60MHZ OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0004)
  73. #define OMAP4_CM_SCALE_FCLK_OFFSET 0x0008
  74. #define OMAP4430_CM_SCALE_FCLK OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0008)
  75. #define OMAP4_CM_CORE_DVFS_PERF1_OFFSET 0x0010
  76. #define OMAP4430_CM_CORE_DVFS_PERF1 OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0010)
  77. #define OMAP4_CM_CORE_DVFS_PERF2_OFFSET 0x0014
  78. #define OMAP4430_CM_CORE_DVFS_PERF2 OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0014)
  79. #define OMAP4_CM_CORE_DVFS_PERF3_OFFSET 0x0018
  80. #define OMAP4430_CM_CORE_DVFS_PERF3 OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0018)
  81. #define OMAP4_CM_CORE_DVFS_PERF4_OFFSET 0x001c
  82. #define OMAP4430_CM_CORE_DVFS_PERF4 OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x001c)
  83. #define OMAP4_CM_CORE_DVFS_CURRENT_OFFSET 0x0024
  84. #define OMAP4430_CM_CORE_DVFS_CURRENT OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0024)
  85. #define OMAP4_CM_IVA_DVFS_PERF_TESLA_OFFSET 0x0028
  86. #define OMAP4430_CM_IVA_DVFS_PERF_TESLA OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0028)
  87. #define OMAP4_CM_IVA_DVFS_PERF_IVAHD_OFFSET 0x002c
  88. #define OMAP4430_CM_IVA_DVFS_PERF_IVAHD OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x002c)
  89. #define OMAP4_CM_IVA_DVFS_PERF_ABE_OFFSET 0x0030
  90. #define OMAP4430_CM_IVA_DVFS_PERF_ABE OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0030)
  91. #define OMAP4_CM_IVA_DVFS_CURRENT_OFFSET 0x0038
  92. #define OMAP4430_CM_IVA_DVFS_CURRENT OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0038)
  93. #define OMAP4_CM_CLKMODE_DPLL_PER_OFFSET 0x0040
  94. #define OMAP4430_CM_CLKMODE_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0040)
  95. #define OMAP4_CM_IDLEST_DPLL_PER_OFFSET 0x0044
  96. #define OMAP4430_CM_IDLEST_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0044)
  97. #define OMAP4_CM_AUTOIDLE_DPLL_PER_OFFSET 0x0048
  98. #define OMAP4430_CM_AUTOIDLE_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0048)
  99. #define OMAP4_CM_CLKSEL_DPLL_PER_OFFSET 0x004c
  100. #define OMAP4430_CM_CLKSEL_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x004c)
  101. #define OMAP4_CM_DIV_M2_DPLL_PER_OFFSET 0x0050
  102. #define OMAP4430_CM_DIV_M2_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0050)
  103. #define OMAP4_CM_DIV_M3_DPLL_PER_OFFSET 0x0054
  104. #define OMAP4430_CM_DIV_M3_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0054)
  105. #define OMAP4_CM_DIV_M4_DPLL_PER_OFFSET 0x0058
  106. #define OMAP4430_CM_DIV_M4_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0058)
  107. #define OMAP4_CM_DIV_M5_DPLL_PER_OFFSET 0x005c
  108. #define OMAP4430_CM_DIV_M5_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x005c)
  109. #define OMAP4_CM_DIV_M6_DPLL_PER_OFFSET 0x0060
  110. #define OMAP4430_CM_DIV_M6_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0060)
  111. #define OMAP4_CM_DIV_M7_DPLL_PER_OFFSET 0x0064
  112. #define OMAP4430_CM_DIV_M7_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0064)
  113. #define OMAP4_CM_SSC_DELTAMSTEP_DPLL_PER_OFFSET 0x0068
  114. #define OMAP4430_CM_SSC_DELTAMSTEP_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0068)
  115. #define OMAP4_CM_SSC_MODFREQDIV_DPLL_PER_OFFSET 0x006c
  116. #define OMAP4430_CM_SSC_MODFREQDIV_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x006c)
  117. #define OMAP4_CM_CLKMODE_DPLL_USB_OFFSET 0x0080
  118. #define OMAP4430_CM_CLKMODE_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0080)
  119. #define OMAP4_CM_IDLEST_DPLL_USB_OFFSET 0x0084
  120. #define OMAP4430_CM_IDLEST_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0084)
  121. #define OMAP4_CM_AUTOIDLE_DPLL_USB_OFFSET 0x0088
  122. #define OMAP4430_CM_AUTOIDLE_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0088)
  123. #define OMAP4_CM_CLKSEL_DPLL_USB_OFFSET 0x008c
  124. #define OMAP4430_CM_CLKSEL_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x008c)
  125. #define OMAP4_CM_DIV_M2_DPLL_USB_OFFSET 0x0090
  126. #define OMAP4430_CM_DIV_M2_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0090)
  127. #define OMAP4_CM_SSC_DELTAMSTEP_DPLL_USB_OFFSET 0x00a8
  128. #define OMAP4430_CM_SSC_DELTAMSTEP_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00a8)
  129. #define OMAP4_CM_SSC_MODFREQDIV_DPLL_USB_OFFSET 0x00ac
  130. #define OMAP4430_CM_SSC_MODFREQDIV_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00ac)
  131. #define OMAP4_CM_CLKDCOLDO_DPLL_USB_OFFSET 0x00b4
  132. #define OMAP4430_CM_CLKDCOLDO_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00b4)
  133. #define OMAP4_CM_CLKMODE_DPLL_UNIPRO_OFFSET 0x00c0
  134. #define OMAP4430_CM_CLKMODE_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00c0)
  135. #define OMAP4_CM_IDLEST_DPLL_UNIPRO_OFFSET 0x00c4
  136. #define OMAP4430_CM_IDLEST_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00c4)
  137. #define OMAP4_CM_AUTOIDLE_DPLL_UNIPRO_OFFSET 0x00c8
  138. #define OMAP4430_CM_AUTOIDLE_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00c8)
  139. #define OMAP4_CM_CLKSEL_DPLL_UNIPRO_OFFSET 0x00cc
  140. #define OMAP4430_CM_CLKSEL_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00cc)
  141. #define OMAP4_CM_DIV_M2_DPLL_UNIPRO_OFFSET 0x00d0
  142. #define OMAP4430_CM_DIV_M2_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00d0)
  143. #define OMAP4_CM_SSC_DELTAMSTEP_DPLL_UNIPRO_OFFSET 0x00e8
  144. #define OMAP4430_CM_SSC_DELTAMSTEP_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00e8)
  145. #define OMAP4_CM_SSC_MODFREQDIV_DPLL_UNIPRO_OFFSET 0x00ec
  146. #define OMAP4430_CM_SSC_MODFREQDIV_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00ec)
  147. /* CM2.ALWAYS_ON_CM2 register offsets */
  148. #define OMAP4_CM_ALWON_CLKSTCTRL_OFFSET 0x0000
  149. #define OMAP4430_CM_ALWON_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_ALWAYS_ON_INST, 0x0000)
  150. #define OMAP4_CM_ALWON_MDMINTC_CLKCTRL_OFFSET 0x0020
  151. #define OMAP4430_CM_ALWON_MDMINTC_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_ALWAYS_ON_INST, 0x0020)
  152. #define OMAP4_CM_ALWON_SR_MPU_CLKCTRL_OFFSET 0x0028
  153. #define OMAP4430_CM_ALWON_SR_MPU_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_ALWAYS_ON_INST, 0x0028)
  154. #define OMAP4_CM_ALWON_SR_IVA_CLKCTRL_OFFSET 0x0030
  155. #define OMAP4430_CM_ALWON_SR_IVA_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_ALWAYS_ON_INST, 0x0030)
  156. #define OMAP4_CM_ALWON_SR_CORE_CLKCTRL_OFFSET 0x0038
  157. #define OMAP4430_CM_ALWON_SR_CORE_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_ALWAYS_ON_INST, 0x0038)
  158. #define OMAP4_CM_ALWON_USBPHY_CLKCTRL_OFFSET 0x0040
  159. #define OMAP4430_CM_ALWON_USBPHY_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_ALWAYS_ON_INST, 0x0040)
  160. /* CM2.CORE_CM2 register offsets */
  161. #define OMAP4_CM_L3_1_CLKSTCTRL_OFFSET 0x0000
  162. #define OMAP4430_CM_L3_1_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0000)
  163. #define OMAP4_CM_L3_1_DYNAMICDEP_OFFSET 0x0008
  164. #define OMAP4430_CM_L3_1_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0008)
  165. #define OMAP4_CM_L3_1_L3_1_CLKCTRL_OFFSET 0x0020
  166. #define OMAP4430_CM_L3_1_L3_1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0020)
  167. #define OMAP4_CM_L3_2_CLKSTCTRL_OFFSET 0x0100
  168. #define OMAP4430_CM_L3_2_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0100)
  169. #define OMAP4_CM_L3_2_DYNAMICDEP_OFFSET 0x0108
  170. #define OMAP4430_CM_L3_2_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0108)
  171. #define OMAP4_CM_L3_2_L3_2_CLKCTRL_OFFSET 0x0120
  172. #define OMAP4430_CM_L3_2_L3_2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0120)
  173. #define OMAP4_CM_L3_2_GPMC_CLKCTRL_OFFSET 0x0128
  174. #define OMAP4430_CM_L3_2_GPMC_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0128)
  175. #define OMAP4_CM_L3_2_OCMC_RAM_CLKCTRL_OFFSET 0x0130
  176. #define OMAP4430_CM_L3_2_OCMC_RAM_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0130)
  177. #define OMAP4_CM_DUCATI_CLKSTCTRL_OFFSET 0x0200
  178. #define OMAP4430_CM_DUCATI_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0200)
  179. #define OMAP4_CM_DUCATI_STATICDEP_OFFSET 0x0204
  180. #define OMAP4430_CM_DUCATI_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0204)
  181. #define OMAP4_CM_DUCATI_DYNAMICDEP_OFFSET 0x0208
  182. #define OMAP4430_CM_DUCATI_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0208)
  183. #define OMAP4_CM_DUCATI_DUCATI_CLKCTRL_OFFSET 0x0220
  184. #define OMAP4430_CM_DUCATI_DUCATI_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0220)
  185. #define OMAP4_CM_SDMA_CLKSTCTRL_OFFSET 0x0300
  186. #define OMAP4430_CM_SDMA_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0300)
  187. #define OMAP4_CM_SDMA_STATICDEP_OFFSET 0x0304
  188. #define OMAP4430_CM_SDMA_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0304)
  189. #define OMAP4_CM_SDMA_DYNAMICDEP_OFFSET 0x0308
  190. #define OMAP4430_CM_SDMA_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0308)
  191. #define OMAP4_CM_SDMA_SDMA_CLKCTRL_OFFSET 0x0320
  192. #define OMAP4430_CM_SDMA_SDMA_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0320)
  193. #define OMAP4_CM_MEMIF_CLKSTCTRL_OFFSET 0x0400
  194. #define OMAP4430_CM_MEMIF_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0400)
  195. #define OMAP4_CM_MEMIF_DMM_CLKCTRL_OFFSET 0x0420
  196. #define OMAP4430_CM_MEMIF_DMM_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0420)
  197. #define OMAP4_CM_MEMIF_EMIF_FW_CLKCTRL_OFFSET 0x0428
  198. #define OMAP4430_CM_MEMIF_EMIF_FW_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0428)
  199. #define OMAP4_CM_MEMIF_EMIF_1_CLKCTRL_OFFSET 0x0430
  200. #define OMAP4430_CM_MEMIF_EMIF_1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0430)
  201. #define OMAP4_CM_MEMIF_EMIF_2_CLKCTRL_OFFSET 0x0438
  202. #define OMAP4430_CM_MEMIF_EMIF_2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0438)
  203. #define OMAP4_CM_MEMIF_DLL_CLKCTRL_OFFSET 0x0440
  204. #define OMAP4430_CM_MEMIF_DLL_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0440)
  205. #define OMAP4_CM_MEMIF_EMIF_H1_CLKCTRL_OFFSET 0x0450
  206. #define OMAP4430_CM_MEMIF_EMIF_H1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0450)
  207. #define OMAP4_CM_MEMIF_EMIF_H2_CLKCTRL_OFFSET 0x0458
  208. #define OMAP4430_CM_MEMIF_EMIF_H2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0458)
  209. #define OMAP4_CM_MEMIF_DLL_H_CLKCTRL_OFFSET 0x0460
  210. #define OMAP4430_CM_MEMIF_DLL_H_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0460)
  211. #define OMAP4_CM_D2D_CLKSTCTRL_OFFSET 0x0500
  212. #define OMAP4430_CM_D2D_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0500)
  213. #define OMAP4_CM_D2D_STATICDEP_OFFSET 0x0504
  214. #define OMAP4430_CM_D2D_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0504)
  215. #define OMAP4_CM_D2D_DYNAMICDEP_OFFSET 0x0508
  216. #define OMAP4430_CM_D2D_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0508)
  217. #define OMAP4_CM_D2D_SAD2D_CLKCTRL_OFFSET 0x0520
  218. #define OMAP4430_CM_D2D_SAD2D_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0520)
  219. #define OMAP4_CM_D2D_MODEM_ICR_CLKCTRL_OFFSET 0x0528
  220. #define OMAP4430_CM_D2D_MODEM_ICR_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0528)
  221. #define OMAP4_CM_D2D_SAD2D_FW_CLKCTRL_OFFSET 0x0530
  222. #define OMAP4430_CM_D2D_SAD2D_FW_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0530)
  223. #define OMAP4_CM_L4CFG_CLKSTCTRL_OFFSET 0x0600
  224. #define OMAP4430_CM_L4CFG_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0600)
  225. #define OMAP4_CM_L4CFG_DYNAMICDEP_OFFSET 0x0608
  226. #define OMAP4430_CM_L4CFG_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0608)
  227. #define OMAP4_CM_L4CFG_L4_CFG_CLKCTRL_OFFSET 0x0620
  228. #define OMAP4430_CM_L4CFG_L4_CFG_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0620)
  229. #define OMAP4_CM_L4CFG_HW_SEM_CLKCTRL_OFFSET 0x0628
  230. #define OMAP4430_CM_L4CFG_HW_SEM_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0628)
  231. #define OMAP4_CM_L4CFG_MAILBOX_CLKCTRL_OFFSET 0x0630
  232. #define OMAP4430_CM_L4CFG_MAILBOX_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0630)
  233. #define OMAP4_CM_L4CFG_SAR_ROM_CLKCTRL_OFFSET 0x0638
  234. #define OMAP4430_CM_L4CFG_SAR_ROM_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0638)
  235. #define OMAP4_CM_L3INSTR_CLKSTCTRL_OFFSET 0x0700
  236. #define OMAP4430_CM_L3INSTR_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0700)
  237. #define OMAP4_CM_L3INSTR_L3_3_CLKCTRL_OFFSET 0x0720
  238. #define OMAP4430_CM_L3INSTR_L3_3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0720)
  239. #define OMAP4_CM_L3INSTR_L3_INSTR_CLKCTRL_OFFSET 0x0728
  240. #define OMAP4430_CM_L3INSTR_L3_INSTR_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0728)
  241. #define OMAP4_CM_L3INSTR_OCP_WP1_CLKCTRL_OFFSET 0x0740
  242. #define OMAP4430_CM_L3INSTR_OCP_WP1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0740)
  243. /* CM2.IVAHD_CM2 register offsets */
  244. #define OMAP4_CM_IVAHD_CLKSTCTRL_OFFSET 0x0000
  245. #define OMAP4430_CM_IVAHD_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_IVAHD_INST, 0x0000)
  246. #define OMAP4_CM_IVAHD_STATICDEP_OFFSET 0x0004
  247. #define OMAP4430_CM_IVAHD_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_IVAHD_INST, 0x0004)
  248. #define OMAP4_CM_IVAHD_DYNAMICDEP_OFFSET 0x0008
  249. #define OMAP4430_CM_IVAHD_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_IVAHD_INST, 0x0008)
  250. #define OMAP4_CM_IVAHD_IVAHD_CLKCTRL_OFFSET 0x0020
  251. #define OMAP4430_CM_IVAHD_IVAHD_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_IVAHD_INST, 0x0020)
  252. #define OMAP4_CM_IVAHD_SL2_CLKCTRL_OFFSET 0x0028
  253. #define OMAP4430_CM_IVAHD_SL2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_IVAHD_INST, 0x0028)
  254. /* CM2.CAM_CM2 register offsets */
  255. #define OMAP4_CM_CAM_CLKSTCTRL_OFFSET 0x0000
  256. #define OMAP4430_CM_CAM_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CAM_INST, 0x0000)
  257. #define OMAP4_CM_CAM_STATICDEP_OFFSET 0x0004
  258. #define OMAP4430_CM_CAM_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CAM_INST, 0x0004)
  259. #define OMAP4_CM_CAM_DYNAMICDEP_OFFSET 0x0008
  260. #define OMAP4430_CM_CAM_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CAM_INST, 0x0008)
  261. #define OMAP4_CM_CAM_ISS_CLKCTRL_OFFSET 0x0020
  262. #define OMAP4430_CM_CAM_ISS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CAM_INST, 0x0020)
  263. #define OMAP4_CM_CAM_FDIF_CLKCTRL_OFFSET 0x0028
  264. #define OMAP4430_CM_CAM_FDIF_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CAM_INST, 0x0028)
  265. /* CM2.DSS_CM2 register offsets */
  266. #define OMAP4_CM_DSS_CLKSTCTRL_OFFSET 0x0000
  267. #define OMAP4430_CM_DSS_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_DSS_INST, 0x0000)
  268. #define OMAP4_CM_DSS_STATICDEP_OFFSET 0x0004
  269. #define OMAP4430_CM_DSS_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_DSS_INST, 0x0004)
  270. #define OMAP4_CM_DSS_DYNAMICDEP_OFFSET 0x0008
  271. #define OMAP4430_CM_DSS_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_DSS_INST, 0x0008)
  272. #define OMAP4_CM_DSS_DSS_CLKCTRL_OFFSET 0x0020
  273. #define OMAP4430_CM_DSS_DSS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_DSS_INST, 0x0020)
  274. #define OMAP4_CM_DSS_DEISS_CLKCTRL_OFFSET 0x0028
  275. #define OMAP4430_CM_DSS_DEISS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_DSS_INST, 0x0028)
  276. /* CM2.GFX_CM2 register offsets */
  277. #define OMAP4_CM_GFX_CLKSTCTRL_OFFSET 0x0000
  278. #define OMAP4430_CM_GFX_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_GFX_INST, 0x0000)
  279. #define OMAP4_CM_GFX_STATICDEP_OFFSET 0x0004
  280. #define OMAP4430_CM_GFX_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_GFX_INST, 0x0004)
  281. #define OMAP4_CM_GFX_DYNAMICDEP_OFFSET 0x0008
  282. #define OMAP4430_CM_GFX_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_GFX_INST, 0x0008)
  283. #define OMAP4_CM_GFX_GFX_CLKCTRL_OFFSET 0x0020
  284. #define OMAP4430_CM_GFX_GFX_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_GFX_INST, 0x0020)
  285. /* CM2.L3INIT_CM2 register offsets */
  286. #define OMAP4_CM_L3INIT_CLKSTCTRL_OFFSET 0x0000
  287. #define OMAP4430_CM_L3INIT_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0000)
  288. #define OMAP4_CM_L3INIT_STATICDEP_OFFSET 0x0004
  289. #define OMAP4430_CM_L3INIT_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0004)
  290. #define OMAP4_CM_L3INIT_DYNAMICDEP_OFFSET 0x0008
  291. #define OMAP4430_CM_L3INIT_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0008)
  292. #define OMAP4_CM_L3INIT_MMC1_CLKCTRL_OFFSET 0x0028
  293. #define OMAP4430_CM_L3INIT_MMC1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0028)
  294. #define OMAP4_CM_L3INIT_MMC2_CLKCTRL_OFFSET 0x0030
  295. #define OMAP4430_CM_L3INIT_MMC2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0030)
  296. #define OMAP4_CM_L3INIT_HSI_CLKCTRL_OFFSET 0x0038
  297. #define OMAP4430_CM_L3INIT_HSI_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0038)
  298. #define OMAP4_CM_L3INIT_UNIPRO1_CLKCTRL_OFFSET 0x0040
  299. #define OMAP4430_CM_L3INIT_UNIPRO1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0040)
  300. #define OMAP4_CM_L3INIT_USB_HOST_CLKCTRL_OFFSET 0x0058
  301. #define OMAP4430_CM_L3INIT_USB_HOST_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0058)
  302. #define OMAP4_CM_L3INIT_USB_OTG_CLKCTRL_OFFSET 0x0060
  303. #define OMAP4430_CM_L3INIT_USB_OTG_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0060)
  304. #define OMAP4_CM_L3INIT_USB_TLL_CLKCTRL_OFFSET 0x0068
  305. #define OMAP4430_CM_L3INIT_USB_TLL_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0068)
  306. #define OMAP4_CM_L3INIT_P1500_CLKCTRL_OFFSET 0x0078
  307. #define OMAP4430_CM_L3INIT_P1500_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0078)
  308. #define OMAP4_CM_L3INIT_EMAC_CLKCTRL_OFFSET 0x0080
  309. #define OMAP4430_CM_L3INIT_EMAC_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0080)
  310. #define OMAP4_CM_L3INIT_SATA_CLKCTRL_OFFSET 0x0088
  311. #define OMAP4430_CM_L3INIT_SATA_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0088)
  312. #define OMAP4_CM_L3INIT_TPPSS_CLKCTRL_OFFSET 0x0090
  313. #define OMAP4430_CM_L3INIT_TPPSS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0090)
  314. #define OMAP4_CM_L3INIT_PCIESS_CLKCTRL_OFFSET 0x0098
  315. #define OMAP4430_CM_L3INIT_PCIESS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0098)
  316. #define OMAP4_CM_L3INIT_CCPTX_CLKCTRL_OFFSET 0x00a8
  317. #define OMAP4430_CM_L3INIT_CCPTX_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x00a8)
  318. #define OMAP4_CM_L3INIT_XHPI_CLKCTRL_OFFSET 0x00c0
  319. #define OMAP4430_CM_L3INIT_XHPI_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x00c0)
  320. #define OMAP4_CM_L3INIT_MMC6_CLKCTRL_OFFSET 0x00c8
  321. #define OMAP4430_CM_L3INIT_MMC6_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x00c8)
  322. #define OMAP4_CM_L3INIT_USB_HOST_FS_CLKCTRL_OFFSET 0x00d0
  323. #define OMAP4430_CM_L3INIT_USB_HOST_FS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x00d0)
  324. #define OMAP4_CM_L3INIT_USBPHYOCP2SCP_CLKCTRL_OFFSET 0x00e0
  325. #define OMAP4430_CM_L3INIT_USBPHYOCP2SCP_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x00e0)
  326. /* CM2.L4PER_CM2 register offsets */
  327. #define OMAP4_CM_L4PER_CLKSTCTRL_OFFSET 0x0000
  328. #define OMAP4430_CM_L4PER_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0000)
  329. #define OMAP4_CM_L4PER_DYNAMICDEP_OFFSET 0x0008
  330. #define OMAP4430_CM_L4PER_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0008)
  331. #define OMAP4_CM_L4PER_ADC_CLKCTRL_OFFSET 0x0020
  332. #define OMAP4430_CM_L4PER_ADC_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0020)
  333. #define OMAP4_CM_L4PER_DMTIMER10_CLKCTRL_OFFSET 0x0028
  334. #define OMAP4430_CM_L4PER_DMTIMER10_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0028)
  335. #define OMAP4_CM_L4PER_DMTIMER11_CLKCTRL_OFFSET 0x0030
  336. #define OMAP4430_CM_L4PER_DMTIMER11_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0030)
  337. #define OMAP4_CM_L4PER_DMTIMER2_CLKCTRL_OFFSET 0x0038
  338. #define OMAP4430_CM_L4PER_DMTIMER2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0038)
  339. #define OMAP4_CM_L4PER_DMTIMER3_CLKCTRL_OFFSET 0x0040
  340. #define OMAP4430_CM_L4PER_DMTIMER3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0040)
  341. #define OMAP4_CM_L4PER_DMTIMER4_CLKCTRL_OFFSET 0x0048
  342. #define OMAP4430_CM_L4PER_DMTIMER4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0048)
  343. #define OMAP4_CM_L4PER_DMTIMER9_CLKCTRL_OFFSET 0x0050
  344. #define OMAP4430_CM_L4PER_DMTIMER9_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0050)
  345. #define OMAP4_CM_L4PER_ELM_CLKCTRL_OFFSET 0x0058
  346. #define OMAP4430_CM_L4PER_ELM_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0058)
  347. #define OMAP4_CM_L4PER_GPIO2_CLKCTRL_OFFSET 0x0060
  348. #define OMAP4430_CM_L4PER_GPIO2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0060)
  349. #define OMAP4_CM_L4PER_GPIO3_CLKCTRL_OFFSET 0x0068
  350. #define OMAP4430_CM_L4PER_GPIO3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0068)
  351. #define OMAP4_CM_L4PER_GPIO4_CLKCTRL_OFFSET 0x0070
  352. #define OMAP4430_CM_L4PER_GPIO4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0070)
  353. #define OMAP4_CM_L4PER_GPIO5_CLKCTRL_OFFSET 0x0078
  354. #define OMAP4430_CM_L4PER_GPIO5_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0078)
  355. #define OMAP4_CM_L4PER_GPIO6_CLKCTRL_OFFSET 0x0080
  356. #define OMAP4430_CM_L4PER_GPIO6_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0080)
  357. #define OMAP4_CM_L4PER_HDQ1W_CLKCTRL_OFFSET 0x0088
  358. #define OMAP4430_CM_L4PER_HDQ1W_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0088)
  359. #define OMAP4_CM_L4PER_HECC1_CLKCTRL_OFFSET 0x0090
  360. #define OMAP4430_CM_L4PER_HECC1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0090)
  361. #define OMAP4_CM_L4PER_HECC2_CLKCTRL_OFFSET 0x0098
  362. #define OMAP4430_CM_L4PER_HECC2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0098)
  363. #define OMAP4_CM_L4PER_I2C1_CLKCTRL_OFFSET 0x00a0
  364. #define OMAP4430_CM_L4PER_I2C1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00a0)
  365. #define OMAP4_CM_L4PER_I2C2_CLKCTRL_OFFSET 0x00a8
  366. #define OMAP4430_CM_L4PER_I2C2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00a8)
  367. #define OMAP4_CM_L4PER_I2C3_CLKCTRL_OFFSET 0x00b0
  368. #define OMAP4430_CM_L4PER_I2C3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00b0)
  369. #define OMAP4_CM_L4PER_I2C4_CLKCTRL_OFFSET 0x00b8
  370. #define OMAP4430_CM_L4PER_I2C4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00b8)
  371. #define OMAP4_CM_L4PER_L4PER_CLKCTRL_OFFSET 0x00c0
  372. #define OMAP4430_CM_L4PER_L4PER_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00c0)
  373. #define OMAP4_CM_L4PER_MCASP2_CLKCTRL_OFFSET 0x00d0
  374. #define OMAP4430_CM_L4PER_MCASP2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00d0)
  375. #define OMAP4_CM_L4PER_MCASP3_CLKCTRL_OFFSET 0x00d8
  376. #define OMAP4430_CM_L4PER_MCASP3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00d8)
  377. #define OMAP4_CM_L4PER_MCBSP4_CLKCTRL_OFFSET 0x00e0
  378. #define OMAP4430_CM_L4PER_MCBSP4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00e0)
  379. #define OMAP4_CM_L4PER_MGATE_CLKCTRL_OFFSET 0x00e8
  380. #define OMAP4430_CM_L4PER_MGATE_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00e8)
  381. #define OMAP4_CM_L4PER_MCSPI1_CLKCTRL_OFFSET 0x00f0
  382. #define OMAP4430_CM_L4PER_MCSPI1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00f0)
  383. #define OMAP4_CM_L4PER_MCSPI2_CLKCTRL_OFFSET 0x00f8
  384. #define OMAP4430_CM_L4PER_MCSPI2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00f8)
  385. #define OMAP4_CM_L4PER_MCSPI3_CLKCTRL_OFFSET 0x0100
  386. #define OMAP4430_CM_L4PER_MCSPI3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0100)
  387. #define OMAP4_CM_L4PER_MCSPI4_CLKCTRL_OFFSET 0x0108
  388. #define OMAP4430_CM_L4PER_MCSPI4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0108)
  389. #define OMAP4_CM_L4PER_MMCSD3_CLKCTRL_OFFSET 0x0120
  390. #define OMAP4430_CM_L4PER_MMCSD3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0120)
  391. #define OMAP4_CM_L4PER_MMCSD4_CLKCTRL_OFFSET 0x0128
  392. #define OMAP4430_CM_L4PER_MMCSD4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0128)
  393. #define OMAP4_CM_L4PER_MSPROHG_CLKCTRL_OFFSET 0x0130
  394. #define OMAP4430_CM_L4PER_MSPROHG_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0130)
  395. #define OMAP4_CM_L4PER_SLIMBUS2_CLKCTRL_OFFSET 0x0138
  396. #define OMAP4430_CM_L4PER_SLIMBUS2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0138)
  397. #define OMAP4_CM_L4PER_UART1_CLKCTRL_OFFSET 0x0140
  398. #define OMAP4430_CM_L4PER_UART1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0140)
  399. #define OMAP4_CM_L4PER_UART2_CLKCTRL_OFFSET 0x0148
  400. #define OMAP4430_CM_L4PER_UART2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0148)
  401. #define OMAP4_CM_L4PER_UART3_CLKCTRL_OFFSET 0x0150
  402. #define OMAP4430_CM_L4PER_UART3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0150)
  403. #define OMAP4_CM_L4PER_UART4_CLKCTRL_OFFSET 0x0158
  404. #define OMAP4430_CM_L4PER_UART4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0158)
  405. #define OMAP4_CM_L4PER_MMCSD5_CLKCTRL_OFFSET 0x0160
  406. #define OMAP4430_CM_L4PER_MMCSD5_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0160)
  407. #define OMAP4_CM_L4PER_I2C5_CLKCTRL_OFFSET 0x0168
  408. #define OMAP4430_CM_L4PER_I2C5_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0168)
  409. #define OMAP4_CM_L4SEC_CLKSTCTRL_OFFSET 0x0180
  410. #define OMAP4430_CM_L4SEC_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0180)
  411. #define OMAP4_CM_L4SEC_STATICDEP_OFFSET 0x0184
  412. #define OMAP4430_CM_L4SEC_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0184)
  413. #define OMAP4_CM_L4SEC_DYNAMICDEP_OFFSET 0x0188
  414. #define OMAP4430_CM_L4SEC_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0188)
  415. #define OMAP4_CM_L4SEC_AES1_CLKCTRL_OFFSET 0x01a0
  416. #define OMAP4430_CM_L4SEC_AES1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x01a0)
  417. #define OMAP4_CM_L4SEC_AES2_CLKCTRL_OFFSET 0x01a8
  418. #define OMAP4430_CM_L4SEC_AES2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x01a8)
  419. #define OMAP4_CM_L4SEC_DES3DES_CLKCTRL_OFFSET 0x01b0
  420. #define OMAP4430_CM_L4SEC_DES3DES_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x01b0)
  421. #define OMAP4_CM_L4SEC_PKAEIP29_CLKCTRL_OFFSET 0x01b8
  422. #define OMAP4430_CM_L4SEC_PKAEIP29_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x01b8)
  423. #define OMAP4_CM_L4SEC_RNG_CLKCTRL_OFFSET 0x01c0
  424. #define OMAP4430_CM_L4SEC_RNG_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x01c0)
  425. #define OMAP4_CM_L4SEC_SHA2MD51_CLKCTRL_OFFSET 0x01c8
  426. #define OMAP4430_CM_L4SEC_SHA2MD51_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x01c8)
  427. #define OMAP4_CM_L4SEC_CRYPTODMA_CLKCTRL_OFFSET 0x01d8
  428. #define OMAP4430_CM_L4SEC_CRYPTODMA_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x01d8)
  429. /* CM2.CEFUSE_CM2 register offsets */
  430. #define OMAP4_CM_CEFUSE_CLKSTCTRL_OFFSET 0x0000
  431. #define OMAP4430_CM_CEFUSE_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CEFUSE_INST, 0x0000)
  432. #define OMAP4_CM_CEFUSE_CEFUSE_CLKCTRL_OFFSET 0x0020
  433. #define OMAP4430_CM_CEFUSE_CEFUSE_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CEFUSE_INST, 0x0020)
  434. #endif