diff options
author | Tony Lindgren <tony@atomide.com> | 2006-04-02 12:46:22 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-04-02 12:46:22 -0400 |
commit | 8d7f9f5037a09b8570d0c9e60a924ad2ba6fa7dd (patch) | |
tree | 9a9513e45c86b4c520044a99561520756a6395c5 /arch/arm/mach-omap1 | |
parent | a569c6ec37e78eef4299d0a60ae4028459b27117 (diff) |
[ARM] 3428/1: ARM: OMAP: 3/8 Update pin multiplexing
Patch from Tony Lindgren
Update OMAP pin multiplexing code from linux-omap tree.
This patch adds new pin configurations by various OMAP
developers, and suport for omap730 by Brian Swetland.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap1')
-rw-r--r-- | arch/arm/mach-omap1/mux.c | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/arch/arm/mach-omap1/mux.c b/arch/arm/mach-omap1/mux.c index d4b8d624e742..10fe0b3efcac 100644 --- a/arch/arm/mach-omap1/mux.c +++ b/arch/arm/mach-omap1/mux.c | |||
@@ -35,16 +35,20 @@ | |||
35 | 35 | ||
36 | #ifdef CONFIG_ARCH_OMAP730 | 36 | #ifdef CONFIG_ARCH_OMAP730 |
37 | struct pin_config __initdata_or_module omap730_pins[] = { | 37 | struct pin_config __initdata_or_module omap730_pins[] = { |
38 | MUX_CFG_730("E2_730_KBR0", 12, 21, 0, 0, 20, 1, NA, 0, 0) | 38 | MUX_CFG_730("E2_730_KBR0", 12, 21, 0, 20, 1, 0) |
39 | MUX_CFG_730("J7_730_KBR1", 12, 25, 0, 0, 24, 1, NA, 0, 0) | 39 | MUX_CFG_730("J7_730_KBR1", 12, 25, 0, 24, 1, 0) |
40 | MUX_CFG_730("E1_730_KBR2", 12, 29, 0, 0, 28, 1, NA, 0, 0) | 40 | MUX_CFG_730("E1_730_KBR2", 12, 29, 0, 28, 1, 0) |
41 | MUX_CFG_730("F3_730_KBR3", 13, 1, 0, 0, 0, 1, NA, 0, 0) | 41 | MUX_CFG_730("F3_730_KBR3", 13, 1, 0, 0, 1, 0) |
42 | MUX_CFG_730("D2_730_KBR4", 13, 5, 0, 0, 4, 1, NA, 0, 0) | 42 | MUX_CFG_730("D2_730_KBR4", 13, 5, 0, 4, 1, 0) |
43 | MUX_CFG_730("C2_730_KBC0", 13, 9, 0, 0, 8, 1, NA, 0, 0) | 43 | MUX_CFG_730("C2_730_KBC0", 13, 9, 0, 8, 1, 0) |
44 | MUX_CFG_730("D3_730_KBC1", 13, 13, 0, 0, 12, 1, NA, 0, 0) | 44 | MUX_CFG_730("D3_730_KBC1", 13, 13, 0, 12, 1, 0) |
45 | MUX_CFG_730("E4_730_KBC2", 13, 17, 0, 0, 16, 1, NA, 0, 0) | 45 | MUX_CFG_730("E4_730_KBC2", 13, 17, 0, 16, 1, 0) |
46 | MUX_CFG_730("F4_730_KBC3", 13, 21, 0, 0, 20, 1, NA, 0, 0) | 46 | MUX_CFG_730("F4_730_KBC3", 13, 21, 0, 20, 1, 0) |
47 | MUX_CFG_730("E3_730_KBC4", 13, 25, 0, 0, 24, 1, NA, 0, 0) | 47 | MUX_CFG_730("E3_730_KBC4", 13, 25, 0, 24, 1, 0) |
48 | |||
49 | MUX_CFG_730("AA17_730_USB_DM", 2, 21, 0, 20, 0, 0) | ||
50 | MUX_CFG_730("W16_730_USB_PU_EN", 2, 25, 0, 24, 0, 0) | ||
51 | MUX_CFG_730("W17_730_USB_VBUSI", 2, 29, 0, 28, 0, 0) | ||
48 | }; | 52 | }; |
49 | #endif | 53 | #endif |
50 | 54 | ||
@@ -73,8 +77,8 @@ MUX_CFG("UART3_BCLK", A, 0, 0, 2, 6, 0, NA, 0, 0) | |||
73 | MUX_CFG("Y15_1610_UART3_RTS", A, 0, 1, 2, 6, 0, NA, 0, 0) | 77 | MUX_CFG("Y15_1610_UART3_RTS", A, 0, 1, 2, 6, 0, NA, 0, 0) |
74 | 78 | ||
75 | /* PWT & PWL, conflicts with UART3 */ | 79 | /* PWT & PWL, conflicts with UART3 */ |
76 | MUX_CFG("PWT", 6, 0, 2, 0, 30, 0, NA, 0, 0) | 80 | MUX_CFG("PWT", 6, 0, 2, 0, 30, 0, NA, 0, 0) |
77 | MUX_CFG("PWL", 6, 3, 1, 0, 31, 1, NA, 0, 0) | 81 | MUX_CFG("PWL", 6, 3, 1, 0, 31, 1, NA, 0, 0) |
78 | 82 | ||
79 | /* USB internal master generic */ | 83 | /* USB internal master generic */ |
80 | MUX_CFG("R18_USB_VBUS", 7, 9, 2, 1, 11, 0, NA, 0, 1) | 84 | MUX_CFG("R18_USB_VBUS", 7, 9, 2, 1, 11, 0, NA, 0, 1) |
@@ -151,7 +155,7 @@ MUX_CFG("MCBSP3_CLKX", 9, 3, 1, 1, 29, 0, NA, 0, 1) | |||
151 | 155 | ||
152 | /* Misc ballouts */ | 156 | /* Misc ballouts */ |
153 | MUX_CFG("BALLOUT_V8_ARMIO3", B, 18, 0, 2, 25, 1, NA, 0, 1) | 157 | MUX_CFG("BALLOUT_V8_ARMIO3", B, 18, 0, 2, 25, 1, NA, 0, 1) |
154 | MUX_CFG("N20_HDQ", 6, 18, 1, 1, 4, 0, 1, 4, 0) | 158 | MUX_CFG("N20_HDQ", 6, 18, 1, 1, 4, 0, 1, 4, 0) |
155 | 159 | ||
156 | /* OMAP-1610 MMC2 */ | 160 | /* OMAP-1610 MMC2 */ |
157 | MUX_CFG("W8_1610_MMC2_DAT0", B, 21, 6, 2, 23, 1, 2, 1, 1) | 161 | MUX_CFG("W8_1610_MMC2_DAT0", B, 21, 6, 2, 23, 1, 2, 1, 1) |