提交 6bd55cc6 编写于 作者: S Stefan Roese 提交者: Wolfgang Denk

mcp512x: Add macros for SCFR LPC divisor access

Thos macros will be used by the esd mecp5123 board.
Signed-off-by: NStefan Roese <sr@denx.de>
上级 c60dc852
...@@ -234,6 +234,9 @@ typedef struct clk512x { ...@@ -234,6 +234,9 @@ typedef struct clk512x {
#define SCFR1_PCI_DIV_MASK 0x00700000 #define SCFR1_PCI_DIV_MASK 0x00700000
#define SCFR1_PCI_DIV_SHIFT 20 #define SCFR1_PCI_DIV_SHIFT 20
#define SCFR1_LPC_DIV_MASK 0x00003800
#define SCFR1_LPC_DIV_SHIFT 11
/* SCFR2 System Clock Frequency Register 2 */ /* SCFR2 System Clock Frequency Register 2 */
#define SCFR2_SYS_DIV 0xFC000000 #define SCFR2_SYS_DIV 0xFC000000
#define SCFR2_SYS_DIV_SHIFT 26 #define SCFR2_SYS_DIV_SHIFT 26
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册