aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos4
diff options
context:
space:
mode:
authorChanghwan Youn <chaos.youn@samsung.com>2011-03-10 20:39:35 -0500
committerKukjin Kim <kgene.kim@samsung.com>2011-03-10 20:39:42 -0500
commit2b7401590d97951d7b3df67ba7dc4fc2930928f0 (patch)
treef431f98a39319b714958c9816d5a161980203647 /arch/arm/mach-exynos4
parent4dd508b524b4913a08f54065601ee94fcacb75a2 (diff)
ARM: EXYNOS4: Add SYSTIMER IO Address mapping for MCT
The MCT(Multi-Core Timer) is used for implementing kernel timers for EXYNOS4210. Signed-off-by: Changhwan Youn <chaos.youn@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos4')
-rw-r--r--arch/arm/mach-exynos4/cpu.c5
-rw-r--r--arch/arm/mach-exynos4/include/mach/map.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos4/cpu.c b/arch/arm/mach-exynos4/cpu.c
index b0ec6d3d3774..479dfa1951c8 100644
--- a/arch/arm/mach-exynos4/cpu.c
+++ b/arch/arm/mach-exynos4/cpu.c
@@ -31,6 +31,11 @@ extern void combiner_cascade_irq(unsigned int combiner_nr, unsigned int irq);
31/* Initial IO mappings */ 31/* Initial IO mappings */
32static struct map_desc exynos4_iodesc[] __initdata = { 32static struct map_desc exynos4_iodesc[] __initdata = {
33 { 33 {
34 .virtual = (unsigned long)S5P_VA_SYSTIMER,
35 .pfn = __phys_to_pfn(EXYNOS4_PA_SYSTIMER),
36 .length = SZ_4K,
37 .type = MT_DEVICE,
38 }, {
34 .virtual = (unsigned long)S5P_VA_SYSRAM, 39 .virtual = (unsigned long)S5P_VA_SYSRAM,
35 .pfn = __phys_to_pfn(EXYNOS4_PA_SYSRAM), 40 .pfn = __phys_to_pfn(EXYNOS4_PA_SYSRAM),
36 .length = SZ_4K, 41 .length = SZ_4K,
diff --git a/arch/arm/mach-exynos4/include/mach/map.h b/arch/arm/mach-exynos4/include/mach/map.h
index 4d7f0cebfc7c..89ab6f75776c 100644
--- a/arch/arm/mach-exynos4/include/mach/map.h
+++ b/arch/arm/mach-exynos4/include/mach/map.h
@@ -44,6 +44,7 @@
44#define EXYNOS4_PA_PMU 0x10020000 44#define EXYNOS4_PA_PMU 0x10020000
45#define EXYNOS4_PA_CMU 0x10030000 45#define EXYNOS4_PA_CMU 0x10030000
46 46
47#define EXYNOS4_PA_SYSTIMER 0x10050000
47#define EXYNOS4_PA_WATCHDOG 0x10060000 48#define EXYNOS4_PA_WATCHDOG 0x10060000
48#define EXYNOS4_PA_RTC 0x10070000 49#define EXYNOS4_PA_RTC 0x10070000
49 50