ARM: rockchip: rk3288: pll enter slow mode before reboot
author黄涛 <huangtao@rock-chips.com>
Fri, 25 Apr 2014 10:32:15 +0000 (18:32 +0800)
committer黄涛 <huangtao@rock-chips.com>
Fri, 25 Apr 2014 10:32:47 +0000 (18:32 +0800)
arch/arm/mach-rockchip/rk3288.c

index 4299020808ec46a73836a360ebe81898f8fd0786..c74793df4cf94011457b8470a7fb41f76683217b 100644 (file)
@@ -426,6 +426,9 @@ static void rk3288_restart(char mode, const char *cmd)
        writel_relaxed(boot_mode, RK_PMU_VIRT + RK3288_PMU_SYS_REG1);   // for linux
        dsb();
 
+       /* pll enter slow mode */
+       writel_relaxed(0xf3030000, RK_CRU_VIRT + RK3288_CRU_MODE_CON);
+       dsb();
        writel_relaxed(0xeca8, RK_CRU_VIRT + RK3288_CRU_GLB_SRST_SND_VALUE);
        dsb();
 }