[U-Boot] [PATCH v4 2/5] arm, davinci, da850: add uart1 tx rx pinmux config
Heiko Schocher
hs at denx.de
Tue Nov 29 13:33:44 CET 2011
Signed-off-by: Heiko Schocher <hs at denx.de>
Acked-by: Tom Rini <trini at ti.com>
Cc: Sandeep Paulraj <s-paulraj at ti.com>
Cc: Tom Rini <tom.rini at gmail.com>
Cc: Albert ARIBAUD <albert.u.boot at aribaud.net>
Cc: Christian Riesch <christian.riesch at omicron.at>
---
changes for v4:
add Acked-by from Tom Rini
arch/arm/cpu/arm926ejs/davinci/da850_pinmux.c | 5 +++++
arch/arm/include/asm/arch-davinci/pinmux_defs.h | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
arch/arm/cpu/arm926ejs/davinci/da850_pinmux.c | 5 +++++
arch/arm/include/asm/arch-davinci/pinmux_defs.h | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/arm/cpu/arm926ejs/davinci/da850_pinmux.c b/arch/arm/cpu/arm926ejs/davinci/da850_pinmux.c
index a3472ea..fa07fb5 100644
--- a/arch/arm/cpu/arm926ejs/davinci/da850_pinmux.c
+++ b/arch/arm/cpu/arm926ejs/davinci/da850_pinmux.c
@@ -35,6 +35,11 @@ const struct pinmux_config spi1_pins_scs0[] = {
};
/* UART pin muxer settings */
+const struct pinmux_config uart1_pins_txrx[] = {
+ { pinmux(4), 2, 6 }, /* UART1_RXD */
+ { pinmux(4), 2, 7 }, /* UART1_TXD */
+};
+
const struct pinmux_config uart2_pins_txrx[] = {
{ pinmux(4), 2, 4 }, /* UART2_RXD */
{ pinmux(4), 2, 5 }, /* UART2_TXD */
diff --git a/arch/arm/include/asm/arch-davinci/pinmux_defs.h b/arch/arm/include/asm/arch-davinci/pinmux_defs.h
index 191494b..07aceaa 100644
--- a/arch/arm/include/asm/arch-davinci/pinmux_defs.h
+++ b/arch/arm/include/asm/arch-davinci/pinmux_defs.h
@@ -28,6 +28,7 @@ extern const struct pinmux_config spi1_pins_base[3];
extern const struct pinmux_config spi1_pins_scs0[1];
/* UART pin muxer settings */
+extern const struct pinmux_config uart1_pins_txrx[2];
extern const struct pinmux_config uart2_pins_txrx[2];
extern const struct pinmux_config uart2_pins_rtscts[2];
--
1.7.6.4
More information about the U-Boot
mailing list