diff options
author | Wolfgang Grandegger <wg@denx.de> | 2011-11-11 14:03:37 +0100 |
---|---|---|
committer | Remy Bohmer <linux@bohmer.net> | 2011-12-11 14:49:50 +0100 |
commit | 45cf6ada60cb19fcf0b88e98235504b687f3e25f (patch) | |
tree | 02b0f164ec23e97fa0105db903203ee1855b9053 /board | |
parent | 1b80f2706ea29047b8be42bd8341c99b05bfa20b (diff) | |
download | u-boot-imx-45cf6ada60cb19fcf0b88e98235504b687f3e25f.zip u-boot-imx-45cf6ada60cb19fcf0b88e98235504b687f3e25f.tar.gz u-boot-imx-45cf6ada60cb19fcf0b88e98235504b687f3e25f.tar.bz2 |
USB: mx53loco: add end enable USB host support on port 1
Signed-off-by: Wolfgang Grandegger <wg@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
Cc: Wolfgang Grandegger <wg@denx.de>
Cc: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mx53loco/mx53loco.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c index 3cf4195..57170ce 100644 --- a/board/freescale/mx53loco/mx53loco.c +++ b/board/freescale/mx53loco/mx53loco.c @@ -78,6 +78,16 @@ static void setup_iomux_uart(void) PAD_CTL_ODE_OPENDRAIN_ENABLE); } +#ifdef CONFIG_USB_EHCI_MX5 +void board_ehci_hcd_init(int port) +{ + /* request VBUS power enable pin, GPIO[8}, gpio7 */ + mxc_request_iomux(MX53_PIN_ATA_DA_2, IOMUX_CONFIG_ALT1); + gpio_direction_output(IOMUX_TO_GPIO(MX53_PIN_ATA_DA_2), 0); + gpio_set_value(IOMUX_TO_GPIO(MX53_PIN_ATA_DA_2), 1); +} +#endif + static void setup_iomux_fec(void) { /*FEC_MDIO*/ |