-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhps_only_master.h
441 lines (401 loc) · 13.7 KB
/
hps_only_master.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
#ifndef _ALTERA_HPS_ONLY_MASTER_H_
#define _ALTERA_HPS_ONLY_MASTER_H_
/*
* This file was automatically generated by the swinfo2header utility.
*
* Created from SOPC Builder system 'soc_system' in
* file './soc_system.sopcinfo'.
*/
/*
* This file contains macros for module 'hps_only_master' and devices
* connected to the following master:
* master
*
* Do not include this header file and another header file created for a
* different module or master group at the same time.
* Doing so may result in duplicate macro names.
* Instead, use the system header file which has macros with unique names.
*/
/*
* Macros for device 'hps_0_axi_sdram', class 'axi_sdram'
* The macros are prefixed with 'HPS_0_AXI_SDRAM_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_AXI_SDRAM_COMPONENT_TYPE axi_sdram
#define HPS_0_AXI_SDRAM_COMPONENT_NAME hps_0_axi_sdram
#define HPS_0_AXI_SDRAM_BASE 0x0
#define HPS_0_AXI_SDRAM_SPAN 0x80000000
#define HPS_0_AXI_SDRAM_END 0x7fffffff
#define HPS_0_AXI_SDRAM_SIZE_MULTIPLE 1
#define HPS_0_AXI_SDRAM_SIZE_VALUE 1<<31
#define HPS_0_AXI_SDRAM_WRITABLE 1
#define HPS_0_AXI_SDRAM_MEMORY_INFO_GENERATE_DAT_SYM 0
#define HPS_0_AXI_SDRAM_MEMORY_INFO_GENERATE_HEX 0
#define HPS_0_AXI_SDRAM_MEMORY_INFO_MEM_INIT_DATA_WIDTH 31
/*
* Macros for device 'hps_0_gmac0', class 'stmmac'
* The macros are prefixed with 'HPS_0_GMAC0_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_GMAC0_COMPONENT_TYPE stmmac
#define HPS_0_GMAC0_COMPONENT_NAME hps_0_gmac0
#define HPS_0_GMAC0_BASE 0xff700000
#define HPS_0_GMAC0_SPAN 8192
#define HPS_0_GMAC0_END 0xff701fff
/*
* Macros for device 'hps_0_gmac1', class 'stmmac'
* The macros are prefixed with 'HPS_0_GMAC1_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_GMAC1_COMPONENT_TYPE stmmac
#define HPS_0_GMAC1_COMPONENT_NAME hps_0_gmac1
#define HPS_0_GMAC1_BASE 0xff702000
#define HPS_0_GMAC1_SPAN 8192
#define HPS_0_GMAC1_END 0xff703fff
/*
* Macros for device 'hps_0_sdmmc', class 'sdmmc'
* The macros are prefixed with 'HPS_0_SDMMC_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_SDMMC_COMPONENT_TYPE sdmmc
#define HPS_0_SDMMC_COMPONENT_NAME hps_0_sdmmc
#define HPS_0_SDMMC_BASE 0xff704000
#define HPS_0_SDMMC_SPAN 4096
#define HPS_0_SDMMC_END 0xff704fff
/*
* Macros for device 'hps_0_qspi', class 'cadence_qspi'
* The macros are prefixed with 'HPS_0_QSPI_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_QSPI_COMPONENT_TYPE cadence_qspi
#define HPS_0_QSPI_COMPONENT_NAME hps_0_qspi
#define HPS_0_QSPI_BASE 0xff705000
#define HPS_0_QSPI_SPAN 256
#define HPS_0_QSPI_END 0xff7050ff
/*
* Macros for device 'hps_0_fpgamgr', class 'altera_fpgamgr'
* The macros are prefixed with 'HPS_0_FPGAMGR_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_FPGAMGR_COMPONENT_TYPE altera_fpgamgr
#define HPS_0_FPGAMGR_COMPONENT_NAME hps_0_fpgamgr
#define HPS_0_FPGAMGR_BASE 0xff706000
#define HPS_0_FPGAMGR_SPAN 4096
#define HPS_0_FPGAMGR_END 0xff706fff
/*
* Macros for device 'hps_0_gpio0', class 'dw_gpio'
* The macros are prefixed with 'HPS_0_GPIO0_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_GPIO0_COMPONENT_TYPE dw_gpio
#define HPS_0_GPIO0_COMPONENT_NAME hps_0_gpio0
#define HPS_0_GPIO0_BASE 0xff708000
#define HPS_0_GPIO0_SPAN 256
#define HPS_0_GPIO0_END 0xff7080ff
/*
* Macros for device 'hps_0_gpio1', class 'dw_gpio'
* The macros are prefixed with 'HPS_0_GPIO1_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_GPIO1_COMPONENT_TYPE dw_gpio
#define HPS_0_GPIO1_COMPONENT_NAME hps_0_gpio1
#define HPS_0_GPIO1_BASE 0xff709000
#define HPS_0_GPIO1_SPAN 256
#define HPS_0_GPIO1_END 0xff7090ff
/*
* Macros for device 'hps_0_gpio2', class 'dw_gpio'
* The macros are prefixed with 'HPS_0_GPIO2_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_GPIO2_COMPONENT_TYPE dw_gpio
#define HPS_0_GPIO2_COMPONENT_NAME hps_0_gpio2
#define HPS_0_GPIO2_BASE 0xff70a000
#define HPS_0_GPIO2_SPAN 256
#define HPS_0_GPIO2_END 0xff70a0ff
/*
* Macros for device 'hps_0_l3regs', class 'altera_l3regs'
* The macros are prefixed with 'HPS_0_L3REGS_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_L3REGS_COMPONENT_TYPE altera_l3regs
#define HPS_0_L3REGS_COMPONENT_NAME hps_0_l3regs
#define HPS_0_L3REGS_BASE 0xff800000
#define HPS_0_L3REGS_SPAN 4096
#define HPS_0_L3REGS_END 0xff800fff
/*
* Macros for device 'hps_0_nand0', class 'denali_nand'
* The macros are prefixed with 'HPS_0_NAND0_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_NAND0_COMPONENT_TYPE denali_nand
#define HPS_0_NAND0_COMPONENT_NAME hps_0_nand0
#define HPS_0_NAND0_BASE 0xff900000
#define HPS_0_NAND0_SPAN 65536
#define HPS_0_NAND0_END 0xff90ffff
/*
* Macros for device 'hps_0_usb0', class 'usb'
* The macros are prefixed with 'HPS_0_USB0_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_USB0_COMPONENT_TYPE usb
#define HPS_0_USB0_COMPONENT_NAME hps_0_usb0
#define HPS_0_USB0_BASE 0xffb00000
#define HPS_0_USB0_SPAN 262144
#define HPS_0_USB0_END 0xffb3ffff
/*
* Macros for device 'hps_0_usb1', class 'usb'
* The macros are prefixed with 'HPS_0_USB1_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_USB1_COMPONENT_TYPE usb
#define HPS_0_USB1_COMPONENT_NAME hps_0_usb1
#define HPS_0_USB1_BASE 0xffb40000
#define HPS_0_USB1_SPAN 262144
#define HPS_0_USB1_END 0xffb7ffff
/*
* Macros for device 'hps_0_dcan0', class 'bosch_dcan'
* The macros are prefixed with 'HPS_0_DCAN0_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_DCAN0_COMPONENT_TYPE bosch_dcan
#define HPS_0_DCAN0_COMPONENT_NAME hps_0_dcan0
#define HPS_0_DCAN0_BASE 0xffc00000
#define HPS_0_DCAN0_SPAN 4096
#define HPS_0_DCAN0_END 0xffc00fff
/*
* Macros for device 'hps_0_dcan1', class 'bosch_dcan'
* The macros are prefixed with 'HPS_0_DCAN1_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_DCAN1_COMPONENT_TYPE bosch_dcan
#define HPS_0_DCAN1_COMPONENT_NAME hps_0_dcan1
#define HPS_0_DCAN1_BASE 0xffc01000
#define HPS_0_DCAN1_SPAN 4096
#define HPS_0_DCAN1_END 0xffc01fff
/*
* Macros for device 'hps_0_uart0', class 'snps_uart'
* The macros are prefixed with 'HPS_0_UART0_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_UART0_COMPONENT_TYPE snps_uart
#define HPS_0_UART0_COMPONENT_NAME hps_0_uart0
#define HPS_0_UART0_BASE 0xffc02000
#define HPS_0_UART0_SPAN 256
#define HPS_0_UART0_END 0xffc020ff
#define HPS_0_UART0_FIFO_DEPTH 128
#define HPS_0_UART0_FIFO_HWFC 0
#define HPS_0_UART0_FIFO_MODE 1
#define HPS_0_UART0_FIFO_SWFC 0
#define HPS_0_UART0_FREQ 100000000
/*
* Macros for device 'hps_0_uart1', class 'snps_uart'
* The macros are prefixed with 'HPS_0_UART1_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_UART1_COMPONENT_TYPE snps_uart
#define HPS_0_UART1_COMPONENT_NAME hps_0_uart1
#define HPS_0_UART1_BASE 0xffc03000
#define HPS_0_UART1_SPAN 256
#define HPS_0_UART1_END 0xffc030ff
#define HPS_0_UART1_FIFO_DEPTH 128
#define HPS_0_UART1_FIFO_HWFC 0
#define HPS_0_UART1_FIFO_MODE 1
#define HPS_0_UART1_FIFO_SWFC 0
#define HPS_0_UART1_FREQ 100000000
/*
* Macros for device 'hps_0_i2c0', class 'designware_i2c'
* The macros are prefixed with 'HPS_0_I2C0_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_I2C0_COMPONENT_TYPE designware_i2c
#define HPS_0_I2C0_COMPONENT_NAME hps_0_i2c0
#define HPS_0_I2C0_BASE 0xffc04000
#define HPS_0_I2C0_SPAN 256
#define HPS_0_I2C0_END 0xffc040ff
/*
* Macros for device 'hps_0_i2c1', class 'designware_i2c'
* The macros are prefixed with 'HPS_0_I2C1_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_I2C1_COMPONENT_TYPE designware_i2c
#define HPS_0_I2C1_COMPONENT_NAME hps_0_i2c1
#define HPS_0_I2C1_BASE 0xffc05000
#define HPS_0_I2C1_SPAN 256
#define HPS_0_I2C1_END 0xffc050ff
/*
* Macros for device 'hps_0_i2c2', class 'designware_i2c'
* The macros are prefixed with 'HPS_0_I2C2_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_I2C2_COMPONENT_TYPE designware_i2c
#define HPS_0_I2C2_COMPONENT_NAME hps_0_i2c2
#define HPS_0_I2C2_BASE 0xffc06000
#define HPS_0_I2C2_SPAN 256
#define HPS_0_I2C2_END 0xffc060ff
/*
* Macros for device 'hps_0_i2c3', class 'designware_i2c'
* The macros are prefixed with 'HPS_0_I2C3_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_I2C3_COMPONENT_TYPE designware_i2c
#define HPS_0_I2C3_COMPONENT_NAME hps_0_i2c3
#define HPS_0_I2C3_BASE 0xffc07000
#define HPS_0_I2C3_SPAN 256
#define HPS_0_I2C3_END 0xffc070ff
/*
* Macros for device 'hps_0_timer0', class 'dw_apb_timer_sp'
* The macros are prefixed with 'HPS_0_TIMER0_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_TIMER0_COMPONENT_TYPE dw_apb_timer_sp
#define HPS_0_TIMER0_COMPONENT_NAME hps_0_timer0
#define HPS_0_TIMER0_BASE 0xffc08000
#define HPS_0_TIMER0_SPAN 256
#define HPS_0_TIMER0_END 0xffc080ff
/*
* Macros for device 'hps_0_timer1', class 'dw_apb_timer_sp'
* The macros are prefixed with 'HPS_0_TIMER1_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_TIMER1_COMPONENT_TYPE dw_apb_timer_sp
#define HPS_0_TIMER1_COMPONENT_NAME hps_0_timer1
#define HPS_0_TIMER1_BASE 0xffc09000
#define HPS_0_TIMER1_SPAN 256
#define HPS_0_TIMER1_END 0xffc090ff
/*
* Macros for device 'hps_0_sdrctl', class 'altera_sdrctl'
* The macros are prefixed with 'HPS_0_SDRCTL_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_SDRCTL_COMPONENT_TYPE altera_sdrctl
#define HPS_0_SDRCTL_COMPONENT_NAME hps_0_sdrctl
#define HPS_0_SDRCTL_BASE 0xffc25000
#define HPS_0_SDRCTL_SPAN 4096
#define HPS_0_SDRCTL_END 0xffc25fff
/*
* Macros for device 'hps_0_timer2', class 'dw_apb_timer_osc'
* The macros are prefixed with 'HPS_0_TIMER2_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_TIMER2_COMPONENT_TYPE dw_apb_timer_osc
#define HPS_0_TIMER2_COMPONENT_NAME hps_0_timer2
#define HPS_0_TIMER2_BASE 0xffd00000
#define HPS_0_TIMER2_SPAN 256
#define HPS_0_TIMER2_END 0xffd000ff
/*
* Macros for device 'hps_0_timer3', class 'dw_apb_timer_osc'
* The macros are prefixed with 'HPS_0_TIMER3_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_TIMER3_COMPONENT_TYPE dw_apb_timer_osc
#define HPS_0_TIMER3_COMPONENT_NAME hps_0_timer3
#define HPS_0_TIMER3_BASE 0xffd01000
#define HPS_0_TIMER3_SPAN 256
#define HPS_0_TIMER3_END 0xffd010ff
/*
* Macros for device 'hps_0_clkmgr', class 'asimov_clkmgr'
* The macros are prefixed with 'HPS_0_CLKMGR_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_CLKMGR_COMPONENT_TYPE asimov_clkmgr
#define HPS_0_CLKMGR_COMPONENT_NAME hps_0_clkmgr
#define HPS_0_CLKMGR_BASE 0xffd04000
#define HPS_0_CLKMGR_SPAN 4096
#define HPS_0_CLKMGR_END 0xffd04fff
/*
* Macros for device 'hps_0_rstmgr', class 'altera_rstmgr'
* The macros are prefixed with 'HPS_0_RSTMGR_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_RSTMGR_COMPONENT_TYPE altera_rstmgr
#define HPS_0_RSTMGR_COMPONENT_NAME hps_0_rstmgr
#define HPS_0_RSTMGR_BASE 0xffd05000
#define HPS_0_RSTMGR_SPAN 256
#define HPS_0_RSTMGR_END 0xffd050ff
/*
* Macros for device 'hps_0_sysmgr', class 'altera_sysmgr'
* The macros are prefixed with 'HPS_0_SYSMGR_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_SYSMGR_COMPONENT_TYPE altera_sysmgr
#define HPS_0_SYSMGR_COMPONENT_NAME hps_0_sysmgr
#define HPS_0_SYSMGR_BASE 0xffd08000
#define HPS_0_SYSMGR_SPAN 1024
#define HPS_0_SYSMGR_END 0xffd083ff
/*
* Macros for device 'hps_0_dma', class 'arm_pl330_dma'
* The macros are prefixed with 'HPS_0_DMA_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_DMA_COMPONENT_TYPE arm_pl330_dma
#define HPS_0_DMA_COMPONENT_NAME hps_0_dma
#define HPS_0_DMA_BASE 0xffe01000
#define HPS_0_DMA_SPAN 4096
#define HPS_0_DMA_END 0xffe01fff
/*
* Macros for device 'hps_0_spim0', class 'spi'
* The macros are prefixed with 'HPS_0_SPIM0_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_SPIM0_COMPONENT_TYPE spi
#define HPS_0_SPIM0_COMPONENT_NAME hps_0_spim0
#define HPS_0_SPIM0_BASE 0xfff00000
#define HPS_0_SPIM0_SPAN 256
#define HPS_0_SPIM0_END 0xfff000ff
/*
* Macros for device 'hps_0_spim1', class 'spi'
* The macros are prefixed with 'HPS_0_SPIM1_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_SPIM1_COMPONENT_TYPE spi
#define HPS_0_SPIM1_COMPONENT_NAME hps_0_spim1
#define HPS_0_SPIM1_BASE 0xfff01000
#define HPS_0_SPIM1_SPAN 256
#define HPS_0_SPIM1_END 0xfff010ff
/*
* Macros for device 'hps_0_timer', class 'arm_internal_timer'
* The macros are prefixed with 'HPS_0_TIMER_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_TIMER_COMPONENT_TYPE arm_internal_timer
#define HPS_0_TIMER_COMPONENT_NAME hps_0_timer
#define HPS_0_TIMER_BASE 0xfffec600
#define HPS_0_TIMER_SPAN 256
#define HPS_0_TIMER_END 0xfffec6ff
/*
* Macros for device 'hps_0_arm_gic_0', class 'arm_gic'
* The macros are prefixed with 'HPS_0_ARM_GIC_0_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_ARM_GIC_0_COMPONENT_TYPE arm_gic
#define HPS_0_ARM_GIC_0_COMPONENT_NAME hps_0_arm_gic_0
#define HPS_0_ARM_GIC_0_BASE 0xfffed000
#define HPS_0_ARM_GIC_0_SPAN 4096
#define HPS_0_ARM_GIC_0_END 0xfffedfff
/*
* Macros for device 'hps_0_L2', class 'arm_pl310_L2'
* The macros are prefixed with 'HPS_0_L2_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_L2_COMPONENT_TYPE arm_pl310_L2
#define HPS_0_L2_COMPONENT_NAME hps_0_L2
#define HPS_0_L2_BASE 0xfffef000
#define HPS_0_L2_SPAN 4096
#define HPS_0_L2_END 0xfffeffff
/*
* Macros for device 'hps_0_axi_ocram', class 'axi_ocram'
* The macros are prefixed with 'HPS_0_AXI_OCRAM_'.
* The prefix is the slave descriptor.
*/
#define HPS_0_AXI_OCRAM_COMPONENT_TYPE axi_ocram
#define HPS_0_AXI_OCRAM_COMPONENT_NAME hps_0_axi_ocram
#define HPS_0_AXI_OCRAM_BASE 0xffff0000
#define HPS_0_AXI_OCRAM_SPAN 65536
#define HPS_0_AXI_OCRAM_END 0xffffffff
#define HPS_0_AXI_OCRAM_SIZE_MULTIPLE 1
#define HPS_0_AXI_OCRAM_SIZE_VALUE 1<<16
#define HPS_0_AXI_OCRAM_WRITABLE 1
#define HPS_0_AXI_OCRAM_MEMORY_INFO_GENERATE_DAT_SYM 0
#define HPS_0_AXI_OCRAM_MEMORY_INFO_GENERATE_HEX 0
#define HPS_0_AXI_OCRAM_MEMORY_INFO_MEM_INIT_DATA_WIDTH 16
#endif /* _ALTERA_HPS_ONLY_MASTER_H_ */