aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-w90x900
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-w90x900')
-rw-r--r--arch/arm/mach-w90x900/mach-w90p910evb.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mach-w90x900/mach-w90p910evb.c b/arch/arm/mach-w90x900/mach-w90p910evb.c
index 3e3a267b2dde..117578aed681 100644
--- a/arch/arm/mach-w90x900/mach-w90p910evb.c
+++ b/arch/arm/mach-w90x900/mach-w90p910evb.c
@@ -340,6 +340,28 @@ static struct spi_board_info w90p910_spi_board_info[] __initdata = {
340 }, 340 },
341}; 341};
342 342
343/* WDT Device */
344
345static struct resource w90p910_wdt_resource[] = {
346 [0] = {
347 .start = W90X900_PA_TIMER,
348 .end = W90X900_PA_TIMER + W90X900_SZ_TIMER - 1,
349 .flags = IORESOURCE_MEM,
350 },
351 [1] = {
352 .start = IRQ_WDT,
353 .end = IRQ_WDT,
354 .flags = IORESOURCE_IRQ,
355 }
356};
357
358static struct platform_device w90p910_device_wdt = {
359 .name = "w90p910-wdt",
360 .id = -1,
361 .num_resources = ARRAY_SIZE(w90p910_wdt_resource),
362 .resource = w90p910_wdt_resource,
363};
364
343static struct map_desc w90p910_iodesc[] __initdata = { 365static struct map_desc w90p910_iodesc[] __initdata = {
344}; 366};
345 367
@@ -357,6 +379,7 @@ static struct platform_device *w90p910evb_dev[] __initdata = {
357 &w90p910_device_fmi, 379 &w90p910_device_fmi,
358 &w90p910_device_emc, 380 &w90p910_device_emc,
359 &w90p910_device_spi, 381 &w90p910_device_spi,
382 &w90p910_device_wdt,
360}; 383};
361 384
362static void __init w90p910evb_map_io(void) 385static void __init w90p910evb_map_io(void)