diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2010-08-18 08:59:01 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-10-20 18:52:15 -0400 |
commit | e33ed879f02182b01a601ae3de70acd536c894c2 (patch) | |
tree | d27d057987b6761464b69994837107d51468eb14 /arch/arm/mach-s5pv310 | |
parent | 11adcc29f068229ca77fb91b42047f1a03cf500c (diff) |
ARM: S5PV310: Adds clock addresses for S5PV310
This patch adds definition of clock address.
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv310')
-rw-r--r-- | arch/arm/mach-s5pv310/include/mach/regs-clock.h | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/arch/arm/mach-s5pv310/include/mach/regs-clock.h b/arch/arm/mach-s5pv310/include/mach/regs-clock.h index 4013553cd9be..eda07fd859d8 100644 --- a/arch/arm/mach-s5pv310/include/mach/regs-clock.h +++ b/arch/arm/mach-s5pv310/include/mach/regs-clock.h | |||
@@ -26,11 +26,23 @@ | |||
26 | 26 | ||
27 | #define S5P_CLKSRC_TOP0 S5P_CLKREG(0x0C210) | 27 | #define S5P_CLKSRC_TOP0 S5P_CLKREG(0x0C210) |
28 | #define S5P_CLKSRC_TOP1 S5P_CLKREG(0x0C214) | 28 | #define S5P_CLKSRC_TOP1 S5P_CLKREG(0x0C214) |
29 | 29 | #define S5P_CLKSRC_CAM S5P_CLKREG(0x0C220) | |
30 | #define S5P_CLKSRC_IMAGE S5P_CLKREG(0x0C230) | ||
31 | #define S5P_CLKSRC_LCD0 S5P_CLKREG(0x0C234) | ||
32 | #define S5P_CLKSRC_LCD1 S5P_CLKREG(0x0C238) | ||
33 | #define S5P_CLKSRC_FSYS S5P_CLKREG(0x0C240) | ||
30 | #define S5P_CLKSRC_PERIL0 S5P_CLKREG(0x0C250) | 34 | #define S5P_CLKSRC_PERIL0 S5P_CLKREG(0x0C250) |
35 | #define S5P_CLKSRC_PERIL1 S5P_CLKREG(0x0C254) | ||
31 | 36 | ||
32 | #define S5P_CLKDIV_TOP S5P_CLKREG(0x0C510) | 37 | #define S5P_CLKDIV_TOP S5P_CLKREG(0x0C510) |
33 | 38 | #define S5P_CLKDIV_CAM S5P_CLKREG(0x0C520) | |
39 | #define S5P_CLKDIV_IMAGE S5P_CLKREG(0x0C530) | ||
40 | #define S5P_CLKDIV_LCD0 S5P_CLKREG(0x0C534) | ||
41 | #define S5P_CLKDIV_LCD1 S5P_CLKREG(0x0C538) | ||
42 | #define S5P_CLKDIV_FSYS0 S5P_CLKREG(0x0C540) | ||
43 | #define S5P_CLKDIV_FSYS1 S5P_CLKREG(0x0C544) | ||
44 | #define S5P_CLKDIV_FSYS2 S5P_CLKREG(0x0C548) | ||
45 | #define S5P_CLKDIV_FSYS3 S5P_CLKREG(0x0C54C) | ||
34 | #define S5P_CLKDIV_PERIL0 S5P_CLKREG(0x0C550) | 46 | #define S5P_CLKDIV_PERIL0 S5P_CLKREG(0x0C550) |
35 | #define S5P_CLKDIV_PERIL1 S5P_CLKREG(0x0C554) | 47 | #define S5P_CLKDIV_PERIL1 S5P_CLKREG(0x0C554) |
36 | #define S5P_CLKDIV_PERIL2 S5P_CLKREG(0x0C558) | 48 | #define S5P_CLKDIV_PERIL2 S5P_CLKREG(0x0C558) |
@@ -38,8 +50,19 @@ | |||
38 | #define S5P_CLKDIV_PERIL4 S5P_CLKREG(0x0C560) | 50 | #define S5P_CLKDIV_PERIL4 S5P_CLKREG(0x0C560) |
39 | #define S5P_CLKDIV_PERIL5 S5P_CLKREG(0x0C564) | 51 | #define S5P_CLKDIV_PERIL5 S5P_CLKREG(0x0C564) |
40 | 52 | ||
53 | #define S5P_CLKSRC_MASK_TOP S5P_CLKREG(0x0C310) | ||
54 | #define S5P_CLKSRC_MASK_CAM S5P_CLKREG(0x0C320) | ||
55 | #define S5P_CLKSRC_MASK_LCD0 S5P_CLKREG(0x0C334) | ||
56 | #define S5P_CLKSRC_MASK_LCD1 S5P_CLKREG(0x0C338) | ||
57 | #define S5P_CLKSRC_MASK_FSYS S5P_CLKREG(0x0C340) | ||
41 | #define S5P_CLKSRC_MASK_PERIL0 S5P_CLKREG(0x0C350) | 58 | #define S5P_CLKSRC_MASK_PERIL0 S5P_CLKREG(0x0C350) |
59 | #define S5P_CLKSRC_MASK_PERIL1 S5P_CLKREG(0x0C354) | ||
42 | 60 | ||
61 | #define S5P_CLKGATE_IP_CAM S5P_CLKREG(0x0C920) | ||
62 | #define S5P_CLKGATE_IP_IMAGE S5P_CLKREG(0x0C930) | ||
63 | #define S5P_CLKGATE_IP_LCD0 S5P_CLKREG(0x0C934) | ||
64 | #define S5P_CLKGATE_IP_LCD1 S5P_CLKREG(0x0C938) | ||
65 | #define S5P_CLKGATE_IP_FSYS S5P_CLKREG(0x0C940) | ||
43 | #define S5P_CLKGATE_IP_PERIL S5P_CLKREG(0x0C950) | 66 | #define S5P_CLKGATE_IP_PERIL S5P_CLKREG(0x0C950) |
44 | 67 | ||
45 | #define S5P_CLKSRC_CORE S5P_CLKREG(0x10200) | 68 | #define S5P_CLKSRC_CORE S5P_CLKREG(0x10200) |