2010-05-05 16:35:23 +08:00
|
|
|
/*
|
|
|
|
* altera_uart.h -- Altera UART driver defines.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ALTUART_H
|
|
|
|
#define __ALTUART_H
|
|
|
|
|
2010-10-01 21:22:55 +08:00
|
|
|
#include <linux/init.h>
|
|
|
|
|
2010-05-05 16:35:23 +08: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 21:21:54 +08:00
|
|
|
unsigned int bus_shift; /* Bus shift (address stride) */
|
2010-05-05 16:35:23 +08:00
|
|
|
};
|
|
|
|
|
2010-10-01 21:22:55 +08:00
|
|
|
int __init early_altera_uart_setup(struct altera_uart_platform_uart *platp);
|
|
|
|
|
2010-05-05 16:35:23 +08:00
|
|
|
#endif /* __ALTUART_H */
|