Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
uart.h
Go to the documentation of this file.
1 /*
2  * arch/arm/mach-prima2/include/mach/uart.h
3  *
4  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
5  *
6  * Licensed under GPLv2 or later.
7  */
8 
9 #ifndef __MACH_PRIMA2_SIRFSOC_UART_H
10 #define __MACH_PRIMA2_SIRFSOC_UART_H
11 
12 /* UART-1: used as serial debug port */
13 #define SIRFSOC_UART1_PA_BASE 0xb0060000
14 #define SIRFSOC_UART1_VA_BASE SIRFSOC_VA(0x060000)
15 #define SIRFSOC_UART1_SIZE SZ_4K
16 
17 #define SIRFSOC_UART_TXFIFO_STATUS 0x0114
18 #define SIRFSOC_UART_TXFIFO_DATA 0x0118
19 
20 #define SIRFSOC_UART1_TXFIFO_FULL (1 << 5)
21 #define SIRFSOC_UART1_TXFIFO_EMPTY (1 << 6)
22 
23 #endif