/* * include/asm/arch/ips/uart.h * * Copyright (C) 2012 MStar Semiconductor. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ #ifndef __ASM_ARCH_IPS_UART_H #define __ASM_ARCH_IPS_UART_H #define UART_DLS_8 0x03 #define UART_RT_HALF (0x02 << 6) #define UART_TET_QUARTER (0x02 << 4) #define UART_XFIFOR (0x01 << 2) #define UART_RFIFOR (0x01 << 1) #define UART_FIFOE (0x01) #define UART_TEMT (0x01 << 6) #define UART_DR (0x01) #endif /* __ASM_ARCH_IPS_UART_H */