Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 160794
b: refs/heads/master
c: 897bd6a
h: refs/heads/master
v: v3
  • Loading branch information
wanzongshun authored and Russell King committed Aug 1, 2009
1 parent 5d250a7 commit 4fd03d4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3f3f1d9d8de10a5dad0d22046cdd26dfb93d05c9
refs/heads/master: 897bd6a363770ced6b78f6ae8882325c7590ed8b
23 changes: 23 additions & 0 deletions trunk/arch/arm/mach-w90x900/mach-w90p910evb.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,28 @@ static struct spi_board_info w90p910_spi_board_info[] __initdata = {
},
};

/* WDT Device */

static struct resource w90p910_wdt_resource[] = {
[0] = {
.start = W90X900_PA_TIMER,
.end = W90X900_PA_TIMER + W90X900_SZ_TIMER - 1,
.flags = IORESOURCE_MEM,
},
[1] = {
.start = IRQ_WDT,
.end = IRQ_WDT,
.flags = IORESOURCE_IRQ,
}
};

static struct platform_device w90p910_device_wdt = {
.name = "w90p910-wdt",
.id = -1,
.num_resources = ARRAY_SIZE(w90p910_wdt_resource),
.resource = w90p910_wdt_resource,
};

static struct map_desc w90p910_iodesc[] __initdata = {
};

Expand All @@ -357,6 +379,7 @@ static struct platform_device *w90p910evb_dev[] __initdata = {
&w90p910_device_fmi,
&w90p910_device_emc,
&w90p910_device_spi,
&w90p910_device_wdt,
};

static void __init w90p910evb_map_io(void)
Expand Down

0 comments on commit 4fd03d4

Please sign in to comment.