ARM: S5PV210: Add Watchdog support for S5PV210
authorBanajit Goswami <banajit.g@samsung.com>
Thu, 20 May 2010 07:21:32 +0000 (16:21 +0900)
committerBen Dooks <ben-linux@fluff.org>
Thu, 20 May 2010 10:47:32 +0000 (19:47 +0900)
This patch adds support for Watchdog timer for Samsung S5PV210.

Signed-off-by: Banajit Goswami <banajit.g@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s5pv210/Kconfig
arch/arm/mach-s5pv210/include/mach/map.h
arch/arm/mach-s5pv210/mach-smdkc110.c
arch/arm/mach-s5pv210/mach-smdkv210.c

index 7601c28e240b9e32aa2a5c2550a93a37a539f6d1..231c48513156b33af0dc78ec2962088cd7eb5391 100644 (file)
@@ -25,6 +25,8 @@ config MACH_SMDKV210
        bool "SMDKV210"
        select CPU_S5PV210
        select ARCH_SPARSEMEM_ENABLE
+       select S3C_DEV_WDT
+       select HAVE_S3C2410_WATCHDOG
        help
          Machine support for Samsung SMDKV210
 
@@ -32,6 +34,8 @@ config MACH_SMDKC110
        bool "SMDKC110"
        select CPU_S5PV210
        select ARCH_SPARSEMEM_ENABLE
+       select S3C_DEV_WDT
+       select HAVE_S3C2410_WATCHDOG
        help
          Machine support for Samsung SMDKC110
          S5PC110(MCP) is one of package option of S5PV210
index 5adcb9f26e449ef76504b10244cbd3570fb710dc..1131553c6e78c66387abc4ead56d5aaef9d6221b 100644 (file)
@@ -32,6 +32,8 @@
 
 #define S5PV210_PA_SYSTIMER    (0xE2600000)
 
+#define S5PV210_PA_WATCHDOG    (0xE2700000)
+
 #define S5PV210_PA_UART                (0xE2900000)
 
 #define S5P_PA_UART0           (S5PV210_PA_UART + 0x0)
@@ -78,5 +80,6 @@
 /* compatibiltiy defines. */
 #define S3C_PA_UART            S5PV210_PA_UART
 #define S3C_PA_IIC             S5PV210_PA_IIC0
+#define S3C_PA_WDT             S5PV210_PA_WATCHDOG
 
 #endif /* __ASM_ARCH_MAP_H */
index 6f9fd3274e2e3196d18a213a40c43f89a768a989..4c8903c6d1044af2488a4d58421d64b7194b3c0e 100644 (file)
@@ -74,6 +74,7 @@ static struct s3c2410_uartcfg smdkv210_uartcfgs[] __initdata = {
 static struct platform_device *smdkc110_devices[] __initdata = {
        &s5pv210_device_iis0,
        &s5pv210_device_ac97,
+       &s3c_device_wdt,
 };
 
 static void __init smdkc110_map_io(void)
index 3c29e18528a5f3df6067e33b39b8506829f5fa56..d65ab2a94929385689bd6b5472d84ef6fdfb7729 100644 (file)
@@ -74,6 +74,7 @@ static struct s3c2410_uartcfg smdkv210_uartcfgs[] __initdata = {
 static struct platform_device *smdkv210_devices[] __initdata = {
        &s5pv210_device_iis0,
        &s5pv210_device_ac97,
+       &s3c_device_wdt,
 };
 
 static void __init smdkv210_map_io(void)
This page took 0.026292 seconds and 5 git commands to generate.