Go to the documentation of this file.
95 #define PCI_SCR_DROP_MODE_EN 0x00008000
96 #define UARTA_BASE 0x178
97 #define UARTB_BASE 0x170
101 #define RXSB_OVERRUN 0x01
102 #define RXSB_PAR_ERR 0x02
103 #define RXSB_FRAME_ERR 0x04
104 #define RXSB_BREAK 0x08
105 #define RXSB_CTS 0x10
106 #define RXSB_DCD 0x20
107 #define RXSB_MODEM_VALID 0x40
108 #define RXSB_DATA_VALID 0x80
111 #define TXCB_INT_WHEN_DONE 0x20
112 #define TXCB_INVALID 0x00
113 #define TXCB_VALID 0x40
114 #define TXCB_MCR 0x80
115 #define TXCB_DELAY 0xc0
118 #define SBBR_L_SIZE 0x00000001
121 #define SSCR_RX_THRESHOLD 0x000001ff
122 #define SSCR_TX_TIMER_BUSY 0x00010000
123 #define SSCR_HFC_EN 0x00020000
124 #define SSCR_RX_RING_DCD 0x00040000
125 #define SSCR_RX_RING_CTS 0x00080000
126 #define SSCR_HIGH_SPD 0x00100000
127 #define SSCR_DIAG 0x00200000
128 #define SSCR_RX_DRAIN 0x08000000
129 #define SSCR_DMA_EN 0x10000000
130 #define SSCR_DMA_PAUSE 0x20000000
131 #define SSCR_PAUSE_STATE 0x40000000
132 #define SSCR_RESET 0x80000000
135 #define PROD_CONS_PTR_4K 0x00000ff8
136 #define PROD_CONS_PTR_1K 0x000003f8
137 #define PROD_CONS_PTR_OFF 3
140 #define SRCIR_ARM 0x80000000
143 #define SHADOW_DR 0x00000001
144 #define SHADOW_OE 0x00000002
145 #define SHADOW_PE 0x00000004
146 #define SHADOW_FE 0x00000008
147 #define SHADOW_BI 0x00000010
148 #define SHADOW_THRE 0x00000020
149 #define SHADOW_TEMT 0x00000040
150 #define SHADOW_RFCE 0x00000080
151 #define SHADOW_DCTS 0x00010000
152 #define SHADOW_DDCD 0x00080000
153 #define SHADOW_CTS 0x00100000
154 #define SHADOW_DCD 0x00800000
155 #define SHADOW_DTR 0x01000000
156 #define SHADOW_RTS 0x02000000
157 #define SHADOW_OUT1 0x04000000
158 #define SHADOW_OUT2 0x08000000
159 #define SHADOW_LOOP 0x10000000
162 #define SRTR_CNT 0x00000fff
163 #define SRTR_CNT_VAL 0x0fff0000
164 #define SRTR_CNT_VAL_SHIFT 16
165 #define SRTR_HZ 16000
168 #define SIO_IR_SA_TX_MT 0x00000001
169 #define SIO_IR_SA_RX_FULL 0x00000002
170 #define SIO_IR_SA_RX_HIGH 0x00000004
171 #define SIO_IR_SA_RX_TIMER 0x00000008
172 #define SIO_IR_SA_DELTA_DCD 0x00000010
173 #define SIO_IR_SA_DELTA_CTS 0x00000020
174 #define SIO_IR_SA_INT 0x00000040
175 #define SIO_IR_SA_TX_EXPLICIT 0x00000080
176 #define SIO_IR_SA_MEMERR 0x00000100
177 #define SIO_IR_SB_TX_MT 0x00000200
178 #define SIO_IR_SB_RX_FULL 0x00000400
179 #define SIO_IR_SB_RX_HIGH 0x00000800
180 #define SIO_IR_SB_RX_TIMER 0x00001000
181 #define SIO_IR_SB_DELTA_DCD 0x00002000
182 #define SIO_IR_SB_DELTA_CTS 0x00004000
183 #define SIO_IR_SB_INT 0x00008000
184 #define SIO_IR_SB_TX_EXPLICIT 0x00010000
185 #define SIO_IR_SB_MEMERR 0x00020000
186 #define SIO_IR_PP_INT 0x00040000
187 #define SIO_IR_PP_INTA 0x00080000
188 #define SIO_IR_PP_INTB 0x00100000
189 #define SIO_IR_PP_MEMERR 0x00200000
190 #define SIO_IR_KBD_INT 0x00400000
191 #define SIO_IR_RT_INT 0x08000000
192 #define SIO_IR_GEN_INT1 0x10000000
193 #define SIO_IR_GEN_INT_SHIFT 28
196 #define SIO_IR_SA (SIO_IR_SA_TX_MT | \
197 SIO_IR_SA_RX_FULL | \
198 SIO_IR_SA_RX_HIGH | \
199 SIO_IR_SA_RX_TIMER | \
200 SIO_IR_SA_DELTA_DCD | \
201 SIO_IR_SA_DELTA_CTS | \
203 SIO_IR_SA_TX_EXPLICIT | \
206 #define SIO_IR_SB (SIO_IR_SB_TX_MT | \
207 SIO_IR_SB_RX_FULL | \
208 SIO_IR_SB_RX_HIGH | \
209 SIO_IR_SB_RX_TIMER | \
210 SIO_IR_SB_DELTA_DCD | \
211 SIO_IR_SB_DELTA_CTS | \
213 SIO_IR_SB_TX_EXPLICIT | \
216 #define SIO_IR_PP (SIO_IR_PP_INT | SIO_IR_PP_INTA | \
217 SIO_IR_PP_INTB | SIO_IR_PP_MEMERR)
218 #define SIO_IR_RT (SIO_IR_RT_INT | SIO_IR_GEN_INT1)
221 #define SIO_CR_CMD_PULSE_SHIFT 15
222 #define SIO_CR_SER_A_BASE_SHIFT 1
223 #define SIO_CR_SER_B_BASE_SHIFT 8
224 #define SIO_CR_ARB_DIAG 0x00380000
225 #define SIO_CR_ARB_DIAG_TXA 0x00000000
226 #define SIO_CR_ARB_DIAG_RXA 0x00080000
227 #define SIO_CR_ARB_DIAG_TXB 0x00100000
228 #define SIO_CR_ARB_DIAG_RXB 0x00180000
229 #define SIO_CR_ARB_DIAG_PP 0x00200000
230 #define SIO_CR_ARB_DIAG_IDLE 0x00400000
233 #define GPCR_PHY_RESET 0x20
234 #define GPCR_UARTB_MODESEL 0x40
235 #define GPCR_UARTA_MODESEL 0x80
237 #define GPPR_PHY_RESET_PIN 5
238 #define GPPR_UARTB_MODESEL_PIN 6
239 #define GPPR_UARTA_MODESEL_PIN 7