diff options
author | Sangbeom Kim <sbkim73@samsung.com> | 2011-03-11 18:02:12 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-03-11 18:02:12 -0500 |
commit | 20780fcc4091897797979985868b1572dc7d78d9 (patch) | |
tree | 4346ccd4b58a74e119e3a9bc4e24f9874ef39017 /arch/arm/mach-s5pv210/mach-aquila.c | |
parent | f8bfff8e4c3c3d447fe12e3c0e3a36f3bdd891b5 (diff) |
ARM: S5P: Update machine of S5P64X0 and S5PV210 for HRT
This patch adds support HRT for machines of S5P64X0 and S5PV210.
Basically, PWM Timer3 is used for clockevent and PWM Timer4 is
used for clocksource. Since PWM Timer3 is used for other purpose,
PWM Timer2 is used on SMDKV210.
Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210/mach-aquila.c')
-rw-r--r-- | arch/arm/mach-s5pv210/mach-aquila.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-s5pv210/mach-aquila.c b/arch/arm/mach-s5pv210/mach-aquila.c index e5acb36a7a51..4e1d8ff5ae59 100644 --- a/arch/arm/mach-s5pv210/mach-aquila.c +++ b/arch/arm/mach-s5pv210/mach-aquila.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include <plat/fb.h> | 39 | #include <plat/fb.h> |
40 | #include <plat/fimc-core.h> | 40 | #include <plat/fimc-core.h> |
41 | #include <plat/sdhci.h> | 41 | #include <plat/sdhci.h> |
42 | #include <plat/s5p-time.h> | ||
42 | 43 | ||
43 | /* Following are default values for UCON, ULCON and UFCON UART registers */ | 44 | /* Following are default values for UCON, ULCON and UFCON UART registers */ |
44 | #define AQUILA_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ | 45 | #define AQUILA_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ |
@@ -646,6 +647,7 @@ static void __init aquila_map_io(void) | |||
646 | s5p_init_io(NULL, 0, S5P_VA_CHIPID); | 647 | s5p_init_io(NULL, 0, S5P_VA_CHIPID); |
647 | s3c24xx_init_clocks(24000000); | 648 | s3c24xx_init_clocks(24000000); |
648 | s3c24xx_init_uarts(aquila_uartcfgs, ARRAY_SIZE(aquila_uartcfgs)); | 649 | s3c24xx_init_uarts(aquila_uartcfgs, ARRAY_SIZE(aquila_uartcfgs)); |
650 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); | ||
649 | } | 651 | } |
650 | 652 | ||
651 | static void __init aquila_machine_init(void) | 653 | static void __init aquila_machine_init(void) |
@@ -680,5 +682,5 @@ MACHINE_START(AQUILA, "Aquila") | |||
680 | .init_irq = s5pv210_init_irq, | 682 | .init_irq = s5pv210_init_irq, |
681 | .map_io = aquila_map_io, | 683 | .map_io = aquila_map_io, |
682 | .init_machine = aquila_machine_init, | 684 | .init_machine = aquila_machine_init, |
683 | .timer = &s3c24xx_timer, | 685 | .timer = &s5p_timer, |
684 | MACHINE_END | 686 | MACHINE_END |