diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/cpu/armv7/mx6/soc.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index 7cf7ef16a..f9cfefb14 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -63,12 +63,25 @@ void init_axi_cache_qos(void) writel(0x007f007f, IOMUXC_BASE_ADDR + 0x01c); } +void init_anatop_reg(void) +{ + u32 reg; + + /* Increase the VDDSOC to 1.2V */ + reg = readl(ANATOP_BASE_ADDR + 0x140); + reg &= ~0x007C0000; + reg |= (0x14 << 18) & 0x007C0000; + writel(reg, ANATOP_BASE_ADDR + 0x140); +} + int arch_cpu_init(void) { init_aips(); init_axi_cache_qos(); + init_anatop_reg(); + return 0; } #endif |