]> git.sur5r.net Git - u-boot/commitdiff
board/BuR/tseries: Chg Pinmux - enable UART1 pins
authorHannes Petermaier <oe5hpm@oevsv.at>
Tue, 3 Feb 2015 12:22:33 +0000 (13:22 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 6 Mar 2015 01:13:18 +0000 (20:13 -0500)
Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
board/BuR/tseries/mux.c

index 330429acf9b3acfe6f64402e460d81b24a11371d..2c87a63b85e45117144846dc1c4dca252248e872 100644 (file)
@@ -25,6 +25,13 @@ static struct module_pin_mux uart0_pin_mux[] = {
        {OFFSET(uart0_txd), (MODE(0) | PULLUDEN)},
        {-1},
 };
+static struct module_pin_mux uart1_pin_mux[] = {
+       /* UART0_RXD */
+       {OFFSET(uart1_rxd), (MODE(0) | PULLUDEN | PULLUP_EN | RXACTIVE)},
+       /* UART0_TXD */
+       {OFFSET(uart1_txd), (MODE(0) | PULLUDEN)},
+       {-1},
+};
 #ifdef CONFIG_MMC
 static struct module_pin_mux mmc1_pin_mux[] = {
        {OFFSET(gpmc_ad7), (MODE(1) | RXACTIVE | PULLUP_EN)},   /* MMC1_DAT7 */
@@ -236,5 +243,6 @@ void enable_board_pin_mux(void)
 #endif
        configure_module_pin_mux(spi0_pin_mux);
        configure_module_pin_mux(lcd_pin_mux);
+       configure_module_pin_mux(uart1_pin_mux);
        configure_module_pin_mux(gpIOs);
 }