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

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-s3c64xx/Kconfig
arch/arm/mach-s3c64xx/include/mach/map.h
arch/arm/mach-s3c64xx/mach-smdk6410.c

index 69e9fbfea9175a7e09b5e86c500a9e47ebd82d8c..d0c5743e32ee54bfd3449a3805b54fcd9b7fa85e 100644 (file)
@@ -92,6 +92,8 @@ config MACH_SMDK6410
        select S3C_DEV_FB
        select S3C_DEV_USB_HOST
        select S3C_DEV_USB_HSOTG
+       select S3C_DEV_WDT
+       select HAVE_S3C2410_WATCHDOG
        select S3C64XX_SETUP_SDHCI
        select S3C64XX_SETUP_I2C1
        select S3C64XX_SETUP_FB_24BPP
index 9fdd50c8c767473fed80df430b89de0a38bf7ec3..c3e48cdfb99060ed6693be53b69a47671bf2e4f3 100644 (file)
 #define S3C_PA_USB_HSOTG       S3C64XX_PA_USB_HSOTG
 #define S3C_VA_USB_HSPHY       S3C64XX_VA_USB_HSPHY
 #define S3C_PA_RTC             S3C64XX_PA_RTC
+#define S3C_PA_WDT             S3C64XX_PA_WATCHDOG
 
 #define SAMSUNG_PA_ADC         S3C64XX_PA_ADC
 
index 9d51455feb31ac2d3383aff8af77cebd20b2743f..c299455e5f5758d31ce66c42a7fea6ffb0dd3eea 100644 (file)
@@ -262,6 +262,7 @@ static struct platform_device *smdk6410_devices[] __initdata = {
        &smdk6410_lcd_powerdev,
 
        &smdk6410_smsc911x,
+       &s3c_device_wdt,
 };
 
 #ifdef CONFIG_REGULATOR