diff options
author | Dmitriy Taychenachev <dimichxp@gmail.com> | 2009-07-31 13:29:23 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-08-14 12:40:47 +0200 |
commit | 94da274b4982f5b36b55bde0c76d3ef8233bceda (patch) | |
tree | c1684cf7f755642517c2ec4fb52ce958a7e454d6 /arch/arm/mach-mxc91231/magx-zn5.c | |
parent | MXC: add basic MXC91231 support (diff) | |
download | linux-94da274b4982f5b36b55bde0c76d3ef8233bceda.tar.xz linux-94da274b4982f5b36b55bde0c76d3ef8233bceda.zip |
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 @@ #include <mach/common.h> #include <mach/hardware.h> +#include <mach/iomux-mxc91231.h> #include <mach/mmc.h> #include <mach/imx-uart.h> @@ -29,6 +30,9 @@ static void __init zn5_init(void) { pm_power_off = mxc91231_power_off; + mxc_iomux_alloc_pin(MXC91231_PIN_SP_USB_DAT_VP__RXD2, "uart2-rx"); + mxc_iomux_alloc_pin(MXC91231_PIN_SP_USB_SE0_VM__TXD2, "uart2-tx"); + mxc_register_device(&mxc_uart_device1, &uart_pdata); mxc_register_device(&mxc_uart_device0, &uart_pdata); |