OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [libgloss/] [bfin/] [include/] [cdefBF525.h] - Blame information for rev 297

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
/*
2
 * The authors hereby grant permission to use, copy, modify, distribute,
3
 * and license this software and its documentation for any purpose, provided
4
 * that existing copyright notices are retained in all copies and that this
5
 * notice is included verbatim in any distributions. No written agreement,
6
 * license, or royalty fee is required for any of the authorized uses.
7
 * Modifications to this software may be copyrighted by their authors
8
 * and need not follow the licensing terms described here, provided that
9
 * the new terms are clearly indicated on the first page of each file where
10
 * they apply.
11
 */
12
 
13
/*
14
** Copyright (C) 2008 Analog Devices, Inc.
15
**
16
************************************************************************************
17
**
18
** This include file contains a list of macro "defines" to enable the programmer
19
** to use symbolic names for the ADSP-BF525 peripherals.
20
**
21
************************************************************************************
22
** System MMR Register Map
23
************************************************************************************/
24
 
25
#ifndef _CDEF_BF525_H
26
#define _CDEF_BF525_H
27
 
28
/* include all Core registers and bit definitions */
29
#include <defBF525.h>
30
 
31
/* include core specific register pointer definitions */
32
#include <cdef_LPBlackfin.h>
33
 
34
/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF525 */
35
 
36
/* include cdefBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */
37
#include <cdefBF52x_base.h>
38
 
39
/* The following are the #defines needed by ADSP-BF525 that are not in the common header */
40
 
41
/* USB Control Registers */
42
 
43
#define                        pUSB_FADDR ((volatile unsigned short *)USB_FADDR)
44
#define                        pUSB_POWER ((volatile unsigned short *)USB_POWER)
45
#define                       pUSB_INTRTX ((volatile unsigned short *)USB_INTRTX)
46
#define                       pUSB_INTRRX ((volatile unsigned short *)USB_INTRRX)
47
#define                      pUSB_INTRTXE ((volatile unsigned short *)USB_INTRTXE)
48
#define                      pUSB_INTRRXE ((volatile unsigned short *)USB_INTRRXE)
49
#define                      pUSB_INTRUSB ((volatile unsigned short *)USB_INTRUSB)
50
#define                     pUSB_INTRUSBE ((volatile unsigned short *)USB_INTRUSBE)
51
#define                        pUSB_FRAME ((volatile unsigned short *)USB_FRAME)
52
#define                        pUSB_INDEX ((volatile unsigned short *)USB_INDEX)
53
#define                     pUSB_TESTMODE ((volatile unsigned short *)USB_TESTMODE)
54
#define                     pUSB_GLOBINTR ((volatile unsigned short *)USB_GLOBINTR)
55
#define                   pUSB_GLOBAL_CTL ((volatile unsigned short *)USB_GLOBAL_CTL)
56
 
57
/* USB Packet Control Registers */
58
 
59
#define                pUSB_TX_MAX_PACKET ((volatile unsigned short *)USB_TX_MAX_PACKET)
60
#define                         pUSB_CSR0 ((volatile unsigned short *)USB_CSR0)
61
#define                        pUSB_TXCSR ((volatile unsigned short *)USB_TXCSR)
62
#define                pUSB_RX_MAX_PACKET ((volatile unsigned short *)USB_RX_MAX_PACKET)
63
#define                        pUSB_RXCSR ((volatile unsigned short *)USB_RXCSR)
64
#define                       pUSB_COUNT0 ((volatile unsigned short *)USB_COUNT0)
65
#define                      pUSB_RXCOUNT ((volatile unsigned short *)USB_RXCOUNT)
66
#define                       pUSB_TXTYPE ((volatile unsigned short *)USB_TXTYPE)
67
#define                    pUSB_NAKLIMIT0 ((volatile unsigned short *)USB_NAKLIMIT0)
68
#define                   pUSB_TXINTERVAL ((volatile unsigned short *)USB_TXINTERVAL)
69
#define                       pUSB_RXTYPE ((volatile unsigned short *)USB_RXTYPE)
70
#define                   pUSB_RXINTERVAL ((volatile unsigned short *)USB_RXINTERVAL)
71
#define                      pUSB_TXCOUNT ((volatile unsigned short *)USB_TXCOUNT)
72
 
