diff options
-rw-r--r-- | arch/arm/mach-mx3/mx35pdk.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/mx35pdk.c b/arch/arm/mach-mx3/mx35pdk.c index 6ff186e46ceb..0bbc65ea23c8 100644 --- a/arch/arm/mach-mx3/mx35pdk.c +++ b/arch/arm/mach-mx3/mx35pdk.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <linux/platform_device.h> | 23 | #include <linux/platform_device.h> |
24 | #include <linux/memory.h> | 24 | #include <linux/memory.h> |
25 | #include <linux/gpio.h> | 25 | #include <linux/gpio.h> |
26 | #include <linux/fsl_devices.h> | ||
26 | 27 | ||
27 | #include <asm/mach-types.h> | 28 | #include <asm/mach-types.h> |
28 | #include <asm/mach/arch.h> | 29 | #include <asm/mach/arch.h> |
@@ -69,6 +70,15 @@ static struct pad_desc mx35pdk_pads[] = { | |||
69 | MX35_PAD_FEC_TDATA2__FEC_TDATA_2, | 70 | MX35_PAD_FEC_TDATA2__FEC_TDATA_2, |
70 | MX35_PAD_FEC_RDATA3__FEC_RDATA_3, | 71 | MX35_PAD_FEC_RDATA3__FEC_RDATA_3, |
71 | MX35_PAD_FEC_TDATA3__FEC_TDATA_3, | 72 | MX35_PAD_FEC_TDATA3__FEC_TDATA_3, |
73 | /* USBOTG */ | ||
74 | MX35_PAD_USBOTG_PWR__USB_TOP_USBOTG_PWR, | ||
75 | MX35_PAD_USBOTG_OC__USB_TOP_USBOTG_OC, | ||
76 | }; | ||
77 | |||
78 | /* OTG config */ | ||
79 | static struct fsl_usb2_platform_data usb_pdata = { | ||
80 | .operating_mode = FSL_USB2_DR_DEVICE, | ||
81 | .phy_mode = FSL_USB2_PHY_UTMI_WIDE, | ||
72 | }; | 82 | }; |
73 | 83 | ||
74 | /* | 84 | /* |
@@ -81,6 +91,8 @@ static void __init mxc_board_init(void) | |||
81 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 91 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
82 | 92 | ||
83 | mxc_register_device(&mxc_uart_device0, &uart_pdata); | 93 | mxc_register_device(&mxc_uart_device0, &uart_pdata); |
94 | |||
95 | mxc_register_device(&mxc_otg_udc_device, &usb_pdata); | ||
84 | } | 96 | } |
85 | 97 | ||
86 | static void __init mx35pdk_timer_init(void) | 98 | static void __init mx35pdk_timer_init(void) |