diff options
author | Dmitriy Taychenachev <dimichxp@gmail.com> | 2009-07-31 07:29:23 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-08-14 06:40:47 -0400 |
commit | 94da274b4982f5b36b55bde0c76d3ef8233bceda (patch) | |
tree | c1684cf7f755642517c2ec4fb52ce958a7e454d6 /arch/arm/mach-mxc91231/magx-zn5.c | |
parent | fd6ac7bb9d671d36fd7536c68fde977d197756ab (diff) |
MXC: add iomux pins configuration support for MXC91231
Signed-off-by: Dmitriy Taychenachev <dimichxp@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxc91231/magx-zn5.c')
-rw-r--r-- | arch/arm/mach-mxc91231/magx-zn5.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mxc91231/magx-zn5.c b/arch/arm/mach-mxc91231/magx-zn5.c index 8757573b0a8a..7dbe4ca12efd 100644 --- a/arch/arm/mach-mxc91231/magx-zn5.c +++ b/arch/arm/mach-mxc91231/magx-zn5.c | |||
@@ -14,6 +14,7 @@ | |||
14 | 14 | ||
15 | #include <mach/common.h> | 15 | #include <mach/common.h> |
16 | #include <mach/hardware.h> | 16 | #include <mach/hardware.h> |
17 | #include <mach/iomux-mxc91231.h> | ||
17 | #include <mach/mmc.h> | 18 | #include <mach/mmc.h> |
18 | #include <mach/imx-uart.h> | 19 | #include <mach/imx-uart.h> |
19 | 20 | ||
@@ -29,6 +30,9 @@ static void __init zn5_init(void) | |||
29 | { | 30 | { |
30 | pm_power_off = mxc91231_power_off; | 31 | pm_power_off = mxc91231_power_off; |
31 | 32 | ||
33 | mxc_iomux_alloc_pin(MXC91231_PIN_SP_USB_DAT_VP__RXD2, "uart2-rx"); | ||
34 | mxc_iomux_alloc_pin(MXC91231_PIN_SP_USB_SE0_VM__TXD2, "uart2-tx"); | ||
35 | |||
32 | mxc_register_device(&mxc_uart_device1, &uart_pdata); | 36 | mxc_register_device(&mxc_uart_device1, &uart_pdata); |
33 | mxc_register_device(&mxc_uart_device0, &uart_pdata); | 37 | mxc_register_device(&mxc_uart_device0, &uart_pdata); |
34 | 38 | ||