PageRenderTime 51ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/arch/arm/include/asm/arch-mx5/imx-regs.h

https://bitbucket.org/bradfa/u-boot
C Header | 536 lines | 421 code | 49 blank | 66 comment | 1 complexity | a30d8d2c697152fb9a16e17b1a3951d2 MD5 | raw file
Possible License(s): AGPL-1.0
  1. /*
  2. * (C) Copyright 2009 Freescale Semiconductor, Inc.
  3. *
  4. * See file CREDITS for list of people who contributed to this
  5. * project.
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License as
  9. * published by the Free Software Foundation; either version 2 of
  10. * the License, or (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program; if not, write to the Free Software
  19. * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  20. * MA 02111-1307 USA
  21. */
  22. #ifndef __ASM_ARCH_MX5_IMX_REGS_H__
  23. #define __ASM_ARCH_MX5_IMX_REGS_H__
  24. #define ARCH_MXC
  25. #if defined(CONFIG_MX51)
  26. #define IRAM_BASE_ADDR 0x1FFE0000 /* internal ram */
  27. #define IPU_SOC_BASE_ADDR 0x40000000
  28. #define IPU_SOC_OFFSET 0x1E000000
  29. #define SPBA0_BASE_ADDR 0x70000000
  30. #define AIPS1_BASE_ADDR 0x73F00000
  31. #define AIPS2_BASE_ADDR 0x83F00000
  32. #define CSD0_BASE_ADDR 0x90000000
  33. #define CSD1_BASE_ADDR 0xA0000000
  34. #define NFC_BASE_ADDR_AXI 0xCFFF0000
  35. #define CS1_BASE_ADDR 0xB8000000
  36. #elif defined(CONFIG_MX53)
  37. #define IPU_SOC_BASE_ADDR 0x18000000
  38. #define IPU_SOC_OFFSET 0x06000000
  39. #define SPBA0_BASE_ADDR 0x50000000
  40. #define AIPS1_BASE_ADDR 0x53F00000
  41. #define AIPS2_BASE_ADDR 0x63F00000
  42. #define CSD0_BASE_ADDR 0x70000000
  43. #define CSD1_BASE_ADDR 0xB0000000
  44. #define NFC_BASE_ADDR_AXI 0xF7FF0000
  45. #define IRAM_BASE_ADDR 0xF8000000
  46. #define CS1_BASE_ADDR 0xF4000000
  47. #define SATA_BASE_ADDR 0x10000000
  48. #else
  49. #error "CPU_TYPE not defined"
  50. #endif
  51. #define IRAM_SIZE 0x00020000 /* 128 KB */
  52. /*
  53. * SPBA global module enabled #0
  54. */
  55. #define MMC_SDHC1_BASE_ADDR (SPBA0_BASE_ADDR + 0x00004000)
  56. #define MMC_SDHC2_BASE_ADDR (SPBA0_BASE_ADDR + 0x00008000)
  57. #define UART3_BASE (SPBA0_BASE_ADDR + 0x0000C000)
  58. #define CSPI1_BASE_ADDR (SPBA0_BASE_ADDR + 0x00010000)
  59. #define SSI2_BASE_ADDR (SPBA0_BASE_ADDR + 0x00014000)
  60. #define MMC_SDHC3_BASE_ADDR (SPBA0_BASE_ADDR + 0x00020000)
  61. #define MMC_SDHC4_BASE_ADDR (SPBA0_BASE_ADDR + 0x00024000)
  62. #define SPDIF_BASE_ADDR (SPBA0_BASE_ADDR + 0x00028000)
  63. #define ATA_DMA_BASE_ADDR (SPBA0_BASE_ADDR + 0x00030000)
  64. #define SLIM_DMA_BASE_ADDR (SPBA0_BASE_ADDR + 0x00034000)
  65. #define HSI2C_DMA_BASE_ADDR (SPBA0_BASE_ADDR + 0x00038000)
  66. #define SPBA_CTRL_BASE_ADDR (SPBA0_BASE_ADDR + 0x0003C000)
  67. /*
  68. * AIPS 1
  69. */
  70. #define OTG_BASE_ADDR (AIPS1_BASE_ADDR + 0x00080000)
  71. #define GPIO1_BASE_ADDR (AIPS1_BASE_ADDR + 0x00084000)
  72. #define GPIO2_BASE_ADDR (AIPS1_BASE_ADDR + 0x00088000)
  73. #define GPIO3_BASE_ADDR (AIPS1_BASE_ADDR + 0x0008C000)
  74. #define GPIO4_BASE_ADDR (AIPS1_BASE_ADDR + 0x00090000)
  75. #define KPP_BASE_ADDR (AIPS1_BASE_ADDR + 0x00094000)
  76. #define WDOG1_BASE_ADDR (AIPS1_BASE_ADDR + 0x00098000)
  77. #define WDOG2_BASE_ADDR (AIPS1_BASE_ADDR + 0x0009C000)
  78. #define GPT1_BASE_ADDR (AIPS1_BASE_ADDR + 0x000A0000)
  79. #define SRTC_BASE_ADDR (AIPS1_BASE_ADDR + 0x000A4000)
  80. #define IOMUXC_BASE_ADDR (AIPS1_BASE_ADDR + 0x000A8000)
  81. #define EPIT1_BASE_ADDR (AIPS1_BASE_ADDR + 0x000AC000)
  82. #define EPIT2_BASE_ADDR (AIPS1_BASE_ADDR + 0x000B0000)
  83. #define PWM1_BASE_ADDR (AIPS1_BASE_ADDR + 0x000B4000)
  84. #define PWM2_BASE_ADDR (AIPS1_BASE_ADDR + 0x000B8000)
  85. #define UART1_BASE (AIPS1_BASE_ADDR + 0x000BC000)
  86. #define UART2_BASE (AIPS1_BASE_ADDR + 0x000C0000)
  87. #define SRC_BASE_ADDR (AIPS1_BASE_ADDR + 0x000D0000)
  88. #define CCM_BASE_ADDR (AIPS1_BASE_ADDR + 0x000D4000)
  89. #define GPC_BASE_ADDR (AIPS1_BASE_ADDR + 0x000D8000)
  90. #if defined(CONFIG_MX53)
  91. #define GPIO5_BASE_ADDR (AIPS1_BASE_ADDR + 0x000DC000)
  92. #define GPIO6_BASE_ADDR (AIPS1_BASE_ADDR + 0x000E0000)
  93. #define GPIO7_BASE_ADDR (AIPS1_BASE_ADDR + 0x000E4000)
  94. #define I2C3_BASE_ADDR (AIPS1_BASE_ADDR + 0x000EC000)
  95. #define UART4_BASE_ADDR (AIPS1_BASE_ADDR + 0x000F0000)
  96. #endif
  97. /*
  98. * AIPS 2
  99. */
  100. #define PLL1_BASE_ADDR (AIPS2_BASE_ADDR + 0x00080000)
  101. #define PLL2_BASE_ADDR (AIPS2_BASE_ADDR + 0x00084000)
  102. #define PLL3_BASE_ADDR (AIPS2_BASE_ADDR + 0x00088000)
  103. #ifdef CONFIG_MX53
  104. #define PLL4_BASE_ADDR (AIPS2_BASE_ADDR + 0x0008c000)
  105. #endif
  106. #define AHBMAX_BASE_ADDR (AIPS2_BASE_ADDR + 0x00094000)
  107. #define IIM_BASE_ADDR (AIPS2_BASE_ADDR + 0x00098000)
  108. #define CSU_BASE_ADDR (AIPS2_BASE_ADDR + 0x0009C000)
  109. #define ARM_BASE_ADDR (AIPS2_BASE_ADDR + 0x000A0000)
  110. #define OWIRE_BASE_ADDR (AIPS2_BASE_ADDR + 0x000A4000)
  111. #define FIRI_BASE_ADDR (AIPS2_BASE_ADDR + 0x000A8000)
  112. #define CSPI2_BASE_ADDR (AIPS2_BASE_ADDR + 0x000AC000)
  113. #define SDMA_BASE_ADDR (AIPS2_BASE_ADDR + 0x000B0000)
  114. #define SCC_BASE_ADDR (AIPS2_BASE_ADDR + 0x000B4000)
  115. #define ROMCP_BASE_ADDR (AIPS2_BASE_ADDR + 0x000B8000)
  116. #define RTIC_BASE_ADDR (AIPS2_BASE_ADDR + 0x000BC000)
  117. #define CSPI3_BASE_ADDR (AIPS2_BASE_ADDR + 0x000C0000)
  118. #define I2C2_BASE_ADDR (AIPS2_BASE_ADDR + 0x000C4000)
  119. #define I2C1_BASE_ADDR (AIPS2_BASE_ADDR + 0x000C8000)
  120. #define SSI1_BASE_ADDR (AIPS2_BASE_ADDR + 0x000CC000)
  121. #define AUDMUX_BASE_ADDR (AIPS2_BASE_ADDR + 0x000D0000)
  122. #define M4IF_BASE_ADDR (AIPS2_BASE_ADDR + 0x000D8000)
  123. #define ESDCTL_BASE_ADDR (AIPS2_BASE_ADDR + 0x000D9000)
  124. #define WEIM_BASE_ADDR (AIPS2_BASE_ADDR + 0x000DA000)
  125. #define NFC_BASE_ADDR (AIPS2_BASE_ADDR + 0x000DB000)
  126. #define EMI_BASE_ADDR (AIPS2_BASE_ADDR + 0x000DBF00)
  127. #define MIPI_HSC_BASE_ADDR (AIPS2_BASE_ADDR + 0x000DC000)
  128. #define ATA_BASE_ADDR (AIPS2_BASE_ADDR + 0x000E0000)
  129. #define SIM_BASE_ADDR (AIPS2_BASE_ADDR + 0x000E4000)
  130. #define SSI3BASE_ADDR (AIPS2_BASE_ADDR + 0x000E8000)
  131. #define FEC_BASE_ADDR (AIPS2_BASE_ADDR + 0x000EC000)
  132. #define TVE_BASE_ADDR (AIPS2_BASE_ADDR + 0x000F0000)
  133. #define VPU_BASE_ADDR (AIPS2_BASE_ADDR + 0x000F4000)
  134. #define SAHARA_BASE_ADDR (AIPS2_BASE_ADDR + 0x000F8000)
  135. #if defined(CONFIG_MX53)
  136. #define UART5_BASE_ADDR (AIPS2_BASE_ADDR + 0x00090000)
  137. #endif
  138. /*
  139. * WEIM CSnGCR1
  140. */
  141. #define CSEN 1
  142. #define SWR (1 << 1)
  143. #define SRD (1 << 2)
  144. #define MUM (1 << 3)
  145. #define WFL (1 << 4)
  146. #define RFL (1 << 5)
  147. #define CRE (1 << 6)
  148. #define CREP (1 << 7)
  149. #define BL(x) (((x) & 0x7) << 8)
  150. #define WC (1 << 11)
  151. #define BCD(x) (((x) & 0x3) << 12)
  152. #define BCS(x) (((x) & 0x3) << 14)
  153. #define DSZ(x) (((x) & 0x7) << 16)
  154. #define SP (1 << 19)
  155. #define CSREC(x) (((x) & 0x7) << 20)
  156. #define AUS (1 << 23)
  157. #define GBC(x) (((x) & 0x7) << 24)
  158. #define WP (1 << 27)
  159. #define PSZ(x) (((x) & 0x0f << 28)
  160. /*
  161. * WEIM CSnGCR2
  162. */
  163. #define ADH(x) (((x) & 0x3))
  164. #define DAPS(x) (((x) & 0x0f << 4)
  165. #define DAE (1 << 8)
  166. #define DAP (1 << 9)
  167. #define MUX16_BYP (1 << 12)
  168. /*
  169. * WEIM CSnRCR1
  170. */
  171. #define RCSN(x) (((x) & 0x7))
  172. #define RCSA(x) (((x) & 0x7) << 4)
  173. #define OEN(x) (((x) & 0x7) << 8)
  174. #define OEA(x) (((x) & 0x7) << 12)
  175. #define RADVN(x) (((x) & 0x7) << 16)
  176. #define RAL (1 << 19)
  177. #define RADVA(x) (((x) & 0x7) << 20)
  178. #define RWSC(x) (((x) & 0x3f) << 24)
  179. /*
  180. * WEIM CSnRCR2
  181. */
  182. #define RBEN(x) (((x) & 0x7))
  183. #define RBE (1 << 3)
  184. #define RBEA(x) (((x) & 0x7) << 4)
  185. #define RL(x) (((x) & 0x3) << 8)
  186. #define PAT(x) (((x) & 0x7) << 12)
  187. #define APR (1 << 15)
  188. /*
  189. * WEIM CSnWCR1
  190. */
  191. #define WCSN(x) (((x) & 0x7))
  192. #define WCSA(x) (((x) & 0x7) << 3)
  193. #define WEN(x) (((x) & 0x7) << 6)
  194. #define WEA(x) (((x) & 0x7) << 9)
  195. #define WBEN(x) (((x) & 0x7) << 12)
  196. #define WBEA(x) (((x) & 0x7) << 15)
  197. #define WADVN(x) (((x) & 0x7) << 18)
  198. #define WADVA(x) (((x) & 0x7) << 21)
  199. #define WWSC(x) (((x) & 0x3f) << 24)
  200. #define WBED1 (1 << 30)
  201. #define WAL (1 << 31)
  202. /*
  203. * WEIM CSnWCR2
  204. */
  205. #define WBED 1
  206. /*
  207. * WEIM WCR
  208. */
  209. #define BCM 1
  210. #define GBCD(x) (((x) & 0x3) << 1)
  211. #define INTEN (1 << 4)
  212. #define INTPOL (1 << 5)
  213. #define WDOG_EN (1 << 8)
  214. #define WDOG_LIMIT(x) (((x) & 0x3) << 9)
  215. #define CS0_128 0
  216. #define CS0_64M_CS1_64M 1
  217. #define CS0_64M_CS1_32M_CS2_32M 2
  218. #define CS0_32M_CS1_32M_CS2_32M_CS3_32M 3
  219. /*
  220. * CSPI register definitions
  221. */
  222. #define MXC_ECSPI
  223. #define MXC_CSPICTRL_EN (1 << 0)
  224. #define MXC_CSPICTRL_MODE (1 << 1)
  225. #define MXC_CSPICTRL_XCH (1 << 2)
  226. #define MXC_CSPICTRL_CHIPSELECT(x) (((x) & 0x3) << 12)
  227. #define MXC_CSPICTRL_BITCOUNT(x) (((x) & 0xfff) << 20)
  228. #define MXC_CSPICTRL_PREDIV(x) (((x) & 0xF) << 12)
  229. #define MXC_CSPICTRL_POSTDIV(x) (((x) & 0xF) << 8)
  230. #define MXC_CSPICTRL_SELCHAN(x) (((x) & 0x3) << 18)
  231. #define MXC_CSPICTRL_MAXBITS 0xfff
  232. #define MXC_CSPICTRL_TC (1 << 7)
  233. #define MXC_CSPICTRL_RXOVF (1 << 6)
  234. #define MXC_CSPIPERIOD_32KHZ (1 << 15)
  235. #define MAX_SPI_BYTES 32
  236. /* Bit position inside CTRL register to be associated with SS */
  237. #define MXC_CSPICTRL_CHAN 18
  238. /* Bit position inside CON register to be associated with SS */
  239. #define MXC_CSPICON_POL 4
  240. #define MXC_CSPICON_PHA 0
  241. #define MXC_CSPICON_SSPOL 12
  242. #define MXC_SPI_BASE_ADDRESSES \
  243. CSPI1_BASE_ADDR, \
  244. CSPI2_BASE_ADDR, \
  245. CSPI3_BASE_ADDR,
  246. /*
  247. * Number of GPIO pins per port
  248. */
  249. #define GPIO_NUM_PIN 32
  250. #define IIM_SREV 0x24
  251. #define ROM_SI_REV 0x48
  252. #define NFC_BUF_SIZE 0x1000
  253. /* M4IF */
  254. #define M4IF_FBPM0 0x40
  255. #define M4IF_FIDBP 0x48
  256. /* Assuming 24MHz input clock with doubler ON */
  257. /* MFI PDF */
  258. #define DP_OP_864 ((8 << 4) + ((1 - 1) << 0))
  259. #define DP_MFD_864 (180 - 1) /* PL Dither mode */
  260. #define DP_MFN_864 180
  261. #define DP_MFN_800_DIT 60 /* PL Dither mode */
  262. #define DP_OP_850 ((8 << 4) + ((1 - 1) << 0))
  263. #define DP_MFD_850 (48 - 1)
  264. #define DP_MFN_850 41
  265. #define DP_OP_800 ((8 << 4) + ((1 - 1) << 0))
  266. #define DP_MFD_800 (3 - 1)
  267. #define DP_MFN_800 1
  268. #define DP_OP_700 ((7 << 4) + ((1 - 1) << 0))
  269. #define DP_MFD_700 (24 - 1)
  270. #define DP_MFN_700 7
  271. #define DP_OP_665 ((6 << 4) + ((1 - 1) << 0))
  272. #define DP_MFD_665 (96 - 1)
  273. #define DP_MFN_665 89
  274. #define DP_OP_532 ((5 << 4) + ((1 - 1) << 0))
  275. #define DP_MFD_532 (24 - 1)
  276. #define DP_MFN_532 13
  277. #define DP_OP_400 ((8 << 4) + ((2 - 1) << 0))
  278. #define DP_MFD_400 (3 - 1)
  279. #define DP_MFN_400 1
  280. #define DP_OP_455 ((9 << 4) + ((2 - 1) << 0))
  281. #define DP_MFD_455 (48 - 1)
  282. #define DP_MFN_455 23
  283. #define DP_OP_216 ((6 << 4) + ((3 - 1) << 0))
  284. #define DP_MFD_216 (4 - 1)
  285. #define DP_MFN_216 3
  286. #define CHIP_REV_1_0 0x10
  287. #define CHIP_REV_1_1 0x11
  288. #define CHIP_REV_2_0 0x20
  289. #define CHIP_REV_2_5 0x25
  290. #define CHIP_REV_3_0 0x30
  291. #define BOARD_REV_1_0 0x0
  292. #define BOARD_REV_2_0 0x1
  293. #define BOARD_VER_OFFSET 0x8
  294. #define IMX_IIM_BASE (IIM_BASE_ADDR)
  295. #if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
  296. #include <asm/types.h>
  297. #define __REG(x) (*((volatile u32 *)(x)))
  298. #define __REG16(x) (*((volatile u16 *)(x)))
  299. #define __REG8(x) (*((volatile u8 *)(x)))
  300. struct clkctl {
  301. u32 ccr;
  302. u32 ccdr;
  303. u32 csr;
  304. u32 ccsr;
  305. u32 cacrr;
  306. u32 cbcdr;
  307. u32 cbcmr;
  308. u32 cscmr1;
  309. u32 cscmr2;
  310. u32 cscdr1;
  311. u32 cs1cdr;
  312. u32 cs2cdr;
  313. u32 cdcdr;
  314. u32 chsccdr;
  315. u32 cscdr2;
  316. u32 cscdr3;
  317. u32 cscdr4;
  318. u32 cwdr;
  319. u32 cdhipr;
  320. u32 cdcr;
  321. u32 ctor;
  322. u32 clpcr;
  323. u32 cisr;
  324. u32 cimr;
  325. u32 ccosr;
  326. u32 cgpr;
  327. u32 ccgr0;
  328. u32 ccgr1;
  329. u32 ccgr2;
  330. u32 ccgr3;
  331. u32 ccgr4;
  332. u32 ccgr5;
  333. u32 ccgr6;
  334. #if defined(CONFIG_MX53)
  335. u32 ccgr7;
  336. #endif
  337. u32 cmeor;
  338. };
  339. /* DPLL registers */
  340. struct dpll {
  341. u32 dp_ctl;
  342. u32 dp_config;
  343. u32 dp_op;
  344. u32 dp_mfd;
  345. u32 dp_mfn;
  346. u32 dp_mfn_minus;
  347. u32 dp_mfn_plus;
  348. u32 dp_hfs_op;
  349. u32 dp_hfs_mfd;
  350. u32 dp_hfs_mfn;
  351. u32 dp_mfn_togc;
  352. u32 dp_destat;
  353. };
  354. /* WEIM registers */
  355. struct weim {
  356. u32 cs0gcr1;
  357. u32 cs0gcr2;
  358. u32 cs0rcr1;
  359. u32 cs0rcr2;
  360. u32 cs0wcr1;
  361. u32 cs0wcr2;
  362. u32 cs1gcr1;
  363. u32 cs1gcr2;
  364. u32 cs1rcr1;
  365. u32 cs1rcr2;
  366. u32 cs1wcr1;
  367. u32 cs1wcr2;
  368. u32 cs2gcr1;
  369. u32 cs2gcr2;
  370. u32 cs2rcr1;
  371. u32 cs2rcr2;
  372. u32 cs2wcr1;
  373. u32 cs2wcr2;
  374. u32 cs3gcr1;
  375. u32 cs3gcr2;
  376. u32 cs3rcr1;
  377. u32 cs3rcr2;
  378. u32 cs3wcr1;
  379. u32 cs3wcr2;
  380. u32 cs4gcr1;
  381. u32 cs4gcr2;
  382. u32 cs4rcr1;
  383. u32 cs4rcr2;
  384. u32 cs4wcr1;
  385. u32 cs4wcr2;
  386. u32 cs5gcr1;
  387. u32 cs5gcr2;
  388. u32 cs5rcr1;
  389. u32 cs5rcr2;
  390. u32 cs5wcr1;
  391. u32 cs5wcr2;
  392. u32 wcr;
  393. u32 wiar;
  394. u32 ear;
  395. };
  396. #if defined(CONFIG_MX51)
  397. struct iomuxc {
  398. u32 gpr0;
  399. u32 gpr1;
  400. u32 omux0;
  401. u32 omux1;
  402. u32 omux2;
  403. u32 omux3;
  404. u32 omux4;
  405. };
  406. #elif defined(CONFIG_MX53)
  407. struct iomuxc {
  408. u32 gpr0;
  409. u32 gpr1;
  410. u32 gpr2;
  411. u32 omux0;
  412. u32 omux1;
  413. u32 omux2;
  414. u32 omux3;
  415. u32 omux4;
  416. };
  417. #endif
  418. /* System Reset Controller (SRC) */
  419. struct src {
  420. u32 scr;
  421. u32 sbmr;
  422. u32 srsr;
  423. u32 reserved1[2];
  424. u32 sisr;
  425. u32 simr;
  426. };
  427. struct srtc_regs {
  428. u32 lpscmr; /* 0x00 */
  429. u32 lpsclr; /* 0x04 */
  430. u32 lpsar; /* 0x08 */
  431. u32 lpsmcr; /* 0x0c */
  432. u32 lpcr; /* 0x10 */
  433. u32 lpsr; /* 0x14 */
  434. u32 lppdr; /* 0x18 */
  435. u32 lpgr; /* 0x1c */
  436. u32 hpcmr; /* 0x20 */
  437. u32 hpclr; /* 0x24 */
  438. u32 hpamr; /* 0x28 */
  439. u32 hpalr; /* 0x2c */
  440. u32 hpcr; /* 0x30 */
  441. u32 hpisr; /* 0x34 */
  442. u32 hpienr; /* 0x38 */
  443. };
  444. /* CSPI registers */
  445. struct cspi_regs {
  446. u32 rxdata;
  447. u32 txdata;
  448. u32 ctrl;
  449. u32 cfg;
  450. u32 intr;
  451. u32 dma;
  452. u32 stat;
  453. u32 period;
  454. };
  455. struct iim_regs {
  456. u32 stat;
  457. u32 statm;
  458. u32 err;
  459. u32 emask;
  460. u32 fctl;
  461. u32 ua;
  462. u32 la;
  463. u32 sdat;
  464. u32 prev;
  465. u32 srev;
  466. u32 preg_p;
  467. u32 scs0;
  468. u32 scs1;
  469. u32 scs2;
  470. u32 scs3;
  471. u32 res0[0x1f1];
  472. struct fuse_bank {
  473. u32 fuse_regs[0x20];
  474. u32 fuse_rsvd[0xe0];
  475. } bank[4];
  476. };
  477. struct fuse_bank0_regs {
  478. u32 fuse0_23[24];
  479. u32 gp[8];
  480. };
  481. struct fuse_bank1_regs {
  482. u32 fuse0_8[9];
  483. u32 mac_addr[6];
  484. u32 fuse15_31[0x11];
  485. };
  486. #endif /* __ASSEMBLER__*/
  487. #endif /* __ASM_ARCH_MX5_IMX_REGS_H__ */