1 /* SPDX-License-Identifier: GPL-2.0 */
3 * timbuart.c timberdale FPGA GPIO driver
4 * Copyright (c) 2009 Intel Corporation
14 #define TIMBUART_FIFO_SIZE 2048
16 #define TIMBUART_RXFIFO 0x08
17 #define TIMBUART_TXFIFO 0x0c
18 #define TIMBUART_IER 0x10
19 #define TIMBUART_IPR 0x14
20 #define TIMBUART_ISR 0x18
21 #define TIMBUART_CTRL 0x1c
22 #define TIMBUART_BAUDRATE 0x20
24 #define TIMBUART_CTRL_RTS 0x01
25 #define TIMBUART_CTRL_CTS 0x02
26 #define TIMBUART_CTRL_FLSHTX 0x40
27 #define TIMBUART_CTRL_FLSHRX 0x80
31 #define CTS_DELTA 0x04
39 #define RXFLAGS (RXDP | RXBAF | RXBF | RXTT | RXBNAE)
40 #define TXFLAGS (TXBF | TXBAE)
42 #define TIMBUART_MAJOR 204
43 #define TIMBUART_MINOR 192
45 #endif /* _TIMBUART_H */