public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Lubomir Popov <lpopov@mm-sol.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] OMAP5: uEVM: Fix pinmux for USB support
Date: Thu, 16 May 2013 10:24:34 +0300	[thread overview]
Message-ID: <519489B2.9030607@mm-sol.com> (raw)

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@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

                 reply	other threads:[~2013-05-16  7:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=519489B2.9030607@mm-sol.com \
    --to=lpopov@mm-sol.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox