xref: /openbmc/u-boot/board/ti/am43xx/mux.c (revision 8f380381)
1 /*
2  * mux.c
3  *
4  * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
5  *
6  * SPDX-License-Identifier:	GPL-2.0+
7  */
8 
9 #include <common.h>
10 #include <asm/arch/sys_proto.h>
11 #include <asm/arch/mux.h>
12 #include "board.h"
13 
14 static struct module_pin_mux uart0_pin_mux[] = {
15 	{OFFSET(uart0_rxd), (MODE(0) | RXACTIVE)},	/* UART0_RXD */
16 	{OFFSET(uart0_txd), (MODE(0))},			/* UART0_TXD */
17 	{-1},
18 };
19 
20 void enable_uart0_pin_mux(void)
21 {
22 	configure_module_pin_mux(uart0_pin_mux);
23 }
24 
25 void enable_board_pin_mux(void)
26 {
27 }
28