This patch adds the IO pad mux for OMAP EHCI pins Signed-off-by: Vikram Pandita <vikram.pandita@xxxxxx> Acked-by: Kamat, Nishant <nskamat@xxxxxx> ---- arch/arm/mach-omap2/mux.c | 78 ++++++++++++++++++++++++++++++++++++++++ include/asm-arm/arch-omap/mux.h | 42 +++++++++++++++++++++ 2 files changed, 120 insertions(+) Index: omap-submit/arch/arm/mach-omap2/mux.c =================================================================== --- omap-submit.orig/arch/arm/mach-omap2/mux.c 2008-01-02 15:06:18.000000000 +0530 +++ omap-submit/arch/arm/mach-omap2/mux.c 2008-01-02 17:57:46.000000000 +0530 @@ -275,6 +275,84 @@ MUX_CFG_34XX("T4_3430_USB2HS_PHY_D3", 0x1de, 3, 0, 0, 1, 0, 0, 0, 0, 0, 0) +/* TLL - HSUSB: 12-pin TLL Port 1*/ +MUX_CFG_34XX("Y9_3430_USB1HS_TLL_STP", 0x5d8, 6, 0, 0, 1, + 0, 0, 0, 0, 0, 0) +MUX_CFG_34XX("Y8_3430_USB1HS_TLL_CLK", 0x5da, 6, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("W13_3430_USB1HS_TLL_D0", 0x5dc, 6, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("W12_3430_USB1HS_TLL_D1", 0x5de, 6, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("W11_3430_USB1HS_TLL_D2", 0x5e0, 6, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("Y13_3430_USB1HS_TLL_D7", 0x5e2, 6, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("W9_3430_USB1HS_TLL_D4", 0x5e4, 6, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("Y12_3430_USB1HS_TLL_D5", 0x5e6, 6, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("W8_3430_USB1HS_TLL_D6", 0x5e8, 6, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("Y11_3430_USB1HS_TLL_D3", 0x5ea, 6, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("AA14_3430_USB1HS_TLL_DIR", 0x5ec, 6, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("AA11_3430_USB1HS_TLL_NXT", 0x5ee, 6, 1, 0, 1, + 0, 0, 0, 1, 0, 0) + +/* TLL - HSUSB: 12-pin TLL Port 2*/ +MUX_CFG_34XX("AA8_3430_USB2HS_TLL_CLK", 0x5f0, 6, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("AA10_3430_USB2HS_TLL_STP", 0x5f2, 6, 0, 0, 1, + 0, 0, 0, 0, 0, 0) +MUX_CFG_34XX("AA9_3430_USB2HS_TLL_DIR", 0x5f4, 6, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("AB11_3430_USB2HS_TLL_NXT", 0x5f6, 6, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("AB10_3430_USB2HS_TLL_D0", 0x5f8, 6, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("AB9_3430_USB2HS_TLL_D1", 0x5fa, 6, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("W3_3430_USB2HS_TLL_D2", 0x1d4, 2, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("T2_3430_USB2HS_TLL_D7", 0x1d6, 2, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("T3_3430_USB2HS_TLL_D4", 0x1d8, 2, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("R3_3430_USB2HS_TLL_D5", 0x1da, 2, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("R4_3430_USB2HS_TLL_D6", 0x1dc, 2, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("T4_3430_USB2HS_TLL_D3", 0x1de, 2, 1, 0, 1, + 0, 0, 0, 1, 0, 0) + +/* TLL - HSUSB: 12-pin TLL Port 3*/ +MUX_CFG_34XX("AB3_3430_USB3HS_TLL_STP", 0x166, 5, 0, 0, 1, + 0, 0, 0, 0, 0, 0) +MUX_CFG_34XX("AA3_3430_USB3HS_TLL_DIR", 0x168, 5, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("Y3_3430_USB3HS_TLL_NXT", 0x16a, 5, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("AB12_3430_USB3HS_TLL_D4", 0x16c, 5, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("AB13_3430_USB3HS_TLL_D5", 0x16e, 5, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("AA13_3430_USB3HS_TLL_D6", 0x170, 5, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("AA12_3430_USB3HS_TLL_D7", 0x172, 5, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("AA6_3430_USB3HS_TLL_CLK", 0x180, 5, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("Y4_3430_USB3HS_TLL_D1", 0x184, 5, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("AA5_3430_USB3HS_TLL_D0", 0x186, 5, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("Y5_3430_USB3HS_TLL_D2", 0x188, 5, 1, 0, 1, + 0, 0, 0, 1, 0, 0) +MUX_CFG_34XX("W5_3430_USB3HS_TLL_D3", 0x18a, 5, 1, 0, 1, + 0, 0, 0, 1, 0, 0) + }; int __init omap3_mux_init(void) Index: omap-submit/include/asm-arm/arch-omap/mux.h =================================================================== --- omap-submit.orig/include/asm-arm/arch-omap/mux.h 2008-01-02 15:06:18.000000000 +0530 +++ omap-submit/include/asm-arm/arch-omap/mux.h 2008-01-02 15:09:02.000000000 +0530 @@ -662,6 +662,48 @@ R4_3430_USB2HS_PHY_DATA6, T4_3430_USB2HS_PHY_DATA3, + /* TLL - HSUSB: 12-pin TLL Port 1*/ + Y9_3430_USB1HS_TLL_STP, + Y8_3430_USB1HS_TLL_CLK, + W13_3430_USB1HS_TLL_DATA0, + W12_3430_USB1HS_TLL_DATA1, + W11_3430_USB1HS_TLL_DATA2, + Y13_3430_USB1HS_TLL_DATA7, + W9_3430_USB1HS_TLL_DATA4, + Y12_3430_USB1HS_TLL_DATA5, + W8_3430_USB1HS_TLL_DATA6, + Y11_3430_USB1HS_TLL_DATA3, + AA14_3430_USB1HS_TLL_DIR, + AA11_3430_USB1HS_TLL_NXT, + + /* TLL - HSUSB: 12-pin TLL Port 2*/ + AA8_3430_USB2HS_TLL_CLK, + AA10_3430_USB2HS_TLL_STP, + AA9_3430_USB2HS_TLL_DIR, + AB11_3430_USB2HS_TLL_NXT, + AB10_3430_USB2HS_TLL_DATA0, + AB9_3430_USB2HS_TLL_DATA1, + W3_3430_USB2HS_TLL_DATA2, + T2_3430_USB2HS_TLL_DATA7, + T3_3430_USB2HS_TLL_DATA4, + R3_3430_USB2HS_TLL_DATA5, + R4_3430_USB2HS_TLL_DATA6, + T4_3430_USB2HS_TLL_DATA3, + + /* TLL - HSUSB: 12-pin TLL Port 3*/ + AB3_3430_USB3HS_TLL_STP, + AA3_3430_USB3HS_TLL_DIR, + Y3_3430_USB3HS_TLL_NXT, + AB12_3430_USB3HS_TLL_DATA4, + AB13_3430_USB3HS_TLL_DATA5, + AA13_3430_USB3HS_TLL_DATA6, + AA12_3430_USB3HS_TLL_DATA7, + AA6_3430_USB3HS_TLL_CLK, + Y4_3430_USB3HS_TLL_DATA1, + AA5_3430_USB3HS_TLL_DATA0, + Y5_3430_USB3HS_TLL_DATA2, + W5_3430_USB3HS_TLL_DATA3 + }; #ifdef CONFIG_OMAP_MUX - To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html