diff mbox

[U-Boot] 85XX: Fix pin muxing for second USB controller

Message ID 1309156769-4474-1-git-send-email-felix@embedded-sol.com
State Accepted
Commit aeb6716a12c68644d6dc1e798b724086c3cfcd24
Headers show

Commit Message

Felix Radensky June 27, 2011, 6:39 a.m. UTC
On P1022/P1013 second USB controller is muxed with second
Ethernet controller. The current code to enable second USB
fails to properly clear pinmux bits used by ethernet. As a
result, Linux freezes when this controller is used. This
patch fixes the problem.

Signed-off-by: Felix Radensky <felix@embedded-sol.com>
---
 arch/powerpc/include/asm/immap_85xx.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Kumar Gala June 29, 2011, 5:56 p.m. UTC | #1
On Jun 27, 2011, at 1:39 AM, Felix Radensky wrote:

> On P1022/P1013 second USB controller is muxed with second
> Ethernet controller. The current code to enable second USB
> fails to properly clear pinmux bits used by ethernet. As a
> result, Linux freezes when this controller is used. This
> patch fixes the problem.
> 
> Signed-off-by: Felix Radensky <felix@embedded-sol.com>
> ---
> arch/powerpc/include/asm/immap_85xx.h |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

applied to 85xx

- k
diff mbox

Patch

diff --git a/arch/powerpc/include/asm/immap_85xx.h b/arch/powerpc/include/asm/immap_85xx.h
index f85cee2..267a940 100644
--- a/arch/powerpc/include/asm/immap_85xx.h
+++ b/arch/powerpc/include/asm/immap_85xx.h
@@ -2017,7 +2017,7 @@  typedef struct ccsr_gur {
 #define MPC85xx_PMUXCR2_PLL_LKDT_EXPOSE		0x00001000
 #endif
 #if defined(CONFIG_P1013) || defined(CONFIG_P1022)
-#define MPC85xx_PMUXCR2_ETSECUSB_MASK	0x001f1000
+#define MPC85xx_PMUXCR2_ETSECUSB_MASK	0x001f8000
 #define MPC85xx_PMUXCR2_USB		0x00150000
 #endif
 	u8	res6[8];