aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c6410/mach-om-3d7k.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s3c6410/mach-om-3d7k.c')
-rw-r--r--arch/arm/mach-s3c6410/mach-om-3d7k.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c6410/mach-om-3d7k.c b/arch/arm/mach-s3c6410/mach-om-3d7k.c
index 1f684febdc9..6ec3892c139 100644
--- a/arch/arm/mach-s3c6410/mach-om-3d7k.c
+++ b/arch/arm/mach-s3c6410/mach-om-3d7k.c
@@ -68,6 +68,7 @@
#include <plat/devs.h>
#include <plat/cpu.h>
#include <plat/tzic-sp890.h>
+#include <plat/usb-control.h>
/* #include <plat/udc.h> */
#include <linux/i2c.h>
@@ -1008,6 +1009,7 @@ static void om_3d7k_pmu_regulator_registered(struct pcf50633 *pcf, int id)
static struct platform_device *om_3d7k_devices_pmu_children[] = {
&om_3d7k_button_dev,
// &s3c_device_spi_acc1, /* relies on PMU reg for power */
+ &s3c_device_usb,
};
/* this is called when pc50633 is probed, unfortunately quite late in the
@@ -1140,6 +1142,15 @@ struct s3c_plat_otg_data s3c_hs_otg_plat_data = {
.phyclk = 0
};
+/* USB */
+static struct s3c2410_hcd_info om3d7k_usb_info = {
+ .port[0] = {
+ .flags = S3C_HCDFLG_USED,
+ },
+ .port[1] = {
+ .flags = 0,
+ },
+};
static void __init om_3d7k_map_io(void)
{
@@ -1152,6 +1163,7 @@ static void __init om_3d7k_machine_init(void)
{
s3c_pm_init();
+ s3c_device_usb.dev.platform_data = &om3d7k_usb_info;
s3c_device_usbgadget.dev.platform_data = &s3c_hs_otg_plat_data;
s3c_i2c0_set_platdata(NULL);