mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 09:36:25 +00:00 
			
		
		
		
	 6b7d8f8b5c
			
		
	
	
		6b7d8f8b5c
		
	
	
	
	
		
			
			Add an UART driver for the UART component available as a SOPC (System on Programmable Chip) component for Altera FPGAs. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
		
			
				
	
	
		
			15 lines
		
	
	
		
			300 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			300 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * altera_uart.h -- Altera UART driver defines.
 | |
|  */
 | |
| 
 | |
| #ifndef	__ALTUART_H
 | |
| #define	__ALTUART_H
 | |
| 
 | |
| struct altera_uart_platform_uart {
 | |
| 	unsigned long mapbase;	/* Physical address base */
 | |
| 	unsigned int irq;	/* Interrupt vector */
 | |
| 	unsigned int uartclk;	/* UART clock rate */
 | |
| };
 | |
| 
 | |
| #endif /* __ALTUART_H */
 |