2 * Copyright 2006-2009 Analog Devices Inc.
4 * Licensed under the GPL-2 or later
8 #include <asm/portmux.h>
10 #ifdef CONFIG_BFIN_UART0_CTSRTS
11 # define CONFIG_SERIAL_BFIN_CTSRTS
12 # ifndef CONFIG_UART0_CTS_PIN
13 # define CONFIG_UART0_CTS_PIN -1
15 # ifndef CONFIG_UART0_RTS_PIN
16 # define CONFIG_UART0_RTS_PIN -1
20 struct bfin_serial_res
{
21 unsigned long uart_base_addr
;
24 #ifdef CONFIG_SERIAL_BFIN_DMA
25 unsigned int uart_tx_dma_channel
;
26 unsigned int uart_rx_dma_channel
;
28 #ifdef CONFIG_SERIAL_BFIN_CTSRTS
34 struct bfin_serial_res bfin_serial_resource
[] = {
39 #ifdef CONFIG_SERIAL_BFIN_DMA
43 #ifdef CONFIG_SERIAL_BFIN_CTSRTS
50 #define DRIVER_NAME "bfin-uart"
52 #include <asm/bfin_serial.h>