Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / arch / tile / include / hv / drv_uart_intf.h
1 /*
2  * Copyright 2013 Tilera Corporation. All Rights Reserved.
3  *
4  *   This program is free software; you can redistribute it and/or
5  *   modify it under the terms of the GNU General Public License
6  *   as published by the Free Software Foundation, version 2.
7  *
8  *   This program is distributed in the hope that it will be useful, but
9  *   WITHOUT ANY WARRANTY; without even the implied warranty of
10  *   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
11  *   NON INFRINGEMENT.  See the GNU General Public License for
12  *   more details.
13  */
14
15 /**
16  * Interface definitions for the UART driver.
17  */
18
19 #ifndef _SYS_HV_DRV_UART_INTF_H
20 #define _SYS_HV_DRV_UART_INTF_H
21
22 #include <arch/uart.h>
23
24 /** Number of UART ports supported. */
25 #define TILEGX_UART_NR        2
26
27 /** The mmap file offset (PA) of the UART MMIO region. */
28 #define HV_UART_MMIO_OFFSET   0
29
30 /** The maximum size of the UARTs MMIO region (64K Bytes). */
31 #define HV_UART_MMIO_SIZE     (1UL << 16)
32
33 #endif /* _SYS_HV_DRV_UART_INTF_H */