aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/arch-at91/board.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/asm-arm/arch-at91/board.h b/include/asm-arm/arch-at91/board.h
index 7fefe018833c..3f41ab28b37f 100644
--- a/include/asm-arm/arch-at91/board.h
+++ b/include/asm-arm/arch-at91/board.h
@@ -101,13 +101,23 @@ extern void __init at91_add_device_i2c(struct i2c_board_info *devices, int nr_de
101extern void __init at91_add_device_spi(struct spi_board_info *devices, int nr_devices); 101extern void __init at91_add_device_spi(struct spi_board_info *devices, int nr_devices);
102 102
103 /* Serial */ 103 /* Serial */
104#define ATMEL_UART_CTS 0x01
105#define ATMEL_UART_RTS 0x02
106#define ATMEL_UART_DSR 0x04
107#define ATMEL_UART_DTR 0x08
108#define ATMEL_UART_DCD 0x10
109#define ATMEL_UART_RI 0x20
110
111extern void __init at91_register_uart(unsigned id, unsigned portnr, unsigned pins);
112extern void __init at91_set_serial_console(unsigned portnr);
113
104struct at91_uart_config { 114struct at91_uart_config {
105 unsigned short console_tty; /* tty number of serial console */ 115 unsigned short console_tty; /* tty number of serial console */
106 unsigned short nr_tty; /* number of serial tty's */ 116 unsigned short nr_tty; /* number of serial tty's */
107 short tty_map[]; /* map UART to tty number */ 117 short tty_map[]; /* map UART to tty number */
108}; 118};
109extern struct platform_device *atmel_default_console_device; 119extern struct platform_device *atmel_default_console_device;
110extern void __init at91_init_serial(struct at91_uart_config *config); 120extern void __init __deprecated at91_init_serial(struct at91_uart_config *config);
111 121
112struct atmel_uart_data { 122struct atmel_uart_data {
113 short use_dma_tx; /* use transmit DMA? */ 123 short use_dma_tx; /* use transmit DMA? */