aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-05-05 04:35:23 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-21 12:34:30 -0400
commit6b7d8f8b5c43f7bedda750d8a9dab0658da1d2ba (patch)
tree5af3b8bf06f8406fe537c5cbaa4e5c84b088ff1e /include
parent5bcd601049c6b2ad52733d4cd2794bfbaf1b9314 (diff)
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.h14
-rw-r--r--include/linux/serial_core.h1
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 000000000000..8d441064a30d
--- /dev/null
+++ b/include/linux/altera_uart.h
@@ -0,0 +1,14 @@
1/*
2 * altera_uart.h -- Altera UART driver defines.
3 */
4
5#ifndef __ALTUART_H
6#define __ALTUART_H
7
8struct altera_uart_platform_uart {
9 unsigned long mapbase; /* Physical address base */
10 unsigned int irq; /* Interrupt vector */
11 unsigned int uartclk; /* UART clock rate */
12};
13
14#endif /* __ALTUART_H */
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index ade1536e1a48..09d0d2d5a08b 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -184,6 +184,7 @@
184 184
185/* Altera UARTs */ 185/* Altera UARTs */
186#define PORT_ALTERA_JTAGUART 91 186#define PORT_ALTERA_JTAGUART 91
187#define PORT_ALTERA_UART 92
187 188
188#ifdef __KERNEL__ 189#ifdef __KERNEL__
189 190