summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorAtul Dahiya <atul.dahiya@samsung.com>2010-07-21 17:38:23 +0900
committerKukjin Kim <kgene.kim@samsung.com>2010-08-05 18:30:51 +0900
commitfa9ce74255d9ed5bff4c69e005dcd3a529ad9f66 (patch)
tree5f563c3ddbcf7f63639c68690f679eddd19d96d0 /arch/arm
parent2211f28cdaf416f566ec4af0e431dc04393e9c14 (diff)
ARM: S5PC100: Add RTC support for S5PC100
This patch adds support RTC driver for Samsung S5PC100. Signed-off-by: Atul Dahiya <atul.dahiya@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-s5pc100/Kconfig2
-rw-r--r--arch/arm/mach-s5pc100/include/mach/map.h2
-rw-r--r--arch/arm/mach-s5pc100/mach-smdkc100.c1
3 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pc100/Kconfig b/arch/arm/mach-s5pc100/Kconfig
index cd7f4e95d230..25ca7c686e77 100644
--- a/arch/arm/mach-s5pc100/Kconfig
+++ b/arch/arm/mach-s5pc100/Kconfig
@@ -57,6 +57,7 @@ config MACH_SMDKC100
select S3C_DEV_HSMMC1
select S3C_DEV_HSMMC2
select SAMSUNG_DEV_KEYPAD
+ select S3C_DEV_RTC
select SAMSUNG_DEV_TS
select S3C_DEV_WDT
select HAVE_S3C2410_WATCHDOG
@@ -65,6 +66,7 @@ config MACH_SMDKC100
select S5PC100_SETUP_IDE
select S5PC100_SETUP_KEYPAD
select S5PC100_SETUP_SDHCI
+ select HAVE_S3C_RTC
help
Machine support for the Samsung SMDKC100
diff --git a/arch/arm/mach-s5pc100/include/mach/map.h b/arch/arm/mach-s5pc100/include/mach/map.h
index 809ff90824cf..c018697e79bf 100644
--- a/arch/arm/mach-s5pc100/include/mach/map.h
+++ b/arch/arm/mach-s5pc100/include/mach/map.h
@@ -75,6 +75,7 @@
#define S5PC100_PA_SYSTIMER (0xEA100000)
#define S5PC100_PA_WATCHDOG (0xEA200000)
+#define S5PC100_PA_RTC (0xEA300000)
#define S5PC100_PA_UART (0xEC000000)
@@ -141,6 +142,7 @@
#define S3C_PA_ONENAND S5PC100_PA_ONENAND
#define S3C_PA_ONENAND_BUF S5PC100_PA_ONENAND_BUF
#define S3C_SZ_ONENAND_BUF S5PC100_SZ_ONENAND_BUF
+#define S3C_PA_RTC S5PC100_PA_RTC
#define SAMSUNG_PA_ADC S5PC100_PA_TSADC
#define SAMSUNG_PA_CFCON S5PC100_PA_CFCON
diff --git a/arch/arm/mach-s5pc100/mach-smdkc100.c b/arch/arm/mach-s5pc100/mach-smdkc100.c
index a00dd090f1a1..83a5d648a980 100644
--- a/arch/arm/mach-s5pc100/mach-smdkc100.c
+++ b/arch/arm/mach-s5pc100/mach-smdkc100.c
@@ -192,6 +192,7 @@ static struct platform_device *smdkc100_devices[] __initdata = {
&s5pc100_device_iis0,
&samsung_device_keypad,
&s5pc100_device_ac97,
+ &s3c_device_rtc,
};
static struct s3c2410_ts_mach_info s3c_ts_platform __initdata = {