ARM: S5PV310: Define missing CMU register for CPUFREQ
authorSangwook Ju <sw.ju@samsung.com>
Tue, 21 Dec 2010 22:26:40 +0000 (07:26 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 23 Dec 2010 05:53:39 +0000 (14:53 +0900)
This patch adds missing CMU(Clock Management Unit) registers for
updated S5PV310 CPUFREQ driver.

Signed-off-by: Sangwook Ju <sw.ju@samsung.com>
Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s5pv310/include/mach/regs-clock.h

index 9e9e44c3290ee02e2343ec4bdeb9fd0b8c00cf91..b5c4ada1cff5fa69c13d5ca2447f26e245cecce6 100644 (file)
@@ -89,7 +89,9 @@
 #define S5P_CLKMUX_STATCPU             S5P_CLKREG(0x14400)
 
 #define S5P_CLKDIV_CPU                 S5P_CLKREG(0x14500)
+#define S5P_CLKDIV_CPU1                        S5P_CLKREG(0x14504)
 #define S5P_CLKDIV_STATCPU             S5P_CLKREG(0x14600)
+#define S5P_CLKDIV_STATCPU1            S5P_CLKREG(0x14604)
 
 #define S5P_CLKGATE_SCLKCPU            S5P_CLKREG(0x14800)
 
 #define S5P_APLLCON0_ENABLE_SHIFT      (31)
 #define S5P_APLLCON0_LOCKED_SHIFT      (29)
 #define S5P_APLL_VAL_1000              ((250 << 16) | (6 << 8) | 1)
+#define S5P_APLL_VAL_800               ((200 << 16) | (6 << 8) | 1)
 
 /* CLK_SRC_CPU */
 #define S5P_CLKSRC_CPU_MUXCORE_SHIFT   (16)