Tobias Klauser | 6b7d8f8 | 2010-05-05 10:35:23 +0200 | [diff] [blame] | 1 | /* |
| 2 | * altera_uart.h -- Altera UART driver defines. |
| 3 | */ |
| 4 | |
| 5 | #ifndef __ALTUART_H |
| 6 | #define __ALTUART_H |
| 7 | |
Anton Vorontsov | 5d89a48 | 2010-10-01 17:22:55 +0400 | [diff] [blame^] | 8 | #include <linux/init.h> |
| 9 | |
Tobias Klauser | 6b7d8f8 | 2010-05-05 10:35:23 +0200 | [diff] [blame] | 10 | struct altera_uart_platform_uart { |
| 11 | unsigned long mapbase; /* Physical address base */ |
| 12 | unsigned int irq; /* Interrupt vector */ |
| 13 | unsigned int uartclk; /* UART clock rate */ |
Anton Vorontsov | 0d426ed | 2010-10-01 17:21:54 +0400 | [diff] [blame] | 14 | unsigned int bus_shift; /* Bus shift (address stride) */ |
Tobias Klauser | 6b7d8f8 | 2010-05-05 10:35:23 +0200 | [diff] [blame] | 15 | }; |
| 16 | |
Anton Vorontsov | 5d89a48 | 2010-10-01 17:22:55 +0400 | [diff] [blame^] | 17 | int __init early_altera_uart_setup(struct altera_uart_platform_uart *platp); |
| 18 | |
Tobias Klauser | 6b7d8f8 | 2010-05-05 10:35:23 +0200 | [diff] [blame] | 19 | #endif /* __ALTUART_H */ |