summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 24c2bea)
raw | patch | inline | side by side (parent: 24c2bea)
author | Hebbar, Gururaja <gururaja.hebbar@ti.com> | |
Wed, 17 Aug 2011 15:24:10 +0000 (20:54 +0530) | ||
committer | Vaibhav Hiremath <hvaibhav@ti.com> | |
Mon, 23 Jan 2012 19:14:31 +0000 (00:44 +0530) |
IA EVM has UART3 as console. provide support for the same
Signed-off-by: Hebbar, Gururaja <gururaja.hebbar@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Hebbar, Gururaja <gururaja.hebbar@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
arch/arm/mach-omap2/board-am335xevm.c | patch | blob | history |
index c275a0fc3ff6bfecc72f922475fc2e0f5ca8d64c..463992a3f27b46fc924cba9527a688b3ed698b77 100644 (file)
{NULL, 0},
};
{NULL, 0},
};
+/* Module pin mux for uart3 */
+static struct pinmux_config uart3_pin_mux[] = {
+ {"spi0_cs1.uart3_rxd", AM33XX_PIN_INPUT_PULLUP},
+ {"ecap0_in_pwm0_out.uart3_txd", AM33XX_PULL_ENBL},
+ {NULL, 0},
+};
+
/*
* @pin_mux - single module pin-mux structure which defines pin-mux
* details for all its pins.
/*
* @pin_mux - single module pin-mux structure which defines pin-mux
* details for all its pins.
return;
}
return;
}
+/* setup uart3 */
+static void uart3_init(int evm_id, int profile)
+{
+ setup_pin_mux(uart3_pin_mux);
+ return;
+}
+
/* NAND partition information */
static struct mtd_partition am335x_nand_partitions[] = {
/* All the partition sizes are listed in terms of NAND block size */
/* NAND partition information */
static struct mtd_partition am335x_nand_partitions[] = {
/* All the partition sizes are listed in terms of NAND block size */
{usb1_init, DEV_ON_BASEBOARD, PROFILE_ALL},
{evm_nand_init, DEV_ON_DGHTR_BRD, PROFILE_ALL},
{spi1_init, DEV_ON_DGHTR_BRD, PROFILE_ALL},
{usb1_init, DEV_ON_BASEBOARD, PROFILE_ALL},
{evm_nand_init, DEV_ON_DGHTR_BRD, PROFILE_ALL},
{spi1_init, DEV_ON_DGHTR_BRD, PROFILE_ALL},
+ {uart3_init, DEV_ON_DGHTR_BRD, PROFILE_ALL},
{NULL, 0, 0},
};
{NULL, 0, 0},
};