2010-05-05 08:35:23 +00:00
|
|
|
/*
|
|
|
|
* altera_uart.h -- Altera UART driver defines.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ALTUART_H
|
|
|
|
#define __ALTUART_H
|
|
|
|
|
2010-10-01 13:22:55 +00:00
|
|
|
#include <linux/init.h>
|
|
|
|
|
2010-05-05 08:35:23 +00:00
|
|
|
struct altera_uart_platform_uart {
|
|
|
|
unsigned long mapbase; /* Physical address base */
|
|
|
|
unsigned int irq; /* Interrupt vector */
|
|
|
|
unsigned int uartclk; /* UART clock rate */
|
2010-10-01 13:21:54 +00:00
|
|
|
unsigned int bus_shift; /* Bus shift (address stride) */
|
2010-05-05 08:35:23 +00:00
|
|
|
};
|
|
|
|
|
2010-10-01 13:22:55 +00:00
|
|
|
int __init early_altera_uart_setup(struct altera_uart_platform_uart *platp);
|
|
|
|
|
2010-05-05 08:35:23 +00:00
|
|
|
#endif /* __ALTUART_H */
|