73
/* USB Endpoint FIFO Registers */
74
 
75
#define                     pUSB_EP0_FIFO ((volatile unsigned short *)USB_EP0_FIFO)
76
#define                     pUSB_EP1_FIFO ((volatile unsigned short *)USB_EP1_FIFO)
77
#define                     pUSB_EP2_FIFO ((volatile unsigned short *)USB_EP2_FIFO)
78
#define                     pUSB_EP3_FIFO ((volatile unsigned short *)USB_EP3_FIFO)
79
#define                     pUSB_EP4_FIFO ((volatile unsigned short *)USB_EP4_FIFO)
80
#define                     pUSB_EP5_FIFO ((volatile unsigned short *)USB_EP5_FIFO)
81
#define                     pUSB_EP6_FIFO ((volatile unsigned short *)USB_EP6_FIFO)
82
#define                     pUSB_EP7_FIFO ((volatile unsigned short *)USB_EP7_FIFO)
83
 
84
/* USB OTG Control Registers */
85
 
86
#define                  pUSB_OTG_DEV_CTL ((volatile unsigned short *)USB_OTG_DEV_CTL)
87
#define                 pUSB_OTG_VBUS_IRQ ((volatile unsigned short *)USB_OTG_VBUS_IRQ)
88
#define                pUSB_OTG_VBUS_MASK ((volatile unsigned short *)USB_OTG_VBUS_MASK)
89
 
90
/* USB Phy Control Registers */
91
 
92
#define                     pUSB_LINKINFO ((volatile unsigned short *)USB_LINKINFO)
93
#define                        pUSB_VPLEN ((volatile unsigned short *)USB_VPLEN)
94
#define                      pUSB_HS_EOF1 ((volatile unsigned short *)USB_HS_EOF1)
95
#define                      pUSB_FS_EOF1 ((volatile unsigned short *)USB_FS_EOF1)
96
#define                      pUSB_LS_EOF1 ((volatile unsigned short *)USB_LS_EOF1)
97
 
98
/* (APHY_CNTRL is for ADI usage only) */
99
 
100
#define                   pUSB_APHY_CNTRL ((volatile unsigned short *)USB_APHY_CNTRL)
101
 
102
/* (APHY_CALIB is for ADI usage only) */
103
 
104
#define                   pUSB_APHY_CALIB ((volatile unsigned short *)USB_APHY_CALIB)
105
 
106
#define                  pUSB_APHY_CNTRL2 ((volatile unsigned short *)USB_APHY_CNTRL2)
107
 
108
/* (PHY_TEST is for ADI usage only) */
109
 
110
#define                     pUSB_PHY_TEST ((volatile unsigned short *)USB_PHY_TEST)
111
 
112
#define                  pUSB_PLLOSC_CTRL ((volatile unsigned short *)USB_PLLOSC_CTRL)
113
#define                   pUSB_SRP_CLKDIV ((volatile unsigned short *)USB_SRP_CLKDIV)
114
 
115
/* USB Endpoint 0 Control Registers */
116
 
117
#define                pUSB_EP_NI0_TXMAXP ((volatile unsigned short *)USB_EP_NI0_TXMAXP)
118
#define                 pUSB_EP_NI0_TXCSR ((volatile unsigned short *)USB_EP_NI0_TXCSR)
119
#define                pUSB_EP_NI0_RXMAXP ((volatile unsigned short *)USB_EP_NI0_RXMAXP)
120
#define                 pUSB_EP_NI0_RXCSR ((volatile unsigned short *)USB_EP_NI0_RXCSR)
121
#define               pUSB_EP_NI0_RXCOUNT ((volatile unsigned short *)USB_EP_NI0_RXCOUNT)
122
#define                pUSB_EP_NI0_TXTYPE ((volatile unsigned short *)USB_EP_NI0_TXTYPE)
123
#define            pUSB_EP_NI0_TXINTERVAL ((volatile unsigned short *)USB_EP_NI0_TXINTERVAL)
124
#define                pUSB_EP_NI0_RXTYPE ((volatile unsigned short *)USB_EP_NI0_RXTYPE)
125
#define            pUSB_EP_NI0_RXINTERVAL ((volatile unsigned short *)USB_EP_NI0_RXINTERVAL)
126
#define               pUSB_EP_NI0_TXCOUNT ((volatile unsigned short *)USB_EP_NI0_TXCOUNT)
127
 
