ppc/85xx: Clean up immap_85xx.h
[oweals/u-boot.git] / include / asm-ppc / immap_512x.h
index 3648a05f8cbc1a782354c63e31e9a3baf3cd08bb..79cdd80298f9fb1de907905103316ac1d9ff1509 100644 (file)
@@ -185,10 +185,11 @@ typedef struct clk512x {
        u8 res0[4];
        u32 bcr;                /* Bread Crumb Register */
        u32 pscccr[12];         /* PSC0-11 Clock Control Registers */
-       u32 spccr;              /* SPDIF Clock Control Registers */
-       u32 cccr;               /* CFM Clock Control Registers */
-       u32 dccr;               /* DIU Clock Control Registers */
-       u8 res1[0xa8];
+       u32 spccr;              /* SPDIF Clock Control Register */
+       u32 cccr;               /* CFM Clock Control Register */
+       u32 dccr;               /* DIU Clock Control Register */
+       u32 msccr[4];           /* MSCAN1-4 Clock Control Registers */
+       u8 res1[0x98];
 } clk512x_t;
 
 /* SPMR - System PLL Mode Register */
@@ -340,6 +341,10 @@ typedef struct ddr512x {
        u32 res2[0x3AD];
 } ddr512x_t;
 
+/* MDDRC SYS CFG and Timing CFG0 Registers */
+#define MDDRC_SYS_CFG_EN       0xF0000000
+#define MDDRC_SYS_CFG_CMD_MASK 0x10000000
+#define MDDRC_REFRESH_ZERO_MASK        0x0000FFFF
 
 /*
  * DMA/Messaging Unit