]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/blackfin/include/asm/mach-common/bits/uart4.h
mx6sxsabreauto: Remove legacy CONFIG_PCA953X
[people/ms/u-boot.git] / arch / blackfin / include / asm / mach-common / bits / uart4.h
CommitLineData
a12c51f6
SZ
1/*
2 * UART4 Masks
3 */
4
5#ifndef __BFIN_PERIPHERAL_UART4__
6#define __BFIN_PERIPHERAL_UART4__
7
8/* UART_CONTROL */
9#define UEN (1 << 0)
10#define LOOP_ENA (1 << 1)
11#define UMOD (3 << 4)
12#define UMOD_UART (0 << 4)
13#define UMOD_MDB (1 << 4)
14#define UMOD_IRDA (1 << 4)
15#define WLS (3 << 8)
16#define WLS_5 (0 << 8)
17#define WLS_6 (1 << 8)
18#define WLS_7 (2 << 8)
19#define WLS_8 (3 << 8)
20#define STB (1 << 12)
21#define STBH (1 << 13)
22#define PEN (1 << 14)
23#define EPS (1 << 15)
24#define STP (1 << 16)
25#define FPE (1 << 17)
26#define FFE (1 << 18)
27#define SB (1 << 19)
28#define FCPOL (1 << 22)
29#define RPOLC (1 << 23)
30#define TPOLC (1 << 24)
31#define MRTS (1 << 25)
32#define XOFF (1 << 26)
33#define ARTS (1 << 27)
34#define ACTS (1 << 28)
35#define RFIT (1 << 29)
36#define RFRT (1 << 30)
37
38/* UART_STATUS */
39#define DR (1 << 0)
40#define OE (1 << 1)
41#define PE (1 << 2)
42#define FE (1 << 3)
43#define BI (1 << 4)
44#define THRE (1 << 5)
45#define TEMT (1 << 7)
46#define TFI (1 << 8)
47#define ASTKY (1 << 9)
48#define ADDR (1 << 10)
49#define RO (1 << 11)
50#define SCTS (1 << 12)
51#define CTS (1 << 16)
52#define RFCS (1 << 17)
53
54/* UART_EMASK */
55#define ERBFI (1 << 0)
56#define ETBEI (1 << 1)
57#define ELSI (1 << 2)
58#define EDSSI (1 << 3)
59#define EDTPTI (1 << 4)
60#define ETFI (1 << 5)
61#define ERFCI (1 << 6)
62#define EAWI (1 << 7)
63#define ERXS (1 << 8)
64#define ETXS (1 << 9)
65
66#endif