128
/* USB Endpoint 1 Control Registers */
129
 
130
#define                pUSB_EP_NI1_TXMAXP ((volatile unsigned short *)USB_EP_NI1_TXMAXP)
131
#define                 pUSB_EP_NI1_TXCSR ((volatile unsigned short *)USB_EP_NI1_TXCSR)
132
#define                pUSB_EP_NI1_RXMAXP ((volatile unsigned short *)USB_EP_NI1_RXMAXP)
133
#define                 pUSB_EP_NI1_RXCSR ((volatile unsigned short *)USB_EP_NI1_RXCSR)
134
#define               pUSB_EP_NI1_RXCOUNT ((volatile unsigned short *)USB_EP_NI1_RXCOUNT)
135
#define                pUSB_EP_NI1_TXTYPE ((volatile unsigned short *)USB_EP_NI1_TXTYPE)
136
#define            pUSB_EP_NI1_TXINTERVAL ((volatile unsigned short *)USB_EP_NI1_TXINTERVAL)
137
#define                pUSB_EP_NI1_RXTYPE ((volatile unsigned short *)USB_EP_NI1_RXTYPE)
138
#define            pUSB_EP_NI1_RXINTERVAL ((volatile unsigned short *)USB_EP_NI1_RXINTERVAL)
139
#define               pUSB_EP_NI1_TXCOUNT ((volatile unsigned short *)USB_EP_NI1_TXCOUNT)
140
 
141
/* USB Endpoint 2 Control Registers */
142
 
143
#define                pUSB_EP_NI2_TXMAXP ((volatile unsigned short *)USB_EP_NI2_TXMAXP)
144
#define                 pUSB_EP_NI2_TXCSR ((volatile unsigned short *)USB_EP_NI2_TXCSR)
145
#define                pUSB_EP_NI2_RXMAXP ((volatile unsigned short *)USB_EP_NI2_RXMAXP)
146
#define                 pUSB_EP_NI2_RXCSR ((volatile unsigned short *)USB_EP_NI2_RXCSR)
147
#define               pUSB_EP_NI2_RXCOUNT ((volatile unsigned short *)USB_EP_NI2_RXCOUNT)
148
#define                pUSB_EP_NI2_TXTYPE ((volatile unsigned short *)USB_EP_NI2_TXTYPE)
149
#define            pUSB_EP_NI2_TXINTERVAL ((volatile unsigned short *)USB_EP_NI2_TXINTERVAL)
150
#define                pUSB_EP_NI2_RXTYPE ((volatile unsigned short *)USB_EP_NI2_RXTYPE)
151
#define            pUSB_EP_NI2_RXINTERVAL ((volatile unsigned short *)USB_EP_NI2_RXINTERVAL)
152
#define               pUSB_EP_NI2_TXCOUNT ((volatile unsigned short *)USB_EP_NI2_TXCOUNT)
153
 
154
/* USB Endpoint 3 Control Registers */
155
 
