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