提交 aeb6716a 编写于 作者: F Felix Radensky 提交者: Kumar Gala

powerpc/85xx: Fix pin muxing for second USB controller

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: NFelix Radensky <felix@embedded-sol.com>
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 c49290cd
...@@ -2017,7 +2017,7 @@ typedef struct ccsr_gur { ...@@ -2017,7 +2017,7 @@ typedef struct ccsr_gur {
#define MPC85xx_PMUXCR2_PLL_LKDT_EXPOSE 0x00001000 #define MPC85xx_PMUXCR2_PLL_LKDT_EXPOSE 0x00001000
#endif #endif
#if defined(CONFIG_P1013) || defined(CONFIG_P1022) #if defined(CONFIG_P1013) || defined(CONFIG_P1022)
#define MPC85xx_PMUXCR2_ETSECUSB_MASK 0x001f1000 #define MPC85xx_PMUXCR2_ETSECUSB_MASK 0x001f8000
#define MPC85xx_PMUXCR2_USB 0x00150000 #define MPC85xx_PMUXCR2_USB 0x00150000
#endif #endif
u8 res6[8]; u8 res6[8];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册