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