156
#define                pUSB_EP_NI3_TXMAXP ((volatile unsigned short *)USB_EP_NI3_TXMAXP)
157
#define                 pUSB_EP_NI3_TXCSR ((volatile unsigned short *)USB_EP_NI3_TXCSR)
158
#define                pUSB_EP_NI3_RXMAXP ((volatile unsigned short *)USB_EP_NI3_RXMAXP)
159
#define                 pUSB_EP_NI3_RXCSR ((volatile unsigned short *)USB_EP_NI3_RXCSR)
160
#define               pUSB_EP_NI3_RXCOUNT ((volatile unsigned short *)USB_EP_NI3_RXCOUNT)
161
#define                pUSB_EP_NI3_TXTYPE ((volatile unsigned short *)USB_EP_NI3_TXTYPE)
162
#define            pUSB_EP_NI3_TXINTERVAL ((volatile unsigned short *)USB_EP_NI3_TXINTERVAL)
163
#define                pUSB_EP_NI3_RXTYPE ((volatile unsigned short *)USB_EP_NI3_RXTYPE)
164
#define            pUSB_EP_NI3_RXINTERVAL ((volatile unsigned short *)USB_EP_NI3_RXINTERVAL)
165
#define               pUSB_EP_NI3_TXCOUNT ((volatile unsigned short *)USB_EP_NI3_TXCOUNT)
166
 
167
/* USB Endpoint 4 Control Registers */
168
 
169
#define                pUSB_EP_NI4_TXMAXP ((volatile unsigned short *)USB_EP_NI4_TXMAXP)
170
#define                 pUSB_EP_NI4_TXCSR ((volatile unsigned short *)USB_EP_NI4_TXCSR)
171
#define                pUSB_EP_NI4_RXMAXP ((volatile unsigned short *)USB_EP_NI4_RXMAXP)
172
#define                 pUSB_EP_NI4_RXCSR ((volatile unsigned short *)USB_EP_NI4_RXCSR)
173
#define               pUSB_EP_NI4_RXCOUNT ((volatile unsigned short *)USB_EP_NI4_RXCOUNT)
174
#define                pUSB_EP_NI4_TXTYPE ((volatile unsigned short *)USB_EP_NI4_TXTYPE)
175
#define            pUSB_EP_NI4_TXINTERVAL ((volatile unsigned short *)USB_EP_NI4_TXINTERVAL)
176
#define                pUSB_EP_NI4_RXTYPE ((volatile unsigned short *)USB_EP_NI4_RXTYPE)
177
#define            pUSB_EP_NI4_RXINTERVAL ((volatile unsigned short *)USB_EP_NI4_RXINTERVAL)
178
#define               pUSB_EP_NI4_TXCOUNT ((volatile unsigned short *)USB_EP_NI4_TXCOUNT)
179
 
180
/* USB Endpoint 5 Control Registers */
181
 
182
#define                pUSB_EP_NI5_TXMAXP ((volatile unsigned short *)USB_EP_NI5_TXMAXP)
183
#define                 pUSB_EP_NI5_TXCSR ((volatile unsigned short *)USB_EP_NI5_TXCSR)
184
#define                pUSB_EP_NI5_RXMAXP ((volatile unsigned short *)USB_EP_NI5_RXMAXP)
185
#define                 pUSB_EP_NI5_RXCSR ((volatile unsigned short *)USB_EP_NI5_RXCSR)
186
#define               pUSB_EP_NI5_RXCOUNT ((volatile unsigned short *)USB_EP_NI5_RXCOUNT)
187
#define                pUSB_EP_NI5_TXTYPE ((volatile unsigned short *)USB_EP_NI5_TXTYPE)
188
#define            pUSB_EP_NI5_TXINTERVAL ((volatile unsigned short *)USB_EP_NI5_TXINTERVAL)
189
#define                pUSB_EP_NI5_RXTYPE ((volatile unsigned short *)USB_EP_NI5_RXTYPE)
190
#define            pUSB_EP_NI5_RXINTERVAL ((volatile unsigned short *)USB_EP_NI5_RXINTERVAL)
191
#define               pUSB_EP_NI5_TXCOUNT ((volatile unsigned short *)USB_EP_NI5_TXCOUNT)
192
 
193
/* USB Endpoint 6 Control Registers */
194
 
