Patchwork [U-Boot,03/10] arm: vf610: add uart0 clock definition

login
register
mail settings
Submitter Marcel Ziswiler
Date Sept. 17, 2013, 10:45 a.m.
Message ID <4391585ea54d2fd1957c35d85609ed05ded52bee.1379414181.git.marcel@ziswiler.com>
Download mbox | patch
Permalink /patch/275427/
State Superseded
Delegated to: Albert ARIBAUD
Headers show

Comments

Marcel Ziswiler - Sept. 17, 2013, 10:45 a.m.
Add CCM_CCGR0_UART0_CTRL_MASK clock definition for UART0 aka SCI0.

Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
---
 arch/arm/include/asm/arch-vf610/crm_regs.h |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/arch/arm/include/asm/arch-vf610/crm_regs.h b/arch/arm/include/asm/arch-vf610/crm_regs.h
index d5c9387..490e368 100644
--- a/arch/arm/include/asm/arch-vf610/crm_regs.h
+++ b/arch/arm/include/asm/arch-vf610/crm_regs.h
@@ -166,6 +166,7 @@  struct anadig_reg {
 #define CCM_CSCMR2_RMII_CLK_SEL(v)		(((v) & 0x3) << 4)
 
 #define CCM_REG_CTRL_MASK			0xffffffff
+#define CCM_CCGR0_UART0_CTRL_MASK               (0x3 << 14)
 #define CCM_CCGR0_UART1_CTRL_MASK		(0x3 << 16)
 #define CCM_CCGR1_PIT_CTRL_MASK			(0x3 << 14)
 #define CCM_CCGR1_WDOGA5_CTRL_MASK		(0x3 << 28)