summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-vf610/crm_regs.h
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2015-04-15 16:24:23 +0530
committerTom Rini <trini@konsulko.com>2015-04-23 14:56:08 -0400
commit8b4f9afac0642cea73084401d07f791f2ac63104 (patch)
tree06a6756550c722a87bca2447c6ac4223a6161f6a /arch/arm/include/asm/arch-vf610/crm_regs.h
parentc7ea243cc095d6510e1a1e3a4969e787a9d41271 (diff)
downloadblackbird-obmc-uboot-8b4f9afac0642cea73084401d07f791f2ac63104.tar.gz
blackbird-obmc-uboot-8b4f9afac0642cea73084401d07f791f2ac63104.zip
ARM: vf610: Enable external 32KHz oscillator
Enable the SCSC (Slow Clock Source Controller) and select the external 32KHz oscillator. This improves the accuracy of the RTC. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Diffstat (limited to 'arch/arm/include/asm/arch-vf610/crm_regs.h')
-rw-r--r--arch/arm/include/asm/arch-vf610/crm_regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-vf610/crm_regs.h b/arch/arm/include/asm/arch-vf610/crm_regs.h
index 724682c683..78708e22ac 100644
--- a/arch/arm/include/asm/arch-vf610/crm_regs.h
+++ b/arch/arm/include/asm/arch-vf610/crm_regs.h
@@ -199,6 +199,7 @@ struct anadig_reg {
#define CCM_CCGR2_PORTD_CTRL_MASK (0x3 << 24)
#define CCM_CCGR2_PORTE_CTRL_MASK (0x3 << 26)
#define CCM_CCGR3_ANADIG_CTRL_MASK 0x3
+#define CCM_CCGR3_SCSC_CTRL_MASK (0x3 << 4)
#define CCM_CCGR4_WKUP_CTRL_MASK (0x3 << 20)
#define CCM_CCGR4_CCM_CTRL_MASK (0x3 << 22)
#define CCM_CCGR4_GPC_CTRL_MASK (0x3 << 24)
OpenPOWER on IntegriCloud