reg_ebi.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2008 Stefan Roese <sr@denx.de>, DENX Software Engineering
  4. *
  5. * Copyright (C) 2006 Micronas GmbH
  6. */
  7. #ifndef _REG_EBI_PREMIUM_H_
  8. #define _REG_EBI_PREMIUM_H_
  9. #define EBI_BASE 0x00000000
  10. /* Relative offsets of the register adresses */
  11. #define EBI_CPU_IO_ACCS_OFFS 0x00000000
  12. #define EBI_CPU_IO_ACCS(base) ((base) + EBI_CPU_IO_ACCS_OFFS)
  13. #define EBI_IO_ACCS_DATA_OFFS 0x00000004
  14. #define EBI_IO_ACCS_DATA(base) ((base) + EBI_IO_ACCS_DATA_OFFS)
  15. #define EBI_CPU_IO_ACCS2_OFFS 0x00000008
  16. #define EBI_CPU_IO_ACCS2(base) ((base) + EBI_CPU_IO_ACCS2_OFFS)
  17. #define EBI_IO_ACCS2_DATA_OFFS 0x0000000C
  18. #define EBI_IO_ACCS2_DATA(base) ((base) + EBI_IO_ACCS2_DATA_OFFS)
  19. #define EBI_CTRL_OFFS 0x00000010
  20. #define EBI_CTRL(base) ((base) + EBI_CTRL_OFFS)
  21. #define EBI_IRQ_MASK_OFFS 0x00000018
  22. #define EBI_IRQ_MASK(base) ((base) + EBI_IRQ_MASK_OFFS)
  23. #define EBI_IRQ_MASK2_OFFS 0x0000001C
  24. #define EBI_IRQ_MASK2(base) ((base) + EBI_IRQ_MASK2_OFFS)
  25. #define EBI_TAG1_SYS_ID_OFFS 0x00000030
  26. #define EBI_TAG1_SYS_ID(base) ((base) + EBI_TAG1_SYS_ID_OFFS)
  27. #define EBI_TAG2_SYS_ID_OFFS 0x00000040
  28. #define EBI_TAG2_SYS_ID(base) ((base) + EBI_TAG2_SYS_ID_OFFS)
  29. #define EBI_TAG3_SYS_ID_OFFS 0x00000050
  30. #define EBI_TAG3_SYS_ID(base) ((base) + EBI_TAG3_SYS_ID_OFFS)
  31. #define EBI_TAG4_SYS_ID_OFFS 0x00000060
  32. #define EBI_TAG4_SYS_ID(base) ((base) + EBI_TAG4_SYS_ID_OFFS)
  33. #define EBI_GEN_DMA_CTRL_OFFS 0x00000070
  34. #define EBI_GEN_DMA_CTRL(base) ((base) + EBI_GEN_DMA_CTRL_OFFS)
  35. #define EBI_STATUS_OFFS 0x00000080
  36. #define EBI_STATUS(base) ((base) + EBI_STATUS_OFFS)
  37. #define EBI_STATUS_DMA_CNT_OFFS 0x00000084
  38. #define EBI_STATUS_DMA_CNT(base) ((base) + EBI_STATUS_DMA_CNT_OFFS)
  39. #define EBI_SIG_LEVEL_OFFS 0x00000088
  40. #define EBI_SIG_LEVEL(base) ((base) + EBI_SIG_LEVEL_OFFS)
  41. #define EBI_CTRL_SIG_ACTLV_OFFS 0x0000008C
  42. #define EBI_CTRL_SIG_ACTLV(base) ((base) + EBI_CTRL_SIG_ACTLV_OFFS)
  43. #define EBI_CRC_GEN_OFFS 0x00000090
  44. #define EBI_CRC_GEN(base) ((base) + EBI_CRC_GEN_OFFS)
  45. #define EBI_EXT_ADDR_OFFS 0x000000A0
  46. #define EBI_EXT_ADDR(base) ((base) + EBI_EXT_ADDR_OFFS)
  47. #define EBI_IRQ_STATUS_OFFS 0x000000B0
  48. #define EBI_IRQ_STATUS(base) ((base) + EBI_IRQ_STATUS_OFFS)
  49. #define EBI_IRQ_STATUS2_OFFS 0x000000B4
  50. #define EBI_IRQ_STATUS2(base) ((base) + EBI_IRQ_STATUS2_OFFS)
  51. #define EBI_EXT_MASTER_SRAM_HIGH_OFFS 0x000000C0
  52. #define EBI_EXT_MASTER_SRAM_HIGH(base) ((base) + EBI_EXT_MASTER_SRAM_HIGH_OFFS)
  53. #define EBI_EXT_MASTER_SRAM_LOW_OFFS 0x000000C4
  54. #define EBI_EXT_MASTER_SRAM_LOW(base) ((base) + EBI_EXT_MASTER_SRAM_LOW_OFFS)
  55. #define EBI_ECC0_OFFS 0x000000D0
  56. #define EBI_ECC0(base) ((base) + EBI_ECC0_OFFS)
  57. #define EBI_ECC1_OFFS 0x000000D4
  58. #define EBI_ECC1(base) ((base) + EBI_ECC1_OFFS)
  59. #define EBI_ECC2_OFFS 0x000000D8
  60. #define EBI_ECC2(base) ((base) + EBI_ECC2_OFFS)
  61. #define EBI_ECC3_OFFS 0x000000DC
  62. #define EBI_ECC3(base) ((base) + EBI_ECC3_OFFS)
  63. #define EBI_DEV1_DMA_EXT_ADDR_OFFS 0x00000100
  64. #define EBI_DEV1_DMA_EXT_ADDR(base) ((base) + EBI_DEV1_DMA_EXT_ADDR_OFFS)
  65. #define EBI_DEV1_EXT_ACC_OFFS 0x00000104
  66. #define EBI_DEV1_EXT_ACC(base) ((base) + EBI_DEV1_EXT_ACC_OFFS)
  67. #define EBI_DEV1_CONFIG1_OFFS 0x00000108
  68. #define EBI_DEV1_CONFIG1(base) ((base) + EBI_DEV1_CONFIG1_OFFS)
  69. #define EBI_DEV1_CONFIG2_OFFS 0x0000010C
  70. #define EBI_DEV1_CONFIG2(base) ((base) + EBI_DEV1_CONFIG2_OFFS)
  71. #define EBI_DEV1_FIFO_CONFIG_OFFS 0x00000110
  72. #define EBI_DEV1_FIFO_CONFIG(base) ((base) + EBI_DEV1_FIFO_CONFIG_OFFS)
  73. #define EBI_DEV1_FLASH_CONF_ST_OFFS 0x00000114
  74. #define EBI_DEV1_FLASH_CONF_ST(base) ((base) + EBI_DEV1_FLASH_CONF_ST_OFFS)
  75. #define EBI_DEV1_DMA_CONFIG1_OFFS 0x00000118
  76. #define EBI_DEV1_DMA_CONFIG1(base) ((base) + EBI_DEV1_DMA_CONFIG1_OFFS)
  77. #define EBI_DEV1_DMA_CONFIG2_OFFS 0x0000011C
  78. #define EBI_DEV1_DMA_CONFIG2(base) ((base) + EBI_DEV1_DMA_CONFIG2_OFFS)
  79. #define EBI_DEV1_DMA_ECC_CTRL_OFFS 0x00000120
  80. #define EBI_DEV1_DMA_ECC_CTRL(base) ((base) + EBI_DEV1_DMA_ECC_CTRL_OFFS)
  81. #define EBI_DEV1_TIM1_RD1_OFFS 0x00000124
  82. #define EBI_DEV1_TIM1_RD1(base) ((base) + EBI_DEV1_TIM1_RD1_OFFS)
  83. #define EBI_DEV1_TIM1_RD2_OFFS 0x00000128
  84. #define EBI_DEV1_TIM1_RD2(base) ((base) + EBI_DEV1_TIM1_RD2_OFFS)
  85. #define EBI_DEV1_TIM1_WR1_OFFS 0x0000012C
  86. #define EBI_DEV1_TIM1_WR1(base) ((base) + EBI_DEV1_TIM1_WR1_OFFS)
  87. #define EBI_DEV1_TIM1_WR2_OFFS 0x00000130
  88. #define EBI_DEV1_TIM1_WR2(base) ((base) + EBI_DEV1_TIM1_WR2_OFFS)
  89. #define EBI_DEV1_TIM_EXT_OFFS 0x00000134
  90. #define EBI_DEV1_TIM_EXT(base) ((base) + EBI_DEV1_TIM_EXT_OFFS)
  91. #define EBI_DEV1_TIM2_CFI_RD1_OFFS 0x00000138
  92. #define EBI_DEV1_TIM2_CFI_RD1(base) ((base) + EBI_DEV1_TIM2_CFI_RD1_OFFS)
  93. #define EBI_DEV1_TIM2_CFI_RD2_OFFS 0x0000013C
  94. #define EBI_DEV1_TIM2_CFI_RD2(base) ((base) + EBI_DEV1_TIM2_CFI_RD2_OFFS)
  95. #define EBI_DEV1_TIM3_DMA1_OFFS 0x00000140
  96. #define EBI_DEV1_TIM3_DMA1(base) ((base) + EBI_DEV1_TIM3_DMA1_OFFS)
  97. #define EBI_DEV1_TIM3_DMA2_OFFS 0x00000144
  98. #define EBI_DEV1_TIM3_DMA2(base) ((base) + EBI_DEV1_TIM3_DMA2_OFFS)
  99. #define EBI_DEV1_TIM4_UDMA1_OFFS 0x00000148
  100. #define EBI_DEV1_TIM4_UDMA1(base) ((base) + EBI_DEV1_TIM4_UDMA1_OFFS)
  101. #define EBI_DEV1_TIM4_UDMA2_OFFS 0x0000014C
  102. #define EBI_DEV1_TIM4_UDMA2(base) ((base) + EBI_DEV1_TIM4_UDMA2_OFFS)
  103. #define EBI_DEV1_ACK_RM_CNT_OFFS 0x00000150
  104. #define EBI_DEV1_ACK_RM_CNT(base) ((base) + EBI_DEV1_ACK_RM_CNT_OFFS)
  105. #define EBI_DEV2_DMA_EXT_ADDR_OFFS 0x00000200
  106. #define EBI_DEV2_DMA_EXT_ADDR(base) ((base) + EBI_DEV2_DMA_EXT_ADDR_OFFS)
  107. #define EBI_DEV2_EXT_ACC_OFFS 0x00000204
  108. #define EBI_DEV2_EXT_ACC(base) ((base) + EBI_DEV2_EXT_ACC_OFFS)
  109. #define EBI_DEV2_CONFIG1_OFFS 0x00000208
  110. #define EBI_DEV2_CONFIG1(base) ((base) + EBI_DEV2_CONFIG1_OFFS)
  111. #define EBI_DEV2_CONFIG2_OFFS 0x0000020C
  112. #define EBI_DEV2_CONFIG2(base) ((base) + EBI_DEV2_CONFIG2_OFFS)
  113. #define EBI_DEV2_FIFO_CONFIG_OFFS 0x00000210
  114. #define EBI_DEV2_FIFO_CONFIG(base) ((base) + EBI_DEV2_FIFO_CONFIG_OFFS)
  115. #define EBI_DEV2_FLASH_CONF_ST_OFFS 0x00000214
  116. #define EBI_DEV2_FLASH_CONF_ST(base) ((base) + EBI_DEV2_FLASH_CONF_ST_OFFS)
  117. #define EBI_DEV2_DMA_CONFIG1_OFFS 0x00000218
  118. #define EBI_DEV2_DMA_CONFIG1(base) ((base) + EBI_DEV2_DMA_CONFIG1_OFFS)
  119. #define EBI_DEV2_DMA_CONFIG2_OFFS 0x0000021C
  120. #define EBI_DEV2_DMA_CONFIG2(base) ((base) + EBI_DEV2_DMA_CONFIG2_OFFS)
  121. #define EBI_DEV2_DMA_ECC_CTRL_OFFS 0x00000220
  122. #define EBI_DEV2_DMA_ECC_CTRL(base) ((base) + EBI_DEV2_DMA_ECC_CTRL_OFFS)
  123. #define EBI_DEV2_TIM1_RD1_OFFS 0x00000224
  124. #define EBI_DEV2_TIM1_RD1(base) ((base) + EBI_DEV2_TIM1_RD1_OFFS)
  125. #define EBI_DEV2_TIM1_RD2_OFFS 0x00000228
  126. #define EBI_DEV2_TIM1_RD2(base) ((base) + EBI_DEV2_TIM1_RD2_OFFS)
  127. #define EBI_DEV2_TIM1_WR1_OFFS 0x0000022C
  128. #define EBI_DEV2_TIM1_WR1(base) ((base) + EBI_DEV2_TIM1_WR1_OFFS)
  129. #define EBI_DEV2_TIM1_WR2_OFFS 0x00000230
  130. #define EBI_DEV2_TIM1_WR2(base) ((base) + EBI_DEV2_TIM1_WR2_OFFS)
  131. #define EBI_DEV2_TIM_EXT_OFFS 0x00000234
  132. #define EBI_DEV2_TIM_EXT(base) ((base) + EBI_DEV2_TIM_EXT_OFFS)
  133. #define EBI_DEV2_TIM2_CFI_RD1_OFFS 0x00000238
  134. #define EBI_DEV2_TIM2_CFI_RD1(base) ((base) + EBI_DEV2_TIM2_CFI_RD1_OFFS)
  135. #define EBI_DEV2_TIM2_CFI_RD2_OFFS 0x0000023C
  136. #define EBI_DEV2_TIM2_CFI_RD2(base) ((base) + EBI_DEV2_TIM2_CFI_RD2_OFFS)
  137. #define EBI_DEV2_TIM3_DMA1_OFFS 0x00000240
  138. #define EBI_DEV2_TIM3_DMA1(base) ((base) + EBI_DEV2_TIM3_DMA1_OFFS)
  139. #define EBI_DEV2_TIM3_DMA2_OFFS 0x00000244
  140. #define EBI_DEV2_TIM3_DMA2(base) ((base) + EBI_DEV2_TIM3_DMA2_OFFS)
  141. #define EBI_DEV2_TIM4_UDMA1_OFFS 0x00000248
  142. #define EBI_DEV2_TIM4_UDMA1(base) ((base) + EBI_DEV2_TIM4_UDMA1_OFFS)
  143. #define EBI_DEV2_TIM4_UDMA2_OFFS 0x0000024C
  144. #define EBI_DEV2_TIM4_UDMA2(base) ((base) + EBI_DEV2_TIM4_UDMA2_OFFS)
  145. #define EBI_DEV2_ACK_RM_CNT_OFFS 0x00000250
  146. #define EBI_DEV2_ACK_RM_CNT(base) ((base) + EBI_DEV2_ACK_RM_CNT_OFFS)
  147. #define EBI_DEV3_DMA_EXT_ADDR_OFFS 0x00000300
  148. #define EBI_DEV3_DMA_EXT_ADDR(base) ((base) + EBI_DEV3_DMA_EXT_ADDR_OFFS)
  149. #define EBI_DEV3_EXT_ACC_OFFS 0x00000304
  150. #define EBI_DEV3_EXT_ACC(base) ((base) + EBI_DEV3_EXT_ACC_OFFS)
  151. #define EBI_DEV3_CONFIG1_OFFS 0x00000308
  152. #define EBI_DEV3_CONFIG1(base) ((base) + EBI_DEV3_CONFIG1_OFFS)
  153. #define EBI_DEV3_CONFIG2_OFFS 0x0000030C
  154. #define EBI_DEV3_CONFIG2(base) ((base) + EBI_DEV3_CONFIG2_OFFS)
  155. #define EBI_DEV3_FIFO_CONFIG_OFFS 0x00000310
  156. #define EBI_DEV3_FIFO_CONFIG(base) ((base) + EBI_DEV3_FIFO_CONFIG_OFFS)
  157. #define EBI_DEV3_FLASH_CONF_ST_OFFS 0x00000314
  158. #define EBI_DEV3_FLASH_CONF_ST(base) ((base) + EBI_DEV3_FLASH_CONF_ST_OFFS)
  159. #define EBI_DEV3_DMA_CONFIG1_OFFS 0x00000318
  160. #define EBI_DEV3_DMA_CONFIG1(base) ((base) + EBI_DEV3_DMA_CONFIG1_OFFS)
  161. #define EBI_DEV3_DMA_CONFIG2_OFFS 0x0000031C
  162. #define EBI_DEV3_DMA_CONFIG2(base) ((base) + EBI_DEV3_DMA_CONFIG2_OFFS)
  163. #define EBI_DEV3_DMA_ECC_CTRL_OFFS 0x00000320
  164. #define EBI_DEV3_DMA_ECC_CTRL(base) ((base) + EBI_DEV3_DMA_ECC_CTRL_OFFS)
  165. #define EBI_DEV3_TIM1_RD1_OFFS 0x00000324
  166. #define EBI_DEV3_TIM1_RD1(base) ((base) + EBI_DEV3_TIM1_RD1_OFFS)
  167. #define EBI_DEV3_TIM1_RD2_OFFS 0x00000328
  168. #define EBI_DEV3_TIM1_RD2(base) ((base) + EBI_DEV3_TIM1_RD2_OFFS)
  169. #define EBI_DEV3_TIM1_WR1_OFFS 0x0000032C
  170. #define EBI_DEV3_TIM1_WR1(base) ((base) + EBI_DEV3_TIM1_WR1_OFFS)
  171. #define EBI_DEV3_TIM1_WR2_OFFS 0x00000330
  172. #define EBI_DEV3_TIM1_WR2(base) ((base) + EBI_DEV3_TIM1_WR2_OFFS)
  173. #define EBI_DEV3_TIM_EXT_OFFS 0x00000334
  174. #define EBI_DEV3_TIM_EXT(base) ((base) + EBI_DEV3_TIM_EXT_OFFS)
  175. #define EBI_DEV3_TIM2_CFI_RD1_OFFS 0x00000338
  176. #define EBI_DEV3_TIM2_CFI_RD1(base) ((base) + EBI_DEV3_TIM2_CFI_RD1_OFFS)
  177. #define EBI_DEV3_TIM2_CFI_RD2_OFFS 0x0000033C
  178. #define EBI_DEV3_TIM2_CFI_RD2(base) ((base) + EBI_DEV3_TIM2_CFI_RD2_OFFS)
  179. #define EBI_DEV3_TIM3_DMA1_OFFS 0x00000340
  180. #define EBI_DEV3_TIM3_DMA1(base) ((base) + EBI_DEV3_TIM3_DMA1_OFFS)
  181. #define EBI_DEV3_TIM3_DMA2_OFFS 0x00000344
  182. #define EBI_DEV3_TIM3_DMA2(base) ((base) + EBI_DEV3_TIM3_DMA2_OFFS)
  183. #define EBI_DEV3_TIM4_UDMA1_OFFS 0x00000348
  184. #define EBI_DEV3_TIM4_UDMA1(base) ((base) + EBI_DEV3_TIM4_UDMA1_OFFS)
  185. #define EBI_DEV3_TIM4_UDMA2_OFFS 0x0000034C
  186. #define EBI_DEV3_TIM4_UDMA2(base) ((base) + EBI_DEV3_TIM4_UDMA2_OFFS)
  187. #define EBI_DEV3_ACK_RM_CNT_OFFS 0x00000350
  188. #define EBI_DEV3_ACK_RM_CNT(base) ((base) + EBI_DEV3_ACK_RM_CNT_OFFS)
  189. #define EBI_DEV4_DMA_EXT_ADDR_OFFS 0x00000400
  190. #define EBI_DEV4_DMA_EXT_ADDR(base) ((base) + EBI_DEV4_DMA_EXT_ADDR_OFFS)
  191. #define EBI_DEV4_EXT_ACC_OFFS 0x00000404
  192. #define EBI_DEV4_EXT_ACC(base) ((base) + EBI_DEV4_EXT_ACC_OFFS)
  193. #define EBI_DEV4_CONFIG1_OFFS 0x00000408
  194. #define EBI_DEV4_CONFIG1(base) ((base) + EBI_DEV4_CONFIG1_OFFS)
  195. #define EBI_DEV4_CONFIG2_OFFS 0x0000040C
  196. #define EBI_DEV4_CONFIG2(base) ((base) + EBI_DEV4_CONFIG2_OFFS)
  197. #define EBI_DEV4_FIFO_CONFIG_OFFS 0x00000410
  198. #define EBI_DEV4_FIFO_CONFIG(base) ((base) + EBI_DEV4_FIFO_CONFIG_OFFS)
  199. #define EBI_DEV4_FLASH_CONF_ST_OFFS 0x00000414
  200. #define EBI_DEV4_FLASH_CONF_ST(base) ((base) + EBI_DEV4_FLASH_CONF_ST_OFFS)
  201. #define EBI_DEV4_DMA_CONFIG1_OFFS 0x00000418
  202. #define EBI_DEV4_DMA_CONFIG1(base) ((base) + EBI_DEV4_DMA_CONFIG1_OFFS)
  203. #define EBI_DEV4_DMA_CONFIG2_OFFS 0x0000041C
  204. #define EBI_DEV4_DMA_CONFIG2(base) ((base) + EBI_DEV4_DMA_CONFIG2_OFFS)
  205. #define EBI_DEV4_DMA_ECC_CTRL_OFFS 0x00000420
  206. #define EBI_DEV4_DMA_ECC_CTRL(base) ((base) + EBI_DEV4_DMA_ECC_CTRL_OFFS)
  207. #define EBI_DEV4_TIM1_RD1_OFFS 0x00000424
  208. #define EBI_DEV4_TIM1_RD1(base) ((base) + EBI_DEV4_TIM1_RD1_OFFS)
  209. #define EBI_DEV4_TIM1_RD2_OFFS 0x00000428
  210. #define EBI_DEV4_TIM1_RD2(base) ((base) + EBI_DEV4_TIM1_RD2_OFFS)
  211. #define EBI_DEV4_TIM1_WR1_OFFS 0x0000042C
  212. #define EBI_DEV4_TIM1_WR1(base) ((base) + EBI_DEV4_TIM1_WR1_OFFS)
  213. #define EBI_DEV4_TIM1_WR2_OFFS 0x00000430
  214. #define EBI_DEV4_TIM1_WR2(base) ((base) + EBI_DEV4_TIM1_WR2_OFFS)
  215. #define EBI_DEV4_TIM_EXT_OFFS 0x00000434
  216. #define EBI_DEV4_TIM_EXT(base) ((base) + EBI_DEV4_TIM_EXT_OFFS)
  217. #define EBI_DEV4_TIM2_CFI_RD1_OFFS 0x00000438
  218. #define EBI_DEV4_TIM2_CFI_RD1(base) ((base) + EBI_DEV4_TIM2_CFI_RD1_OFFS)
  219. #define EBI_DEV4_TIM2_CFI_RD2_OFFS 0x0000043C
  220. #define EBI_DEV4_TIM2_CFI_RD2(base) ((base) + EBI_DEV4_TIM2_CFI_RD2_OFFS)
  221. #define EBI_DEV4_TIM3_DMA1_OFFS 0x00000440
  222. #define EBI_DEV4_TIM3_DMA1(base) ((base) + EBI_DEV4_TIM3_DMA1_OFFS)
  223. #define EBI_DEV4_TIM3_DMA2_OFFS 0x00000444
  224. #define EBI_DEV4_TIM3_DMA2(base) ((base) + EBI_DEV4_TIM3_DMA2_OFFS)
  225. #define EBI_DEV4_TIM4_UDMA1_OFFS 0x00000448
  226. #define EBI_DEV4_TIM4_UDMA1(base) ((base) + EBI_DEV4_TIM4_UDMA1_OFFS)
  227. #define EBI_DEV4_TIM4_UDMA2_OFFS 0x0000044C
  228. #define EBI_DEV4_TIM4_UDMA2(base) ((base) + EBI_DEV4_TIM4_UDMA2_OFFS)
  229. #define EBI_DEV4_ACK_RM_CNT_OFFS 0x00000450
  230. #define EBI_DEV4_ACK_RM_CNT(base) ((base) + EBI_DEV4_ACK_RM_CNT_OFFS)
  231. #define EBI_INTERLEAVE_CNT_OFFS 0x00000900
  232. #define EBI_INTERLEAVE_CNT(base) ((base) + EBI_INTERLEAVE_CNT_OFFS)
  233. #define EBI_CNT_FL_PROGR_OFFS 0x00000904
  234. #define EBI_CNT_FL_PROGR(base) ((base) + EBI_CNT_FL_PROGR_OFFS)
  235. #define EBI_CNT_EXT_PAGE_SZ_OFFS 0x0000090C
  236. #define EBI_CNT_EXT_PAGE_SZ(base) ((base) + EBI_CNT_EXT_PAGE_SZ_OFFS)
  237. #define EBI_CNT_WAIT_RDY_OFFS 0x00000914
  238. #define EBI_CNT_WAIT_RDY(base) ((base) + EBI_CNT_WAIT_RDY_OFFS)
  239. #define EBI_CNT_ACK_OFFS 0x00000918
  240. #define EBI_CNT_ACK(base) ((base) + EBI_CNT_ACK_OFFS)
  241. #define EBI_GENIO1_CONFIG1_OFFS 0x00000A00
  242. #define EBI_GENIO1_CONFIG1(base) ((base) + EBI_GENIO1_CONFIG1_OFFS)
  243. #define EBI_GENIO1_CONFIG2_OFFS 0x00000A04
  244. #define EBI_GENIO1_CONFIG2(base) ((base) + EBI_GENIO1_CONFIG2_OFFS)
  245. #define EBI_GENIO1_CONFIG3_OFFS 0x00000A08
  246. #define EBI_GENIO1_CONFIG3(base) ((base) + EBI_GENIO1_CONFIG3_OFFS)
  247. #define EBI_GENIO2_CONFIG1_OFFS 0x00000A10
  248. #define EBI_GENIO2_CONFIG1(base) ((base) + EBI_GENIO2_CONFIG1_OFFS)
  249. #define EBI_GENIO2_CONFIG2_OFFS 0x00000A14
  250. #define EBI_GENIO2_CONFIG2(base) ((base) + EBI_GENIO2_CONFIG2_OFFS)
  251. #define EBI_GENIO2_CONFIG3_OFFS 0x00000A18
  252. #define EBI_GENIO2_CONFIG3(base) ((base) + EBI_GENIO2_CONFIG3_OFFS)
  253. #define EBI_GENIO3_CONFIG1_OFFS 0x00000A20
  254. #define EBI_GENIO3_CONFIG1(base) ((base) + EBI_GENIO3_CONFIG1_OFFS)
  255. #define EBI_GENIO3_CONFIG2_OFFS 0x00000A24
  256. #define EBI_GENIO3_CONFIG2(base) ((base) + EBI_GENIO3_CONFIG2_OFFS)
  257. #define EBI_GENIO3_CONFIG3_OFFS 0x00000A28
  258. #define EBI_GENIO3_CONFIG3(base) ((base) + EBI_GENIO3_CONFIG3_OFFS)
  259. #define EBI_GENIO4_CONFIG1_OFFS 0x00000A30
  260. #define EBI_GENIO4_CONFIG1(base) ((base) + EBI_GENIO4_CONFIG1_OFFS)
  261. #define EBI_GENIO4_CONFIG2_OFFS 0x00000A34
  262. #define EBI_GENIO4_CONFIG2(base) ((base) + EBI_GENIO4_CONFIG2_OFFS)
  263. #define EBI_GENIO4_CONFIG3_OFFS 0x00000A38
  264. #define EBI_GENIO4_CONFIG3(base) ((base) + EBI_GENIO4_CONFIG3_OFFS)
  265. #define EBI_GENIO5_CONFIG1_OFFS 0x00000A40
  266. #define EBI_GENIO5_CONFIG1(base) ((base) + EBI_GENIO5_CONFIG1_OFFS)
  267. #define EBI_GENIO5_CONFIG2_OFFS 0x00000A44
  268. #define EBI_GENIO5_CONFIG2(base) ((base) + EBI_GENIO5_CONFIG2_OFFS)
  269. #define EBI_GENIO5_CONFIG3_OFFS 0x00000A48
  270. #define EBI_GENIO5_CONFIG3(base) ((base) + EBI_GENIO5_CONFIG3_OFFS)
  271. #endif