summaryrefslogblamecommitdiff
path: root/include/linux/altera_uart.h
blob: a10a907919764811678f994819f053efb379a9e8 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                               

                       



                                                           
                                                                

  

                                                                            
                        
/*
 * altera_uart.h -- Altera UART driver defines.
 */

#ifndef	__ALTUART_H
#define	__ALTUART_H

#include <linux/init.h>

struct altera_uart_platform_uart {
	unsigned long mapbase;	/* Physical address base */
	unsigned int irq;	/* Interrupt vector */
	unsigned int uartclk;	/* UART clock rate */
	unsigned int bus_shift;	/* Bus shift (address stride) */
};

int __init early_altera_uart_setup(struct altera_uart_platform_uart *platp);

#endif /* __ALTUART_H */