diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-05-05 10:35:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-21 09:34:30 -0700 |
commit | 5bcd601049c6b2ad52733d4cd2794bfbaf1b9314 (patch) | |
tree | 17be8d880b26e513a1239a7c26b6ba87d8aa7640 /include/linux/altera_jtaguart.h | |
parent | 24cd73a3942f3df214d7953f0cfd65d5085fa583 (diff) |
serial: Add driver for the Altera JTAG UART
Add an UART driver for the JTAG 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_jtaguart.h')
-rw-r--r-- | include/linux/altera_jtaguart.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/altera_jtaguart.h b/include/linux/altera_jtaguart.h new file mode 100644 index 000000000000..953b178a1650 --- /dev/null +++ b/include/linux/altera_jtaguart.h @@ -0,0 +1,16 @@ +/* + * altera_jtaguart.h -- Altera JTAG UART driver defines. + */ + +#ifndef __ALTJUART_H +#define __ALTJUART_H + +#define ALTERA_JTAGUART_MAJOR 204 +#define ALTERA_JTAGUART_MINOR 186 + +struct altera_jtaguart_platform_uart { + unsigned long mapbase; /* Physical address base */ + unsigned int irq; /* Interrupt vector */ +}; + +#endif /* __ALTJUART_H */ |