Commit b46de63d authored by Banajit Goswami's avatar Banajit Goswami Committed by Kukjin Kim

ARM: S5P6442: Add Watchdog support for S5P6442

This patch adds support for Watchdog timer for Samsung S5P6442.
Signed-off-by: default avatarBanajit Goswami <banajit.g@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 296b1dac
...@@ -19,6 +19,8 @@ config CPU_S5P6442 ...@@ -19,6 +19,8 @@ config CPU_S5P6442
config MACH_SMDK6442 config MACH_SMDK6442
bool "SMDK6442" bool "SMDK6442"
select CPU_S5P6442 select CPU_S5P6442
select S3C_DEV_WDT
select HAVE_S3C2410_WATCHDOG
help help
Machine support for Samsung SMDK6442 Machine support for Samsung SMDK6442
......
...@@ -360,6 +360,12 @@ static struct clk init_clocks[] = { ...@@ -360,6 +360,12 @@ static struct clk init_clocks[] = {
.parent = &clk_pclkd1, .parent = &clk_pclkd1,
.enable = s5p6442_clk_ip3_ctrl, .enable = s5p6442_clk_ip3_ctrl,
.ctrlbit = (1<<19), .ctrlbit = (1<<19),
}, {
.name = "watchdog",
.id = -1,
.parent = &clk_pclkd1,
.enable = s5p6442_clk_ip3_ctrl,
.ctrlbit = (1 << 22),
}, { }, {
.name = "timers", .name = "timers",
.id = -1, .id = -1,
......
...@@ -66,6 +66,7 @@ static struct s3c2410_uartcfg smdk6442_uartcfgs[] __initdata = { ...@@ -66,6 +66,7 @@ static struct s3c2410_uartcfg smdk6442_uartcfgs[] __initdata = {
static struct platform_device *smdk6442_devices[] __initdata = { static struct platform_device *smdk6442_devices[] __initdata = {
&s5p6442_device_iis0, &s5p6442_device_iis0,
&s3c_device_wdt,
}; };
static void __init smdk6442_map_io(void) static void __init smdk6442_map_io(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment