aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-mxc91231/magx-zn5.c
diff options
context:
space:
mode:
authorDmitriy Taychenachev <dimichxp@gmail.com>2009-07-31 20:29:23 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2009-08-14 12:40:47 +0200
commit94da274b4982f5b36b55bde0c76d3ef8233bceda (patch)
treec1684cf7f755642517c2ec4fb52ce958a7e454d6 /arch/arm/mach-mxc91231/magx-zn5.c
parentfd6ac7bb9d671d36fd7536c68fde977d197756ab (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.c4
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);