195
#define                pUSB_EP_NI6_TXMAXP ((volatile unsigned short *)USB_EP_NI6_TXMAXP)
196
#define                 pUSB_EP_NI6_TXCSR ((volatile unsigned short *)USB_EP_NI6_TXCSR)
197
#define                pUSB_EP_NI6_RXMAXP ((volatile unsigned short *)USB_EP_NI6_RXMAXP)
198
#define                 pUSB_EP_NI6_RXCSR ((volatile unsigned short *)USB_EP_NI6_RXCSR)
199
#define               pUSB_EP_NI6_RXCOUNT ((volatile unsigned short *)USB_EP_NI6_RXCOUNT)
200
#define                pUSB_EP_NI6_TXTYPE ((volatile unsigned short *)USB_EP_NI6_TXTYPE)
201
#define            pUSB_EP_NI6_TXINTERVAL ((volatile unsigned short *)USB_EP_NI6_TXINTERVAL)
202
#define                pUSB_EP_NI6_RXTYPE ((volatile unsigned short *)USB_EP_NI6_RXTYPE)
203
#define            pUSB_EP_NI6_RXINTERVAL ((volatile unsigned short *)USB_EP_NI6_RXINTERVAL)
204
#define               pUSB_EP_NI6_TXCOUNT ((volatile unsigned short *)USB_EP_NI6_TXCOUNT)
205
 
206
/* USB Endpoint 7 Control Registers */
207
 
208
#define                pUSB_EP_NI7_TXMAXP ((volatile unsigned short *)USB_EP_NI7_TXMAXP)
209
#define                 pUSB_EP_NI7_TXCSR ((volatile unsigned short *)USB_EP_NI7_TXCSR)
210
#define                pUSB_EP_NI7_RXMAXP ((volatile unsigned short *)USB_EP_NI7_RXMAXP)
211
#define                 pUSB_EP_NI7_RXCSR ((volatile unsigned short *)USB_EP_NI7_RXCSR)
212
#define               pUSB_EP_NI7_RXCOUNT ((volatile unsigned short *)USB_EP_NI7_RXCOUNT)
213
#define                pUSB_EP_NI7_TXTYPE ((volatile unsigned short *)USB_EP_NI7_TXTYPE)
214
#define            pUSB_EP_NI7_TXINTERVAL ((volatile unsigned short *)USB_EP_NI7_TXINTERVAL)
215
#define                pUSB_EP_NI7_RXTYPE ((volatile unsigned short *)USB_EP_NI7_RXTYPE)
216
#define            pUSB_EP_NI7_RXINTERVAL ((volatile unsigned short *)USB_EP_NI7_RXINTERVAL)
217
#define               pUSB_EP_NI7_TXCOUNT ((volatile unsigned short *)USB_EP_NI7_TXCOUNT)
218
 
219
#define                pUSB_DMA_INTERRUPT ((volatile unsigned short *)USB_DMA_INTERRUPT)
220
 
221
/* USB Channel 0 Config Registers */
222
 
223
#define                  pUSB_DMA0CONTROL ((volatile unsigned short *)USB_DMA0CONTROL)
224
#define                  pUSB_DMA0ADDRLOW ((volatile unsigned short *)USB_DMA0ADDRLOW)
225
#define                 pUSB_DMA0ADDRHIGH ((volatile unsigned short *)USB_DMA0ADDRHIGH)
226
#define                 pUSB_DMA0COUNTLOW ((volatile unsigned short *)USB_DMA0COUNTLOW)
227
#define                pUSB_DMA0COUNTHIGH ((volatile unsigned short *)USB_DMA0COUNTHIGH)
228
 
229
/* USB Channel 1 Config Registers */
230
 
231
#define                  pUSB_DMA1CONTROL ((volatile unsigned short *)USB_DMA1CONTROL)
232
#define                  pUSB_DMA1ADDRLOW ((volatile unsigned short *)USB_DMA1ADDRLOW)
233
#define                 pUSB_DMA1ADDRHIGH ((volatile unsigned short *)USB_DMA1ADDRHIGH)
234
#define                 pUSB_DMA1COUNTLOW ((volatile unsigned short *)USB_DMA1COUNTLOW)
235
#define                pUSB_DMA1COUNTHIGH ((volatile unsigned short *)USB_DMA1COUNTHIGH)
236
 
237
/* USB Channel 2 Config Registers */
238
 
