summaryrefslogtreecommitdiff
path: root/include/asm-ppc/immap_512x.h
diff options
context:
space:
mode:
authorMartha Marx <mmarx@silicontkx.com>2009-01-26 10:45:07 -0700
committerJohn Rigby <jrigby@freescale.com>2009-02-03 15:40:20 -0700
commitabfbd0ae4967df18102345db4f4b529a13da107b (patch)
treef790e54d8ba09e99d59ccc88a02307ffab20c25a /include/asm-ppc/immap_512x.h
parent14d19cd1bce9a24b1335598f1568140f4950e4d9 (diff)
downloadu-boot-imx-abfbd0ae4967df18102345db4f4b529a13da107b.zip
u-boot-imx-abfbd0ae4967df18102345db4f4b529a13da107b.tar.gz
u-boot-imx-abfbd0ae4967df18102345db4f4b529a13da107b.tar.bz2
ADS5121 Add IC Ident Module (IIM) support
IIM (IC Identification Module) is the fusebox for the mpc5121. Use #define CONFIG_IIM to turn on the clock for this module use #define CONFIG_CMD_FUSE to add fusebox commands. Fusebox commands include the ability to read the status, read the register cache, override the register cache, program the fuses and sense them. Signed-off-by: Martha Marx <mmarx@silicontkx.com> Signed-off-by: John Rigby <jrigby@freescale.com>
Diffstat (limited to 'include/asm-ppc/immap_512x.h')
-rw-r--r--include/asm-ppc/immap_512x.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/include/asm-ppc/immap_512x.h b/include/asm-ppc/immap_512x.h
index cd90945..4cef6a8 100644
--- a/include/asm-ppc/immap_512x.h
+++ b/include/asm-ppc/immap_512x.h
@@ -415,7 +415,25 @@ typedef struct ioctrl512x {
* IIM
*/
typedef struct iim512x {
- u8 fixme[0x1000];
+ u32 stat; /* IIM status register */
+ u32 statm; /* IIM status IRQ mask */
+ u32 err; /* IIM errors register */
+ u32 emask; /* IIM error IRQ mask */
+ u32 fctl; /* IIM fuse control register */
+ u32 ua; /* IIM upper address register */
+ u32 la; /* IIM lower address register */
+ u32 sdat; /* IIM explicit sense data */
+ u8 res0[0x08];
+ u32 prg_p; /* IIM program protection register */
+ u8 res1[0x10];
+ u32 divide; /* IIM divide factor register */
+ u8 res2[0x7c0];
+ u32 fbac0; /* IIM fuse bank 0 prot (for Freescale use) */
+ u32 fb0w0[0x1f]; /* IIM fuse bank 0 data (for Freescale use) */
+ u8 res3[0x380];
+ u32 fbac1; /* IIM fuse bank 1 protection */
+ u32 fb1w1[0x01f]; /* IIM fuse bank 1 data */
+ u8 res4[0x380];
} iim512x_t;
/*