Merge branch 'next/soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux...
[pandora-kernel.git] / arch / arm / mach-zynq / include / mach / uart.h
1 /* arch/arm/mach-zynq/include/mach/uart.h
2  *
3  *  Copyright (C) 2011 Xilinx
4  *
5  * This software is licensed under the terms of the GNU General Public
6  * License version 2, as published by the Free Software Foundation, and
7  * may be copied, distributed, and modified under those terms.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  */
14
15 #ifndef __MACH_UART_H__
16 #define __MACH_UART_H__
17
18 #define UART_CR_OFFSET          0x00  /* Control Register [8:0] */
19 #define UART_SR_OFFSET          0x2C  /* Channel Status [11:0] */
20 #define UART_FIFO_OFFSET        0x30  /* FIFO [15:0] or [7:0] */
21
22 #define UART_SR_TXFULL          0x00000010      /* TX FIFO full */
23 #define UART_SR_TXEMPTY         0x00000008      /* TX FIFO empty */
24
25 #endif