]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/arm/mach-mx5/devices.c
Merge branch 'idle-release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb...
[mv-sheeva.git] / arch / arm / mach-mx5 / devices.c
index e6262f31ed8f661547010c0c442a0f4960293285..7130449aacdcff6671cea5fe794a418916bdac34 100644 (file)
@@ -107,6 +107,18 @@ static struct resource usbotg_resources[] = {
        },
 };
 
+/* OTG gadget device */
+struct platform_device mxc_usbdr_udc_device = {
+       .name           = "fsl-usb2-udc",
+       .id             = -1,
+       .num_resources  = ARRAY_SIZE(usbotg_resources),
+       .resource       = usbotg_resources,
+       .dev            = {
+               .dma_mask               = &usb_dma_mask,
+               .coherent_dma_mask      = DMA_BIT_MASK(32),
+       },
+};
+
 struct platform_device mxc_usbdr_host_device = {
        .name = "mxc-ehci",
        .id = 0,
@@ -141,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",