diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-05-05 08:35:23 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-21 16:34:30 (GMT) |
commit | 6b7d8f8b5c43f7bedda750d8a9dab0658da1d2ba (patch) | |
tree | 5af3b8bf06f8406fe537c5cbaa4e5c84b088ff1e /include | |
parent | 5bcd601049c6b2ad52733d4cd2794bfbaf1b9314 (diff) | |
download | linux-6b7d8f8b5c43f7bedda750d8a9dab0658da1d2ba.tar.xz |
serial: Add driver for the Altera UART
Add an UART driver for the UART component available as a SOPC (System on
Programmable Chip) component for Altera FPGAs.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/altera_uart.h | 14 | ||||
-rw-r--r-- | include/linux/serial_core.h | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/altera_uart.h b/include/linux/altera_uart.h new file mode 100644 index 0000000..8d44106 --- /dev/null +++ b/include/linux/altera_uart.h @@ -0,0 +1,14 @@ +/* + * altera_uart.h -- Altera UART driver defines. + */ + +#ifndef __ALTUART_H +#define __ALTUART_H + +struct altera_uart_platform_uart { + unsigned long mapbase; /* Physical address base */ + unsigned int irq; /* Interrupt vector */ + unsigned int uartclk; /* UART clock rate */ +}; + +#endif /* __ALTUART_H */ diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index ade1536..09d0d2d 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -184,6 +184,7 @@ /* Altera UARTs */ #define PORT_ALTERA_JTAGUART 91 +#define PORT_ALTERA_UART 92 #ifdef __KERNEL__ |