[U-Boot] [PATCH] OMAP5: uEVM: Fix pinmux for USB support

Lubomir Popov lpopov at mm-sol.com
Thu May 16 09:24:34 CEST 2013


Set mux mode to GPIO for the pads used for HSIC USB
device reset.

Remove useless pinmux for USBB1_HSIC - the OMAP5432
does not have this port bonded out.

Signed-off-by: Lubomir Popov <lpopov at mm-sol.com>
---
I shall again point out that this mux_data.h file comes from the sEVM
board without any modification at all and has to be carefully fixed.
This patch addresses the USB reset function only.

 board/ti/omap5_uevm/mux_data.h |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/board/ti/omap5_uevm/mux_data.h b/board/ti/omap5_uevm/mux_data.h
index a82795d..054ada6 100644
--- a/board/ti/omap5_uevm/mux_data.h
+++ b/board/ti/omap5_uevm/mux_data.h
@@ -47,8 +47,7 @@ const struct pad_conf_entry core_padconf_array_essential[] = {
 	{SDCARD_DATA3, (PTU | IEN | M0)}, /*  SDCARD_DATA3*/
 	{UART3_RX_IRRX, (PTU | IEN | M0)}, /*  UART3_RX_IRRX    */
 	{UART3_TX_IRTX, (M0)},    /*  UART3_TX_IRTX    */
-	{USBB1_HSIC_STROBE, (PTU | IEN | M0)},    /*  USBB1_HSIC_STROBE */
-	{USBB1_HSIC_DATA, (PTU | IEN | M0)},    /*  USBB1_HSIC_DATA */
+
 	{USBB2_HSIC_STROBE, (PTU | IEN | M0)},    /*  USBB2_HSIC_STROBE */
 	{USBB2_HSIC_DATA, (PTU | IEN | M0)},    /*  USBB2_HSIC_DATA  */
 	{USBB3_HSIC_STROBE, (PTU | IEN | M0)},    /*  USBB3_HSIC_STROBE*/
@@ -57,6 +56,8 @@ const struct pad_conf_entry core_padconf_array_essential[] = {
 	{USBD0_HS_DM, (IEN | M0)},	/*  USBD0_HS_DM */
 	{USBD0_SS_RX, (IEN | M0)},	/*  USBD0_SS_RX */
 
+	{HSI2_ACWAKE, (PTD | M6)},    /*  GPIO3_79: ETH_nRST */
+	{HSI2_CAFLAG, (PTD | M6)},    /*  GPIO3_80: H_USBH_NRESET */
 };
 
 const struct pad_conf_entry wkup_padconf_array_essential[] = {
@@ -114,8 +115,6 @@ const struct pad_conf_entry core_padconf_array_non_essential[] = {
 	{HSI2_CAREADY, (IEN | M0)},    /*  HSI2_CAREADY */
 	{HSI2_ACREADY, (OFF_EN | M0)},    /*  HSI2_ACREADY */
 	{HSI2_CAWAKE, (IEN | PTD | M0)},    /*  HSI2_CAWAKE  */
-	{HSI2_ACWAKE, (M0)},    /*  HSI2_ACWAKE  */
-	{HSI2_CAFLAG, (IEN | PTD | M0)},    /*  HSI2_CAFLAG  */
 	{HSI2_CADATA, (IEN | PTD | M0)},    /*  HSI2_CADATA  */
 	{HSI2_ACFLAG, (M0)},    /*  HSI2_ACFLAG  */
 	{HSI2_ACDATA, (M0)},    /*  HSI2_ACDATA  */
-- 
1.7.9.5


More information about the U-Boot mailing list