[U-Boot] [PATCH v3 2/3] arm, davinci, da850: add uart1 tx rx pinmux config

Tom Rini tom.rini at gmail.com
Mon Nov 28 15:57:33 CET 2011


On Mon, Nov 28, 2011 at 3:44 AM, Heiko Schocher <hs at denx.de> wrote:
> Signed-off-by: Heiko Schocher <hs at denx.de>
> 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>

Acked-by: Tom Rini <trini at ti.com>

> ---
>  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
>
>



-- 
Tom


More information about the U-Boot mailing list