Go to the documentation of this file. 1 #ifndef __ASM_ARCH_REGS_UART_H
2 #define __ASM_ARCH_REGS_UART_H
10 #define FFRBR __REG(0x40100000)
11 #define FFTHR __REG(0x40100000)
12 #define FFIER __REG(0x40100004)
13 #define FFIIR __REG(0x40100008)
14 #define FFFCR __REG(0x40100008)
15 #define FFLCR __REG(0x4010000C)
16 #define FFMCR __REG(0x40100010)
17 #define FFLSR __REG(0x40100014)
18 #define FFMSR __REG(0x40100018)
19 #define FFSPR __REG(0x4010001C)
20 #define FFISR __REG(0x40100020)
21 #define FFDLL __REG(0x40100000)
22 #define FFDLH __REG(0x40100004)
26 #define BTRBR __REG(0x40200000)
27 #define BTTHR __REG(0x40200000)
28 #define BTIER __REG(0x40200004)
29 #define BTIIR __REG(0x40200008)
30 #define BTFCR __REG(0x40200008)
31 #define BTLCR __REG(0x4020000C)
32 #define BTMCR __REG(0x40200010)
33 #define BTLSR __REG(0x40200014)
34 #define BTMSR __REG(0x40200018)
35 #define BTSPR __REG(0x4020001C)
36 #define BTISR __REG(0x40200020)
37 #define BTDLL __REG(0x40200000)
38 #define BTDLH __REG(0x40200004)
42 #define STRBR __REG(0x40700000)
43 #define STTHR __REG(0x40700000)
44 #define STIER __REG(0x40700004)
45 #define STIIR __REG(0x40700008)
46 #define STFCR __REG(0x40700008)
47 #define STLCR __REG(0x4070000C)
48 #define STMCR __REG(0x40700010)
49 #define STLSR __REG(0x40700014)
50 #define STMSR __REG(0x40700018)
51 #define STSPR __REG(0x4070001C)
52 #define STISR __REG(0x40700020)
53 #define STDLL __REG(0x40700000)
54 #define STDLH __REG(0x40700004)
58 #define HWRBR __REG(0x41600000)
59 #define HWTHR __REG(0x41600000)
60 #define HWIER __REG(0x41600004)
61 #define HWIIR __REG(0x41600008)
62 #define HWFCR __REG(0x41600008)
63 #define HWLCR __REG(0x4160000C)
64 #define HWMCR __REG(0x41600010)
65 #define HWLSR __REG(0x41600014)
66 #define HWMSR __REG(0x41600018)
67 #define HWSPR __REG(0x4160001C)
68 #define HWISR __REG(0x41600020)
69 #define HWFOR __REG(0x41600024)
70 #define HWABR __REG(0x41600028)
71 #define HWACR __REG(0x4160002C)
72 #define HWDLL __REG(0x41600000)
73 #define HWDLH __REG(0x41600004)
75 #define IER_DMAE (1 << 7)
76 #define IER_UUE (1 << 6)
77 #define IER_NRZE (1 << 5)
78 #define IER_RTIOE (1 << 4)
79 #define IER_MIE (1 << 3)
80 #define IER_RLSE (1 << 2)
81 #define IER_TIE (1 << 1)
82 #define IER_RAVIE (1 << 0)
84 #define IIR_FIFOES1 (1 << 7)
85 #define IIR_FIFOES0 (1 << 6)
86 #define IIR_TOD (1 << 3)
87 #define IIR_IID2 (1 << 2)
88 #define IIR_IID1 (1 << 1)
89 #define IIR_IP (1 << 0)
91 #define FCR_ITL2 (1 << 7)
92 #define FCR_ITL1 (1 << 6)
93 #define FCR_RESETTF (1 << 2)
94 #define FCR_RESETRF (1 << 1)
95 #define FCR_TRFIFOE (1 << 0)
97 #define FCR_ITL_8 (FCR_ITL1)
98 #define FCR_ITL_16 (FCR_ITL2)
99 #define FCR_ITL_32 (FCR_ITL2|FCR_ITL1)
101 #define LCR_DLAB (1 << 7)
102 #define LCR_SB (1 << 6)
103 #define LCR_STKYP (1 << 5)
104 #define LCR_EPS (1 << 4)
105 #define LCR_PEN (1 << 3)
106 #define LCR_STB (1 << 2)
107 #define LCR_WLS1 (1 << 1)
108 #define LCR_WLS0 (1 << 0)
110 #define LSR_FIFOE (1 << 7)
111 #define LSR_TEMT (1 << 6)
112 #define LSR_TDRQ (1 << 5)
113 #define LSR_BI (1 << 4)
114 #define LSR_FE (1 << 3)
115 #define LSR_PE (1 << 2)
116 #define LSR_OE (1 << 1)
117 #define LSR_DR (1 << 0)
119 #define MCR_LOOP (1 << 4)
120 #define MCR_OUT2 (1 << 3)
121 #define MCR_OUT1 (1 << 2)
122 #define MCR_RTS (1 << 1)
123 #define MCR_DTR (1 << 0)
125 #define MSR_DCD (1 << 7)
126 #define MSR_RI (1 << 6)
127 #define MSR_DSR (1 << 5)
128 #define MSR_CTS (1 << 4)
129 #define MSR_DDCD (1 << 3)
130 #define MSR_TERI (1 << 2)
131 #define MSR_DDSR (1 << 1)
132 #define MSR_DCTS (1 << 0)
137 #define STISR_RXPL (1 << 4)
138 #define STISR_TXPL (1 << 3)
139 #define STISR_XMODE (1 << 2)
140 #define STISR_RCVEIR (1 << 1)
141 #define STISR_XMITIR (1 << 0)