2 * Copyright 2013 Tilera Corporation. All Rights Reserved.
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.
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
16 * Interface definitions for the UART driver.
19 #ifndef _SYS_HV_DRV_UART_INTF_H
20 #define _SYS_HV_DRV_UART_INTF_H
22 #include <arch/uart.h>
24 /** Number of UART ports supported. */
25 #define TILEGX_UART_NR 2
27 /** The mmap file offset (PA) of the UART MMIO region. */
28 #define HV_UART_MMIO_OFFSET 0
30 /** The maximum size of the UARTs MMIO region (64K Bytes). */
31 #define HV_UART_MMIO_SIZE (1UL << 16)
33 #endif /* _SYS_HV_DRV_UART_INTF_H */