239
#define                  pUSB_DMA2CONTROL ((volatile unsigned short *)USB_DMA2CONTROL)
240
#define                  pUSB_DMA2ADDRLOW ((volatile unsigned short *)USB_DMA2ADDRLOW)
241
#define                 pUSB_DMA2ADDRHIGH ((volatile unsigned short *)USB_DMA2ADDRHIGH)
242
#define                 pUSB_DMA2COUNTLOW ((volatile unsigned short *)USB_DMA2COUNTLOW)
243
#define                pUSB_DMA2COUNTHIGH ((volatile unsigned short *)USB_DMA2COUNTHIGH)
244
 
245
/* USB Channel 3 Config Registers */
246
 
247
#define                  pUSB_DMA3CONTROL ((volatile unsigned short *)USB_DMA3CONTROL)
248
#define                  pUSB_DMA3ADDRLOW ((volatile unsigned short *)USB_DMA3ADDRLOW)
249
#define                 pUSB_DMA3ADDRHIGH ((volatile unsigned short *)USB_DMA3ADDRHIGH)
250
#define                 pUSB_DMA3COUNTLOW ((volatile unsigned short *)USB_DMA3COUNTLOW)
251
#define                pUSB_DMA3COUNTHIGH ((volatile unsigned short *)USB_DMA3COUNTHIGH)
252
 
253
/* USB Channel 4 Config Registers */
254
 
255
#define                  pUSB_DMA4CONTROL ((volatile unsigned short *)USB_DMA4CONTROL)
256
#define                  pUSB_DMA4ADDRLOW ((volatile unsigned short *)USB_DMA4ADDRLOW)
257
#define                 pUSB_DMA4ADDRHIGH ((volatile unsigned short *)USB_DMA4ADDRHIGH)
258
#define                 pUSB_DMA4COUNTLOW ((volatile unsigned short *)USB_DMA4COUNTLOW)
259
#define                pUSB_DMA4COUNTHIGH ((volatile unsigned short *)USB_DMA4COUNTHIGH)
260
 
261
/* USB Channel 5 Config Registers */
262
 
263
#define                  pUSB_DMA5CONTROL ((volatile unsigned short *)USB_DMA5CONTROL)
264
#define                  pUSB_DMA5ADDRLOW ((volatile unsigned short *)USB_DMA5ADDRLOW)
265
#define                 pUSB_DMA5ADDRHIGH ((volatile unsigned short *)USB_DMA5ADDRHIGH)
266
#define                 pUSB_DMA5COUNTLOW ((volatile unsigned short *)USB_DMA5COUNTLOW)
267
#define                pUSB_DMA5COUNTHIGH ((volatile unsigned short *)USB_DMA5COUNTHIGH)
268
 
269
/* USB Channel 6 Config Registers */
270
 
271
#define                  pUSB_DMA6CONTROL ((volatile unsigned short *)USB_DMA6CONTROL)
272
#define                  pUSB_DMA6ADDRLOW ((volatile unsigned short *)USB_DMA6ADDRLOW)
273
#define                 pUSB_DMA6ADDRHIGH ((volatile unsigned short *)USB_DMA6ADDRHIGH)
274
#define                 pUSB_DMA6COUNTLOW ((volatile unsigned short *)USB_DMA6COUNTLOW)
275
#define                pUSB_DMA6COUNTHIGH ((volatile unsigned short *)USB_DMA6COUNTHIGH)
276
 
277
/* USB Channel 7 Config Registers */
278
 
279
#define                  pUSB_DMA7CONTROL ((volatile unsigned short *)USB_DMA7CONTROL)
280
#define                  pUSB_DMA7ADDRLOW ((volatile unsigned short *)USB_DMA7ADDRLOW)
281
#define                 pUSB_DMA7ADDRHIGH ((volatile unsigned short *)USB_DMA7ADDRHIGH)
282
#define                 pUSB_DMA7COUNTLOW ((volatile unsigned short *)USB_DMA7COUNTLOW)
283
#define                pUSB_DMA7COUNTHIGH ((volatile unsigned short *)USB_DMA7COUNTHIGH)
284
 
285
#endif /* _CDEF_BF525_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.