Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172616
b: refs/heads/master
c: 9c2daf1
h: refs/heads/master
v: v3
  • Loading branch information
Harro Haan authored and Sascha Hauer committed Nov 30, 2009
1 parent 5392b55 commit 98b8e73
Show file tree
Hide file tree
Showing 2 changed files with 13 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: 3e9a23dbaf581978d6e3eb8c92329ea622fce8ba
refs/heads/master: 9c2daf15ac5aba3c7897540c3b606e54550d9c8f
12 changes: 12 additions & 0 deletions trunk/arch/arm/mach-mx3/mx35pdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <linux/platform_device.h>
#include <linux/memory.h>
#include <linux/gpio.h>
#include <linux/fsl_devices.h>

#include <asm/mach-types.h>
#include <asm/mach/arch.h>
Expand Down Expand Up @@ -69,6 +70,15 @@ static struct pad_desc mx35pdk_pads[] = {
MX35_PAD_FEC_TDATA2__FEC_TDATA_2,
MX35_PAD_FEC_RDATA3__FEC_RDATA_3,
MX35_PAD_FEC_TDATA3__FEC_TDATA_3,
/* USBOTG */
MX35_PAD_USBOTG_PWR__USB_TOP_USBOTG_PWR,
MX35_PAD_USBOTG_OC__USB_TOP_USBOTG_OC,
};

/* OTG config */
static struct fsl_usb2_platform_data usb_pdata = {
.operating_mode = FSL_USB2_DR_DEVICE,
.phy_mode = FSL_USB2_PHY_UTMI_WIDE,
};

/*
Expand All @@ -81,6 +91,8 @@ static void __init mxc_board_init(void)
platform_add_devices(devices, ARRAY_SIZE(devices));

mxc_register_device(&mxc_uart_device0, &uart_pdata);

mxc_register_device(&mxc_otg_udc_device, &usb_pdata);
}

static void __init mx35pdk_timer_init(void)
Expand Down

0 comments on commit 98b8e73

Please sign in to comment.