Explorar o código

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>
Stefan Roese %!s(int64=16) %!d(string=hai) anos
pai
achega
6bd55cc65d
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      include/asm-ppc/immap_512x.h

+ 3 - 0
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