X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fasm-ppc%2Fimmap_512x.h;h=79cdd80298f9fb1de907905103316ac1d9ff1509;hb=8280912e0657e96a7b7d8da7003656d62b0fd109;hp=3648a05f8cbc1a782354c63e31e9a3baf3cd08bb;hpb=6bd55cc65d0c3aa84d719518254fb3c650239ed9;p=oweals%2Fu-boot.git diff --git a/include/asm-ppc/immap_512x.h b/include/asm-ppc/immap_512x.h index 3648a05f8c..79cdd80298 100644 --- a/include/asm-ppc/immap_512x.h +++ b/include/asm-ppc/immap_512x.h @@ -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