Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198471
b: refs/heads/master
c: 4a870fc
h: refs/heads/master
i:
  198469: 1a58fc3
  198467: 6b6b67f
  198463: b818db8
v: v3
  • Loading branch information
Wolfram Sang authored and Sascha Hauer committed May 18, 2010
1 parent 8c3324d commit 31fd269
Show file tree
Hide file tree
Showing 3 changed files with 17 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: 5ab0a2758c887fc3094dac06d1838d8df709a09d
refs/heads/master: 4a870fc898db90033585cef35d89cf931e189fa4
15 changes: 15 additions & 0 deletions trunk/arch/arm/mach-mx5/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,21 @@ struct platform_device mxc_usbh1_device = {
},
};

static struct resource mxc_wdt_resources[] = {
{
.start = MX51_WDOG_BASE_ADDR,
.end = MX51_WDOG_BASE_ADDR + SZ_16K - 1,
.flags = IORESOURCE_MEM,
},
};

struct platform_device mxc_wdt = {
.name = "imx2-wdt",
.id = 0,
.num_resources = ARRAY_SIZE(mxc_wdt_resources),
.resource = mxc_wdt_resources,
};

static struct mxc_gpio_port mxc_gpio_ports[] = {
{
.chip.label = "gpio-0",
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-mx5/devices.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ extern struct platform_device mxc_fec_device;
extern struct platform_device mxc_usbdr_host_device;
extern struct platform_device mxc_usbh1_device;
extern struct platform_device mxc_usbdr_udc_device;
extern struct platform_device mxc_wdt;

0 comments on commit 31fd269

Please sign in to comment.