aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBanajit Goswami <banajit.g@samsung.com>2010-06-18 02:42:06 -0400
committerKukjin Kim <kgene.kim@samsung.com>2010-08-05 05:30:50 -0400
commitc4023617f3bbc196ec9e575bba9fd689a8edf3ee (patch)
treeb6897b83f635d9b4b9414c9437449a64537060e2 /arch
parent327b90305e9c8a5fecf663788301927efbeaeb6d (diff)
ARM: S5PC100: Add Watchdog support for S5PC100
This patch adds support for Watchdog timer for Samsung S5PC100. Signed-off-by: Banajit Goswami <banajit.g@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-s5pc100/Kconfig2
-rw-r--r--arch/arm/mach-s5pc100/include/mach/map.h3
-rw-r--r--arch/arm/mach-s5pc100/mach-smdkc100.c6
3 files changed, 7 insertions, 4 deletions
diff --git a/arch/arm/mach-s5pc100/Kconfig b/arch/arm/mach-s5pc100/Kconfig
index ef6b7c845b18..a7ba205f3c1c 100644
--- a/arch/arm/mach-s5pc100/Kconfig
+++ b/arch/arm/mach-s5pc100/Kconfig
@@ -52,6 +52,8 @@ config MACH_SMDKC100
52 select S3C_DEV_HSMMC1 52 select S3C_DEV_HSMMC1
53 select S3C_DEV_HSMMC2 53 select S3C_DEV_HSMMC2
54 select SAMSUNG_DEV_TS 54 select SAMSUNG_DEV_TS
55 select S3C_DEV_WDT
56 select HAVE_S3C2410_WATCHDOG
55 select S5PC100_SETUP_FB_24BPP 57 select S5PC100_SETUP_FB_24BPP
56 select S5PC100_SETUP_I2C1 58 select S5PC100_SETUP_I2C1
57 select S5PC100_SETUP_IDE 59 select S5PC100_SETUP_IDE
diff --git a/arch/arm/mach-s5pc100/include/mach/map.h b/arch/arm/mach-s5pc100/include/mach/map.h
index 5a1096691006..66b626081430 100644
--- a/arch/arm/mach-s5pc100/include/mach/map.h
+++ b/arch/arm/mach-s5pc100/include/mach/map.h
@@ -74,6 +74,8 @@
74 74
75#define S5PC100_PA_SYSTIMER (0xEA100000) 75#define S5PC100_PA_SYSTIMER (0xEA100000)
76 76
77#define S5PC100_PA_WATCHDOG (0xEA200000)
78
77#define S5PC100_PA_UART (0xEC000000) 79#define S5PC100_PA_UART (0xEC000000)
78 80
79#define S5P_PA_UART0 (S5PC100_PA_UART + 0x0) 81#define S5P_PA_UART0 (S5PC100_PA_UART + 0x0)
@@ -134,6 +136,7 @@
134#define S3C_PA_HSMMC1 S5PC100_PA_HSMMC(1) 136#define S3C_PA_HSMMC1 S5PC100_PA_HSMMC(1)
135#define S3C_PA_HSMMC2 S5PC100_PA_HSMMC(2) 137#define S3C_PA_HSMMC2 S5PC100_PA_HSMMC(2)
136#define S3C_PA_KEYPAD S5PC100_PA_KEYPAD 138#define S3C_PA_KEYPAD S5PC100_PA_KEYPAD
139#define S3C_PA_WDT S5PC100_PA_WATCHDOG
137#define S3C_PA_ONENAND S5PC100_PA_ONENAND 140#define S3C_PA_ONENAND S5PC100_PA_ONENAND
138#define S3C_PA_ONENAND_BUF S5PC100_PA_ONENAND_BUF 141#define S3C_PA_ONENAND_BUF S5PC100_PA_ONENAND_BUF
139#define S3C_SZ_ONENAND_BUF S5PC100_SZ_ONENAND_BUF 142#define S3C_SZ_ONENAND_BUF S5PC100_SZ_ONENAND_BUF
diff --git a/arch/arm/mach-s5pc100/mach-smdkc100.c b/arch/arm/mach-s5pc100/mach-smdkc100.c
index 1c637c9ed1bd..bf1b9271f34f 100644
--- a/arch/arm/mach-s5pc100/mach-smdkc100.c
+++ b/arch/arm/mach-s5pc100/mach-smdkc100.c
@@ -157,11 +157,8 @@ static struct s3c_ide_platdata smdkc100_ide_pdata __initdata = {
157}; 157};
158 158
159static struct platform_device *smdkc100_devices[] __initdata = { 159static struct platform_device *smdkc100_devices[] __initdata = {
160<<<<<<< HEAD:arch/arm/mach-s5pc100/mach-smdkc100.c
161 &s3c_device_cfcon,
162=======
163 &s3c_device_adc, 160 &s3c_device_adc,
164>>>>>>> c1b6d71... ARM: S5PC100: Add Touchscreen support.:arch/arm/mach-s5pc100/mach-smdkc100.c 161 &s3c_device_cfcon,
165 &s3c_device_i2c0, 162 &s3c_device_i2c0,
166 &s3c_device_i2c1, 163 &s3c_device_i2c1,
167 &s3c_device_fb, 164 &s3c_device_fb,
@@ -169,6 +166,7 @@ static struct platform_device *smdkc100_devices[] __initdata = {
169 &s3c_device_hsmmc1, 166 &s3c_device_hsmmc1,
170 &s3c_device_hsmmc2, 167 &s3c_device_hsmmc2,
171 &s3c_device_ts, 168 &s3c_device_ts,
169 &s3c_device_wdt,
172 &smdkc100_lcd_powerdev, 170 &smdkc100_lcd_powerdev,
173 &s5pc100_device_iis0, 171 &s5pc100_device_iis0,
174 &s5pc100_device_ac97, 172 &s5pc100_device_ac97,