aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/altera_uart.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-05-05 10:35:23 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-21 09:34:30 -0700
commit6b7d8f8b5c43f7bedda750d8a9dab0658da1d2ba (patch)
tree5af3b8bf06f8406fe537c5cbaa4e5c84b088ff1e /include/linux/altera_uart.h
parentserial: Add driver for the Altera JTAG UART (diff)
downloadlinux-dev-6b7d8f8b5c43f7bedda750d8a9dab0658da1d2ba.tar.xz
linux-dev-6b7d8f8b5c43f7bedda750d8a9dab0658da1d2ba.zip
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/linux/altera_uart.h')
-rw-r--r--include/linux/altera_uart.h14
1 files changed, 14 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 @@
+/*
+ * 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 */