aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese2009-06-09 11:50:05 +0200
committerWolfgang Denk2009-06-12 20:47:19 +0200
commit6bd55cc65d0c3aa84d719518254fb3c650239ed9 (patch)
treeeaa4ba2ddadd0bfcfeca57cb36577f7b7971ad05
parentc60dc8527dbb2a1318c03bc18bdebcfbd0164551 (diff)
mcp512x: Add macros for SCFR LPC divisor access
Thos macros will be used by the esd mecp5123 board. Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r--include/asm-ppc/immap_512x.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ppc/immap_512x.h b/include/asm-ppc/immap_512x.h
index 444e0288855..3648a05f8cb 100644
--- a/include/asm-ppc/immap_512x.h
+++ b/include/asm-ppc/immap_512x.h
@@ -234,6 +234,9 @@ typedef struct clk512x {
#define SCFR1_PCI_DIV_MASK 0x00700000
#define SCFR1_PCI_DIV_SHIFT 20
+#define SCFR1_LPC_DIV_MASK 0x00003800
+#define SCFR1_LPC_DIV_SHIFT 11
+
/* SCFR2 System Clock Frequency Register 2 */
#define SCFR2_SYS_DIV 0xFC000000
#define SCFR2_SYS_DIV_SHIFT 26