Software APIs
top_darjeeling_memory.h
Go to the documentation of this file.
1// Copyright lowRISC contributors (OpenTitan project).
2// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3// SPDX-License-Identifier: Apache-2.0
4//
5// ------------------- W A R N I N G: A U T O - G E N E R A T E D C O D E !! -------------------//
6// PLEASE DO NOT HAND-EDIT THIS FILE. IT HAS BEEN AUTO-GENERATED WITH THE FOLLOWING COMMAND:
7// util/topgen.py -t hw/top_darjeeling/data/top_darjeeling.hjson
8// -o hw/top_darjeeling
9
10#ifndef OPENTITAN_HW_TOP_DARJEELING_SW_AUTOGEN_TOP_DARJEELING_MEMORY_H_
11#define OPENTITAN_HW_TOP_DARJEELING_SW_AUTOGEN_TOP_DARJEELING_MEMORY_H_
12
13/**
14 * @file
15 * @brief Assembler-only Top-Specific Definitions.
16 *
17 * This file contains preprocessor definitions for use within assembly code.
18 *
19 * These are not shared with C/C++ code because these are only allowed to be
20 * preprocessor definitions, no data or type declarations are allowed. The
21 * assembler is also stricter about literals (not allowing suffixes for
22 * signed/unsigned which are sensible to use for unsigned values in C/C++).
23 */
24
25// Include guard for assembler
26#ifdef __ASSEMBLER__
27/**
28 * Memory base for soc_proxy_ctn in top darjeeling.
29 */
30#define TOP_DARJEELING_CTN_BASE_ADDR 0x40000000
31
32/**
33 * Memory size for soc_proxy_ctn in top darjeeling.
34 */
35#define TOP_DARJEELING_CTN_SIZE_BYTES 0x40000000
36
37/**
38 * Memory base for sram_ctrl_ret_aon_ram_ret_aon in top darjeeling.
39 */
40#define TOP_DARJEELING_RAM_RET_AON_BASE_ADDR 0x30600000
41
42/**
43 * Memory size for sram_ctrl_ret_aon_ram_ret_aon in top darjeeling.
44 */
45#define TOP_DARJEELING_RAM_RET_AON_SIZE_BYTES 0x1000
46
47/**
48 * Memory base for sram_ctrl_main_ram_main in top darjeeling.
49 */
50#define TOP_DARJEELING_RAM_MAIN_BASE_ADDR 0x10000000
51
52/**
53 * Memory size for sram_ctrl_main_ram_main in top darjeeling.
54 */
55#define TOP_DARJEELING_RAM_MAIN_SIZE_BYTES 0x10000
56
57/**
58 * Memory base for sram_ctrl_mbox_ram_mbox in top darjeeling.
59 */
60#define TOP_DARJEELING_RAM_MBOX_BASE_ADDR 0x11000000
61
62/**
63 * Memory size for sram_ctrl_mbox_ram_mbox in top darjeeling.
64 */
65#define TOP_DARJEELING_RAM_MBOX_SIZE_BYTES 0x1000
66
67/**
68 * Memory base for rom_ctrl0_rom0 in top darjeeling.
69 */
70#define TOP_DARJEELING_ROM0_BASE_ADDR 0x00008000
71
72/**
73 * Memory size for rom_ctrl0_rom0 in top darjeeling.
74 */
75#define TOP_DARJEELING_ROM0_SIZE_BYTES 0x8000
76
77/**
78 * Memory base for rom_ctrl1_rom1 in top darjeeling.
79 */
80#define TOP_DARJEELING_ROM1_BASE_ADDR 0x00020000
81
82/**
83 * Memory size for rom_ctrl1_rom1 in top darjeeling.
84 */
85#define TOP_DARJEELING_ROM1_SIZE_BYTES 0x10000
86
87
88
89/**
90 * Peripheral base address for uart0 in top darjeeling.
91 *
92 * This should be used with #mmio_region_from_addr to access the memory-mapped
93 * registers associated with the peripheral (usually via a DIF).
94 */
95#define TOP_DARJEELING_UART0_BASE_ADDR 0x30010000
96
97/**
98 * Peripheral size for uart0 in top darjeeling.
99 *
100 * This is the size (in bytes) of the peripheral's reserved memory area. All
101 * memory-mapped registers associated with this peripheral should have an
102 * address between #TOP_DARJEELING_UART0_BASE_ADDR and
103 * `TOP_DARJEELING_UART0_BASE_ADDR + TOP_DARJEELING_UART0_SIZE_BYTES`.
104 */
105#define TOP_DARJEELING_UART0_SIZE_BYTES 0x40
106/**
107 * Peripheral base address for gpio in top darjeeling.
108 *
109 * This should be used with #mmio_region_from_addr to access the memory-mapped
110 * registers associated with the peripheral (usually via a DIF).
111 */
112#define TOP_DARJEELING_GPIO_BASE_ADDR 0x30000000
113
114/**
115 * Peripheral size for gpio in top darjeeling.
116 *
117 * This is the size (in bytes) of the peripheral's reserved memory area. All
118 * memory-mapped registers associated with this peripheral should have an
119 * address between #TOP_DARJEELING_GPIO_BASE_ADDR and
120 * `TOP_DARJEELING_GPIO_BASE_ADDR + TOP_DARJEELING_GPIO_SIZE_BYTES`.
121 */
122#define TOP_DARJEELING_GPIO_SIZE_BYTES 0x100
123/**
124 * Peripheral base address for spi_device in top darjeeling.
125 *
126 * This should be used with #mmio_region_from_addr to access the memory-mapped
127 * registers associated with the peripheral (usually via a DIF).
128 */
129#define TOP_DARJEELING_SPI_DEVICE_BASE_ADDR 0x30310000
130
131/**
132 * Peripheral size for spi_device in top darjeeling.
133 *
134 * This is the size (in bytes) of the peripheral's reserved memory area. All
135 * memory-mapped registers associated with this peripheral should have an
136 * address between #TOP_DARJEELING_SPI_DEVICE_BASE_ADDR and
137 * `TOP_DARJEELING_SPI_DEVICE_BASE_ADDR + TOP_DARJEELING_SPI_DEVICE_SIZE_BYTES`.
138 */
139#define TOP_DARJEELING_SPI_DEVICE_SIZE_BYTES 0x2000
140/**
141 * Peripheral base address for i2c0 in top darjeeling.
142 *
143 * This should be used with #mmio_region_from_addr to access the memory-mapped
144 * registers associated with the peripheral (usually via a DIF).
145 */
146#define TOP_DARJEELING_I2C0_BASE_ADDR 0x30080000
147
148/**
149 * Peripheral size for i2c0 in top darjeeling.
150 *
151 * This is the size (in bytes) of the peripheral's reserved memory area. All
152 * memory-mapped registers associated with this peripheral should have an
153 * address between #TOP_DARJEELING_I2C0_BASE_ADDR and
154 * `TOP_DARJEELING_I2C0_BASE_ADDR + TOP_DARJEELING_I2C0_SIZE_BYTES`.
155 */
156#define TOP_DARJEELING_I2C0_SIZE_BYTES 0x80
157/**
158 * Peripheral base address for rv_timer in top darjeeling.
159 *
160 * This should be used with #mmio_region_from_addr to access the memory-mapped
161 * registers associated with the peripheral (usually via a DIF).
162 */
163#define TOP_DARJEELING_RV_TIMER_BASE_ADDR 0x30100000
164
165/**
166 * Peripheral size for rv_timer in top darjeeling.
167 *
168 * This is the size (in bytes) of the peripheral's reserved memory area. All
169 * memory-mapped registers associated with this peripheral should have an
170 * address between #TOP_DARJEELING_RV_TIMER_BASE_ADDR and
171 * `TOP_DARJEELING_RV_TIMER_BASE_ADDR + TOP_DARJEELING_RV_TIMER_SIZE_BYTES`.
172 */
173#define TOP_DARJEELING_RV_TIMER_SIZE_BYTES 0x200
174/**
175 * Peripheral base address for core device on otp_ctrl in top darjeeling.
176 *
177 * This should be used with #mmio_region_from_addr to access the memory-mapped
178 * registers associated with the peripheral (usually via a DIF).
179 */
180#define TOP_DARJEELING_OTP_CTRL_CORE_BASE_ADDR 0x30130000
181
182/**
183 * Peripheral size for core device on otp_ctrl in top darjeeling.
184 *
185 * This is the size (in bytes) of the peripheral's reserved memory area. All
186 * memory-mapped registers associated with this peripheral should have an
187 * address between #TOP_DARJEELING_OTP_CTRL_CORE_BASE_ADDR and
188 * `TOP_DARJEELING_OTP_CTRL_CORE_BASE_ADDR + TOP_DARJEELING_OTP_CTRL_CORE_SIZE_BYTES`.
189 */
190#define TOP_DARJEELING_OTP_CTRL_CORE_SIZE_BYTES 0x8000
191/**
192 * Peripheral base address for otp_macro in top darjeeling.
193 *
194 * This should be used with #mmio_region_from_addr to access the memory-mapped
195 * registers associated with the peripheral (usually via a DIF).
196 */
197#define TOP_DARJEELING_OTP_MACRO_BASE_ADDR 0x30140000
198
199/**
200 * Peripheral size for otp_macro in top darjeeling.
201 *
202 * This is the size (in bytes) of the peripheral's reserved memory area. All
203 * memory-mapped registers associated with this peripheral should have an
204 * address between #TOP_DARJEELING_OTP_MACRO_BASE_ADDR and
205 * `TOP_DARJEELING_OTP_MACRO_BASE_ADDR + TOP_DARJEELING_OTP_MACRO_SIZE_BYTES`.
206 */
207#define TOP_DARJEELING_OTP_MACRO_SIZE_BYTES 0x20
208/**
209 * Peripheral base address for regs device on lc_ctrl in top darjeeling.
210 *
211 * This should be used with #mmio_region_from_addr to access the memory-mapped
212 * registers associated with the peripheral (usually via a DIF).
213 */
214#define TOP_DARJEELING_LC_CTRL_REGS_BASE_ADDR 0x30150000
215
216/**
217 * Peripheral size for regs device on lc_ctrl in top darjeeling.
218 *
219 * This is the size (in bytes) of the peripheral's reserved memory area. All
220 * memory-mapped registers associated with this peripheral should have an
221 * address between #TOP_DARJEELING_LC_CTRL_REGS_BASE_ADDR and
222 * `TOP_DARJEELING_LC_CTRL_REGS_BASE_ADDR + TOP_DARJEELING_LC_CTRL_REGS_SIZE_BYTES`.
223 */
224#define TOP_DARJEELING_LC_CTRL_REGS_SIZE_BYTES 0x100
225/**
226 * Peripheral base address for alert_handler in top darjeeling.
227 *
228 * This should be used with #mmio_region_from_addr to access the memory-mapped
229 * registers associated with the peripheral (usually via a DIF).
230 */
231#define TOP_DARJEELING_ALERT_HANDLER_BASE_ADDR 0x30160000
232
233/**
234 * Peripheral size for alert_handler in top darjeeling.
235 *
236 * This is the size (in bytes) of the peripheral's reserved memory area. All
237 * memory-mapped registers associated with this peripheral should have an
238 * address between #TOP_DARJEELING_ALERT_HANDLER_BASE_ADDR and
239 * `TOP_DARJEELING_ALERT_HANDLER_BASE_ADDR + TOP_DARJEELING_ALERT_HANDLER_SIZE_BYTES`.
240 */
241#define TOP_DARJEELING_ALERT_HANDLER_SIZE_BYTES 0x800
242/**
243 * Peripheral base address for spi_host0 in top darjeeling.
244 *
245 * This should be used with #mmio_region_from_addr to access the memory-mapped
246 * registers associated with the peripheral (usually via a DIF).
247 */
248#define TOP_DARJEELING_SPI_HOST0_BASE_ADDR 0x30300000
249
250/**
251 * Peripheral size for spi_host0 in top darjeeling.
252 *
253 * This is the size (in bytes) of the peripheral's reserved memory area. All
254 * memory-mapped registers associated with this peripheral should have an
255 * address between #TOP_DARJEELING_SPI_HOST0_BASE_ADDR and
256 * `TOP_DARJEELING_SPI_HOST0_BASE_ADDR + TOP_DARJEELING_SPI_HOST0_SIZE_BYTES`.
257 */
258#define TOP_DARJEELING_SPI_HOST0_SIZE_BYTES 0x40
259/**
260 * Peripheral base address for pwrmgr_aon in top darjeeling.
261 *
262 * This should be used with #mmio_region_from_addr to access the memory-mapped
263 * registers associated with the peripheral (usually via a DIF).
264 */
265#define TOP_DARJEELING_PWRMGR_AON_BASE_ADDR 0x30400000
266
267/**
268 * Peripheral size for pwrmgr_aon in top darjeeling.
269 *
270 * This is the size (in bytes) of the peripheral's reserved memory area. All
271 * memory-mapped registers associated with this peripheral should have an
272 * address between #TOP_DARJEELING_PWRMGR_AON_BASE_ADDR and
273 * `TOP_DARJEELING_PWRMGR_AON_BASE_ADDR + TOP_DARJEELING_PWRMGR_AON_SIZE_BYTES`.
274 */
275#define TOP_DARJEELING_PWRMGR_AON_SIZE_BYTES 0x80
276/**
277 * Peripheral base address for rstmgr_aon in top darjeeling.
278 *
279 * This should be used with #mmio_region_from_addr to access the memory-mapped
280 * registers associated with the peripheral (usually via a DIF).
281 */
282#define TOP_DARJEELING_RSTMGR_AON_BASE_ADDR 0x30410000
283
284/**
285 * Peripheral size for rstmgr_aon in top darjeeling.
286 *
287 * This is the size (in bytes) of the peripheral's reserved memory area. All
288 * memory-mapped registers associated with this peripheral should have an
289 * address between #TOP_DARJEELING_RSTMGR_AON_BASE_ADDR and
290 * `TOP_DARJEELING_RSTMGR_AON_BASE_ADDR + TOP_DARJEELING_RSTMGR_AON_SIZE_BYTES`.
291 */
292#define TOP_DARJEELING_RSTMGR_AON_SIZE_BYTES 0x80
293/**
294 * Peripheral base address for clkmgr_aon in top darjeeling.
295 *
296 * This should be used with #mmio_region_from_addr to access the memory-mapped
297 * registers associated with the peripheral (usually via a DIF).
298 */
299#define TOP_DARJEELING_CLKMGR_AON_BASE_ADDR 0x30420000
300
301/**
302 * Peripheral size for clkmgr_aon in top darjeeling.
303 *
304 * This is the size (in bytes) of the peripheral's reserved memory area. All
305 * memory-mapped registers associated with this peripheral should have an
306 * address between #TOP_DARJEELING_CLKMGR_AON_BASE_ADDR and
307 * `TOP_DARJEELING_CLKMGR_AON_BASE_ADDR + TOP_DARJEELING_CLKMGR_AON_SIZE_BYTES`.
308 */
309#define TOP_DARJEELING_CLKMGR_AON_SIZE_BYTES 0x40
310/**
311 * Peripheral base address for pinmux_aon in top darjeeling.
312 *
313 * This should be used with #mmio_region_from_addr to access the memory-mapped
314 * registers associated with the peripheral (usually via a DIF).
315 */
316#define TOP_DARJEELING_PINMUX_AON_BASE_ADDR 0x30460000
317
318/**
319 * Peripheral size for pinmux_aon in top darjeeling.
320 *
321 * This is the size (in bytes) of the peripheral's reserved memory area. All
322 * memory-mapped registers associated with this peripheral should have an
323 * address between #TOP_DARJEELING_PINMUX_AON_BASE_ADDR and
324 * `TOP_DARJEELING_PINMUX_AON_BASE_ADDR + TOP_DARJEELING_PINMUX_AON_SIZE_BYTES`.
325 */
326#define TOP_DARJEELING_PINMUX_AON_SIZE_BYTES 0x800
327/**
328 * Peripheral base address for aon_timer_aon in top darjeeling.
329 *
330 * This should be used with #mmio_region_from_addr to access the memory-mapped
331 * registers associated with the peripheral (usually via a DIF).
332 */
333#define TOP_DARJEELING_AON_TIMER_AON_BASE_ADDR 0x30470000
334
335/**
336 * Peripheral size for aon_timer_aon in top darjeeling.
337 *
338 * This is the size (in bytes) of the peripheral's reserved memory area. All
339 * memory-mapped registers associated with this peripheral should have an
340 * address between #TOP_DARJEELING_AON_TIMER_AON_BASE_ADDR and
341 * `TOP_DARJEELING_AON_TIMER_AON_BASE_ADDR + TOP_DARJEELING_AON_TIMER_AON_SIZE_BYTES`.
342 */
343#define TOP_DARJEELING_AON_TIMER_AON_SIZE_BYTES 0x40
344/**
345 * Peripheral base address for ast in top darjeeling.
346 *
347 * This should be used with #mmio_region_from_addr to access the memory-mapped
348 * registers associated with the peripheral (usually via a DIF).
349 */
350#define TOP_DARJEELING_AST_BASE_ADDR 0x30480000
351
352/**
353 * Peripheral size for ast in top darjeeling.
354 *
355 * This is the size (in bytes) of the peripheral's reserved memory area. All
356 * memory-mapped registers associated with this peripheral should have an
357 * address between #TOP_DARJEELING_AST_BASE_ADDR and
358 * `TOP_DARJEELING_AST_BASE_ADDR + TOP_DARJEELING_AST_SIZE_BYTES`.
359 */
360#define TOP_DARJEELING_AST_SIZE_BYTES 0x400
361/**
362 * Peripheral base address for core device on soc_proxy in top darjeeling.
363 *
364 * This should be used with #mmio_region_from_addr to access the memory-mapped
365 * registers associated with the peripheral (usually via a DIF).
366 */
367#define TOP_DARJEELING_SOC_PROXY_CORE_BASE_ADDR 0x22030000
368
369/**
370 * Peripheral size for core device on soc_proxy in top darjeeling.
371 *
372 * This is the size (in bytes) of the peripheral's reserved memory area. All
373 * memory-mapped registers associated with this peripheral should have an
374 * address between #TOP_DARJEELING_SOC_PROXY_CORE_BASE_ADDR and
375 * `TOP_DARJEELING_SOC_PROXY_CORE_BASE_ADDR + TOP_DARJEELING_SOC_PROXY_CORE_SIZE_BYTES`.
376 */
377#define TOP_DARJEELING_SOC_PROXY_CORE_SIZE_BYTES 0x10
378/**
379 * Peripheral base address for ctn device on soc_proxy in top darjeeling.
380 *
381 * This should be used with #mmio_region_from_addr to access the memory-mapped
382 * registers associated with the peripheral (usually via a DIF).
383 */
384#define TOP_DARJEELING_SOC_PROXY_CTN_BASE_ADDR 0x40000000
385
386/**
387 * Peripheral size for ctn device on soc_proxy in top darjeeling.
388 *
389 * This is the size (in bytes) of the peripheral's reserved memory area. All
390 * memory-mapped registers associated with this peripheral should have an
391 * address between #TOP_DARJEELING_SOC_PROXY_CTN_BASE_ADDR and
392 * `TOP_DARJEELING_SOC_PROXY_CTN_BASE_ADDR + TOP_DARJEELING_SOC_PROXY_CTN_SIZE_BYTES`.
393 */
394#define TOP_DARJEELING_SOC_PROXY_CTN_SIZE_BYTES 0x40000000
395/**
396 * Peripheral base address for regs device on sram_ctrl_ret_aon in top darjeeling.
397 *
398 * This should be used with #mmio_region_from_addr to access the memory-mapped
399 * registers associated with the peripheral (usually via a DIF).
400 */
401#define TOP_DARJEELING_SRAM_CTRL_RET_AON_REGS_BASE_ADDR 0x30500000
402
403/**
404 * Peripheral size for regs device on sram_ctrl_ret_aon in top darjeeling.
405 *
406 * This is the size (in bytes) of the peripheral's reserved memory area. All
407 * memory-mapped registers associated with this peripheral should have an
408 * address between #TOP_DARJEELING_SRAM_CTRL_RET_AON_REGS_BASE_ADDR and
409 * `TOP_DARJEELING_SRAM_CTRL_RET_AON_REGS_BASE_ADDR + TOP_DARJEELING_SRAM_CTRL_RET_AON_REGS_SIZE_BYTES`.
410 */
411#define TOP_DARJEELING_SRAM_CTRL_RET_AON_REGS_SIZE_BYTES 0x40
412/**
413 * Peripheral base address for ram device on sram_ctrl_ret_aon in top darjeeling.
414 *
415 * This should be used with #mmio_region_from_addr to access the memory-mapped
416 * registers associated with the peripheral (usually via a DIF).
417 */
418#define TOP_DARJEELING_SRAM_CTRL_RET_AON_RAM_BASE_ADDR 0x30600000
419
420/**
421 * Peripheral size for ram device on sram_ctrl_ret_aon in top darjeeling.
422 *
423 * This is the size (in bytes) of the peripheral's reserved memory area. All
424 * memory-mapped registers associated with this peripheral should have an
425 * address between #TOP_DARJEELING_SRAM_CTRL_RET_AON_RAM_BASE_ADDR and
426 * `TOP_DARJEELING_SRAM_CTRL_RET_AON_RAM_BASE_ADDR + TOP_DARJEELING_SRAM_CTRL_RET_AON_RAM_SIZE_BYTES`.
427 */
428#define TOP_DARJEELING_SRAM_CTRL_RET_AON_RAM_SIZE_BYTES 0x1000
429/**
430 * Peripheral base address for regs device on rv_dm in top darjeeling.
431 *
432 * This should be used with #mmio_region_from_addr to access the memory-mapped
433 * registers associated with the peripheral (usually via a DIF).
434 */
435#define TOP_DARJEELING_RV_DM_REGS_BASE_ADDR 0x21200000
436
437/**
438 * Peripheral size for regs device on rv_dm in top darjeeling.
439 *
440 * This is the size (in bytes) of the peripheral's reserved memory area. All
441 * memory-mapped registers associated with this peripheral should have an
442 * address between #TOP_DARJEELING_RV_DM_REGS_BASE_ADDR and
443 * `TOP_DARJEELING_RV_DM_REGS_BASE_ADDR + TOP_DARJEELING_RV_DM_REGS_SIZE_BYTES`.
444 */
445#define TOP_DARJEELING_RV_DM_REGS_SIZE_BYTES 0x10
446/**
447 * Peripheral base address for mem device on rv_dm in top darjeeling.
448 *
449 * This should be used with #mmio_region_from_addr to access the memory-mapped
450 * registers associated with the peripheral (usually via a DIF).
451 */
452#define TOP_DARJEELING_RV_DM_MEM_BASE_ADDR 0x40000
453
454/**
455 * Peripheral size for mem device on rv_dm in top darjeeling.
456 *
457 * This is the size (in bytes) of the peripheral's reserved memory area. All
458 * memory-mapped registers associated with this peripheral should have an
459 * address between #TOP_DARJEELING_RV_DM_MEM_BASE_ADDR and
460 * `TOP_DARJEELING_RV_DM_MEM_BASE_ADDR + TOP_DARJEELING_RV_DM_MEM_SIZE_BYTES`.
461 */
462#define TOP_DARJEELING_RV_DM_MEM_SIZE_BYTES 0x1000
463/**
464 * Peripheral base address for rv_plic in top darjeeling.
465 *
466 * This should be used with #mmio_region_from_addr to access the memory-mapped
467 * registers associated with the peripheral (usually via a DIF).
468 */
469#define TOP_DARJEELING_RV_PLIC_BASE_ADDR 0x28000000
470
471/**
472 * Peripheral size for rv_plic in top darjeeling.
473 *
474 * This is the size (in bytes) of the peripheral's reserved memory area. All
475 * memory-mapped registers associated with this peripheral should have an
476 * address between #TOP_DARJEELING_RV_PLIC_BASE_ADDR and
477 * `TOP_DARJEELING_RV_PLIC_BASE_ADDR + TOP_DARJEELING_RV_PLIC_SIZE_BYTES`.
478 */
479#define TOP_DARJEELING_RV_PLIC_SIZE_BYTES 0x8000000
480/**
481 * Peripheral base address for aes in top darjeeling.
482 *
483 * This should be used with #mmio_region_from_addr to access the memory-mapped
484 * registers associated with the peripheral (usually via a DIF).
485 */
486#define TOP_DARJEELING_AES_BASE_ADDR 0x21100000
487
488/**
489 * Peripheral size for aes in top darjeeling.
490 *
491 * This is the size (in bytes) of the peripheral's reserved memory area. All
492 * memory-mapped registers associated with this peripheral should have an
493 * address between #TOP_DARJEELING_AES_BASE_ADDR and
494 * `TOP_DARJEELING_AES_BASE_ADDR + TOP_DARJEELING_AES_SIZE_BYTES`.
495 */
496#define TOP_DARJEELING_AES_SIZE_BYTES 0x100
497/**
498 * Peripheral base address for hmac in top darjeeling.
499 *
500 * This should be used with #mmio_region_from_addr to access the memory-mapped
501 * registers associated with the peripheral (usually via a DIF).
502 */
503#define TOP_DARJEELING_HMAC_BASE_ADDR 0x21110000
504
505/**
506 * Peripheral size for hmac in top darjeeling.
507 *
508 * This is the size (in bytes) of the peripheral's reserved memory area. All
509 * memory-mapped registers associated with this peripheral should have an
510 * address between #TOP_DARJEELING_HMAC_BASE_ADDR and
511 * `TOP_DARJEELING_HMAC_BASE_ADDR + TOP_DARJEELING_HMAC_SIZE_BYTES`.
512 */
513#define TOP_DARJEELING_HMAC_SIZE_BYTES 0x2000
514/**
515 * Peripheral base address for kmac in top darjeeling.
516 *
517 * This should be used with #mmio_region_from_addr to access the memory-mapped
518 * registers associated with the peripheral (usually via a DIF).
519 */
520#define TOP_DARJEELING_KMAC_BASE_ADDR 0x21120000
521
522/**
523 * Peripheral size for kmac in top darjeeling.
524 *
525 * This is the size (in bytes) of the peripheral's reserved memory area. All
526 * memory-mapped registers associated with this peripheral should have an
527 * address between #TOP_DARJEELING_KMAC_BASE_ADDR and
528 * `TOP_DARJEELING_KMAC_BASE_ADDR + TOP_DARJEELING_KMAC_SIZE_BYTES`.
529 */
530#define TOP_DARJEELING_KMAC_SIZE_BYTES 0x1000
531/**
532 * Peripheral base address for otbn in top darjeeling.
533 *
534 * This should be used with #mmio_region_from_addr to access the memory-mapped
535 * registers associated with the peripheral (usually via a DIF).
536 */
537#define TOP_DARJEELING_OTBN_BASE_ADDR 0x21130000
538
539/**
540 * Peripheral size for otbn in top darjeeling.
541 *
542 * This is the size (in bytes) of the peripheral's reserved memory area. All
543 * memory-mapped registers associated with this peripheral should have an
544 * address between #TOP_DARJEELING_OTBN_BASE_ADDR and
545 * `TOP_DARJEELING_OTBN_BASE_ADDR + TOP_DARJEELING_OTBN_SIZE_BYTES`.
546 */
547#define TOP_DARJEELING_OTBN_SIZE_BYTES 0x10000
548/**
549 * Peripheral base address for keymgr_dpe in top darjeeling.
550 *
551 * This should be used with #mmio_region_from_addr to access the memory-mapped
552 * registers associated with the peripheral (usually via a DIF).
553 */
554#define TOP_DARJEELING_KEYMGR_DPE_BASE_ADDR 0x21140000
555
556/**
557 * Peripheral size for keymgr_dpe in top darjeeling.
558 *
559 * This is the size (in bytes) of the peripheral's reserved memory area. All
560 * memory-mapped registers associated with this peripheral should have an
561 * address between #TOP_DARJEELING_KEYMGR_DPE_BASE_ADDR and
562 * `TOP_DARJEELING_KEYMGR_DPE_BASE_ADDR + TOP_DARJEELING_KEYMGR_DPE_SIZE_BYTES`.
563 */
564#define TOP_DARJEELING_KEYMGR_DPE_SIZE_BYTES 0x100
565/**
566 * Peripheral base address for csrng in top darjeeling.
567 *
568 * This should be used with #mmio_region_from_addr to access the memory-mapped
569 * registers associated with the peripheral (usually via a DIF).
570 */
571#define TOP_DARJEELING_CSRNG_BASE_ADDR 0x21150000
572
573/**
574 * Peripheral size for csrng in top darjeeling.
575 *
576 * This is the size (in bytes) of the peripheral's reserved memory area. All
577 * memory-mapped registers associated with this peripheral should have an
578 * address between #TOP_DARJEELING_CSRNG_BASE_ADDR and
579 * `TOP_DARJEELING_CSRNG_BASE_ADDR + TOP_DARJEELING_CSRNG_SIZE_BYTES`.
580 */
581#define TOP_DARJEELING_CSRNG_SIZE_BYTES 0x80
582/**
583 * Peripheral base address for edn0 in top darjeeling.
584 *
585 * This should be used with #mmio_region_from_addr to access the memory-mapped
586 * registers associated with the peripheral (usually via a DIF).
587 */
588#define TOP_DARJEELING_EDN0_BASE_ADDR 0x21170000
589
590/**
591 * Peripheral size for edn0 in top darjeeling.
592 *
593 * This is the size (in bytes) of the peripheral's reserved memory area. All
594 * memory-mapped registers associated with this peripheral should have an
595 * address between #TOP_DARJEELING_EDN0_BASE_ADDR and
596 * `TOP_DARJEELING_EDN0_BASE_ADDR + TOP_DARJEELING_EDN0_SIZE_BYTES`.
597 */
598#define TOP_DARJEELING_EDN0_SIZE_BYTES 0x80
599/**
600 * Peripheral base address for edn1 in top darjeeling.
601 *
602 * This should be used with #mmio_region_from_addr to access the memory-mapped
603 * registers associated with the peripheral (usually via a DIF).
604 */
605#define TOP_DARJEELING_EDN1_BASE_ADDR 0x21180000
606
607/**
608 * Peripheral size for edn1 in top darjeeling.
609 *
610 * This is the size (in bytes) of the peripheral's reserved memory area. All
611 * memory-mapped registers associated with this peripheral should have an
612 * address between #TOP_DARJEELING_EDN1_BASE_ADDR and
613 * `TOP_DARJEELING_EDN1_BASE_ADDR + TOP_DARJEELING_EDN1_SIZE_BYTES`.
614 */
615#define TOP_DARJEELING_EDN1_SIZE_BYTES 0x80
616/**
617 * Peripheral base address for regs device on sram_ctrl_main in top darjeeling.
618 *
619 * This should be used with #mmio_region_from_addr to access the memory-mapped
620 * registers associated with the peripheral (usually via a DIF).
621 */
622#define TOP_DARJEELING_SRAM_CTRL_MAIN_REGS_BASE_ADDR 0x211C0000
623
624/**
625 * Peripheral size for regs device on sram_ctrl_main in top darjeeling.
626 *
627 * This is the size (in bytes) of the peripheral's reserved memory area. All
628 * memory-mapped registers associated with this peripheral should have an
629 * address between #TOP_DARJEELING_SRAM_CTRL_MAIN_REGS_BASE_ADDR and
630 * `TOP_DARJEELING_SRAM_CTRL_MAIN_REGS_BASE_ADDR + TOP_DARJEELING_SRAM_CTRL_MAIN_REGS_SIZE_BYTES`.
631 */
632#define TOP_DARJEELING_SRAM_CTRL_MAIN_REGS_SIZE_BYTES 0x40
633/**
634 * Peripheral base address for ram device on sram_ctrl_main in top darjeeling.
635 *
636 * This should be used with #mmio_region_from_addr to access the memory-mapped
637 * registers associated with the peripheral (usually via a DIF).
638 */
639#define TOP_DARJEELING_SRAM_CTRL_MAIN_RAM_BASE_ADDR 0x10000000
640
641/**
642 * Peripheral size for ram device on sram_ctrl_main in top darjeeling.
643 *
644 * This is the size (in bytes) of the peripheral's reserved memory area. All
645 * memory-mapped registers associated with this peripheral should have an
646 * address between #TOP_DARJEELING_SRAM_CTRL_MAIN_RAM_BASE_ADDR and
647 * `TOP_DARJEELING_SRAM_CTRL_MAIN_RAM_BASE_ADDR + TOP_DARJEELING_SRAM_CTRL_MAIN_RAM_SIZE_BYTES`.
648 */
649#define TOP_DARJEELING_SRAM_CTRL_MAIN_RAM_SIZE_BYTES 0x10000
650/**
651 * Peripheral base address for regs device on sram_ctrl_mbox in top darjeeling.
652 *
653 * This should be used with #mmio_region_from_addr to access the memory-mapped
654 * registers associated with the peripheral (usually via a DIF).
655 */
656#define TOP_DARJEELING_SRAM_CTRL_MBOX_REGS_BASE_ADDR 0x211D0000
657
658/**
659 * Peripheral size for regs device on sram_ctrl_mbox in top darjeeling.
660 *
661 * This is the size (in bytes) of the peripheral's reserved memory area. All
662 * memory-mapped registers associated with this peripheral should have an
663 * address between #TOP_DARJEELING_SRAM_CTRL_MBOX_REGS_BASE_ADDR and
664 * `TOP_DARJEELING_SRAM_CTRL_MBOX_REGS_BASE_ADDR + TOP_DARJEELING_SRAM_CTRL_MBOX_REGS_SIZE_BYTES`.
665 */
666#define TOP_DARJEELING_SRAM_CTRL_MBOX_REGS_SIZE_BYTES 0x40
667/**
668 * Peripheral base address for ram device on sram_ctrl_mbox in top darjeeling.
669 *
670 * This should be used with #mmio_region_from_addr to access the memory-mapped
671 * registers associated with the peripheral (usually via a DIF).
672 */
673#define TOP_DARJEELING_SRAM_CTRL_MBOX_RAM_BASE_ADDR 0x11000000
674
675/**
676 * Peripheral size for ram device on sram_ctrl_mbox in top darjeeling.
677 *
678 * This is the size (in bytes) of the peripheral's reserved memory area. All
679 * memory-mapped registers associated with this peripheral should have an
680 * address between #TOP_DARJEELING_SRAM_CTRL_MBOX_RAM_BASE_ADDR and
681 * `TOP_DARJEELING_SRAM_CTRL_MBOX_RAM_BASE_ADDR + TOP_DARJEELING_SRAM_CTRL_MBOX_RAM_SIZE_BYTES`.
682 */
683#define TOP_DARJEELING_SRAM_CTRL_MBOX_RAM_SIZE_BYTES 0x1000
684/**
685 * Peripheral base address for regs device on rom_ctrl0 in top darjeeling.
686 *
687 * This should be used with #mmio_region_from_addr to access the memory-mapped
688 * registers associated with the peripheral (usually via a DIF).
689 */
690#define TOP_DARJEELING_ROM_CTRL0_REGS_BASE_ADDR 0x211E0000
691
692/**
693 * Peripheral size for regs device on rom_ctrl0 in top darjeeling.
694 *
695 * This is the size (in bytes) of the peripheral's reserved memory area. All
696 * memory-mapped registers associated with this peripheral should have an
697 * address between #TOP_DARJEELING_ROM_CTRL0_REGS_BASE_ADDR and
698 * `TOP_DARJEELING_ROM_CTRL0_REGS_BASE_ADDR + TOP_DARJEELING_ROM_CTRL0_REGS_SIZE_BYTES`.
699 */
700#define TOP_DARJEELING_ROM_CTRL0_REGS_SIZE_BYTES 0x80
701/**
702 * Peripheral base address for rom device on rom_ctrl0 in top darjeeling.
703 *
704 * This should be used with #mmio_region_from_addr to access the memory-mapped
705 * registers associated with the peripheral (usually via a DIF).
706 */
707#define TOP_DARJEELING_ROM_CTRL0_ROM_BASE_ADDR 0x8000
708
709/**
710 * Peripheral size for rom device on rom_ctrl0 in top darjeeling.
711 *
712 * This is the size (in bytes) of the peripheral's reserved memory area. All
713 * memory-mapped registers associated with this peripheral should have an
714 * address between #TOP_DARJEELING_ROM_CTRL0_ROM_BASE_ADDR and
715 * `TOP_DARJEELING_ROM_CTRL0_ROM_BASE_ADDR + TOP_DARJEELING_ROM_CTRL0_ROM_SIZE_BYTES`.
716 */
717#define TOP_DARJEELING_ROM_CTRL0_ROM_SIZE_BYTES 0x8000
718/**
719 * Peripheral base address for regs device on rom_ctrl1 in top darjeeling.
720 *
721 * This should be used with #mmio_region_from_addr to access the memory-mapped
722 * registers associated with the peripheral (usually via a DIF).
723 */
724#define TOP_DARJEELING_ROM_CTRL1_REGS_BASE_ADDR 0x211E1000
725
726/**
727 * Peripheral size for regs device on rom_ctrl1 in top darjeeling.
728 *
729 * This is the size (in bytes) of the peripheral's reserved memory area. All
730 * memory-mapped registers associated with this peripheral should have an
731 * address between #TOP_DARJEELING_ROM_CTRL1_REGS_BASE_ADDR and
732 * `TOP_DARJEELING_ROM_CTRL1_REGS_BASE_ADDR + TOP_DARJEELING_ROM_CTRL1_REGS_SIZE_BYTES`.
733 */
734#define TOP_DARJEELING_ROM_CTRL1_REGS_SIZE_BYTES 0x80
735/**
736 * Peripheral base address for rom device on rom_ctrl1 in top darjeeling.
737 *
738 * This should be used with #mmio_region_from_addr to access the memory-mapped
739 * registers associated with the peripheral (usually via a DIF).
740 */
741#define TOP_DARJEELING_ROM_CTRL1_ROM_BASE_ADDR 0x20000
742
743/**
744 * Peripheral size for rom device on rom_ctrl1 in top darjeeling.
745 *
746 * This is the size (in bytes) of the peripheral's reserved memory area. All
747 * memory-mapped registers associated with this peripheral should have an
748 * address between #TOP_DARJEELING_ROM_CTRL1_ROM_BASE_ADDR and
749 * `TOP_DARJEELING_ROM_CTRL1_ROM_BASE_ADDR + TOP_DARJEELING_ROM_CTRL1_ROM_SIZE_BYTES`.
750 */
751#define TOP_DARJEELING_ROM_CTRL1_ROM_SIZE_BYTES 0x10000
752/**
753 * Peripheral base address for dma in top darjeeling.
754 *
755 * This should be used with #mmio_region_from_addr to access the memory-mapped
756 * registers associated with the peripheral (usually via a DIF).
757 */
758#define TOP_DARJEELING_DMA_BASE_ADDR 0x22010000
759
760/**
761 * Peripheral size for dma in top darjeeling.
762 *
763 * This is the size (in bytes) of the peripheral's reserved memory area. All
764 * memory-mapped registers associated with this peripheral should have an
765 * address between #TOP_DARJEELING_DMA_BASE_ADDR and
766 * `TOP_DARJEELING_DMA_BASE_ADDR + TOP_DARJEELING_DMA_SIZE_BYTES`.
767 */
768#define TOP_DARJEELING_DMA_SIZE_BYTES 0x200
769/**
770 * Peripheral base address for core device on mbx0 in top darjeeling.
771 *
772 * This should be used with #mmio_region_from_addr to access the memory-mapped
773 * registers associated with the peripheral (usually via a DIF).
774 */
775#define TOP_DARJEELING_MBX0_CORE_BASE_ADDR 0x22000000
776
777/**
778 * Peripheral size for core device on mbx0 in top darjeeling.
779 *
780 * This is the size (in bytes) of the peripheral's reserved memory area. All
781 * memory-mapped registers associated with this peripheral should have an
782 * address between #TOP_DARJEELING_MBX0_CORE_BASE_ADDR and
783 * `TOP_DARJEELING_MBX0_CORE_BASE_ADDR + TOP_DARJEELING_MBX0_CORE_SIZE_BYTES`.
784 */
785#define TOP_DARJEELING_MBX0_CORE_SIZE_BYTES 0x80
786/**
787 * Peripheral base address for core device on mbx1 in top darjeeling.
788 *
789 * This should be used with #mmio_region_from_addr to access the memory-mapped
790 * registers associated with the peripheral (usually via a DIF).
791 */
792#define TOP_DARJEELING_MBX1_CORE_BASE_ADDR 0x22000100
793
794/**
795 * Peripheral size for core device on mbx1 in top darjeeling.
796 *
797 * This is the size (in bytes) of the peripheral's reserved memory area. All
798 * memory-mapped registers associated with this peripheral should have an
799 * address between #TOP_DARJEELING_MBX1_CORE_BASE_ADDR and
800 * `TOP_DARJEELING_MBX1_CORE_BASE_ADDR + TOP_DARJEELING_MBX1_CORE_SIZE_BYTES`.
801 */
802#define TOP_DARJEELING_MBX1_CORE_SIZE_BYTES 0x80
803/**
804 * Peripheral base address for core device on mbx2 in top darjeeling.
805 *
806 * This should be used with #mmio_region_from_addr to access the memory-mapped
807 * registers associated with the peripheral (usually via a DIF).
808 */
809#define TOP_DARJEELING_MBX2_CORE_BASE_ADDR 0x22000200
810
811/**
812 * Peripheral size for core device on mbx2 in top darjeeling.
813 *
814 * This is the size (in bytes) of the peripheral's reserved memory area. All
815 * memory-mapped registers associated with this peripheral should have an
816 * address between #TOP_DARJEELING_MBX2_CORE_BASE_ADDR and
817 * `TOP_DARJEELING_MBX2_CORE_BASE_ADDR + TOP_DARJEELING_MBX2_CORE_SIZE_BYTES`.
818 */
819#define TOP_DARJEELING_MBX2_CORE_SIZE_BYTES 0x80
820/**
821 * Peripheral base address for core device on mbx3 in top darjeeling.
822 *
823 * This should be used with #mmio_region_from_addr to access the memory-mapped
824 * registers associated with the peripheral (usually via a DIF).
825 */
826#define TOP_DARJEELING_MBX3_CORE_BASE_ADDR 0x22000300
827
828/**
829 * Peripheral size for core device on mbx3 in top darjeeling.
830 *
831 * This is the size (in bytes) of the peripheral's reserved memory area. All
832 * memory-mapped registers associated with this peripheral should have an
833 * address between #TOP_DARJEELING_MBX3_CORE_BASE_ADDR and
834 * `TOP_DARJEELING_MBX3_CORE_BASE_ADDR + TOP_DARJEELING_MBX3_CORE_SIZE_BYTES`.
835 */
836#define TOP_DARJEELING_MBX3_CORE_SIZE_BYTES 0x80
837/**
838 * Peripheral base address for core device on mbx4 in top darjeeling.
839 *
840 * This should be used with #mmio_region_from_addr to access the memory-mapped
841 * registers associated with the peripheral (usually via a DIF).
842 */
843#define TOP_DARJEELING_MBX4_CORE_BASE_ADDR 0x22000400
844
845/**
846 * Peripheral size for core device on mbx4 in top darjeeling.
847 *
848 * This is the size (in bytes) of the peripheral's reserved memory area. All
849 * memory-mapped registers associated with this peripheral should have an
850 * address between #TOP_DARJEELING_MBX4_CORE_BASE_ADDR and
851 * `TOP_DARJEELING_MBX4_CORE_BASE_ADDR + TOP_DARJEELING_MBX4_CORE_SIZE_BYTES`.
852 */
853#define TOP_DARJEELING_MBX4_CORE_SIZE_BYTES 0x80
854/**
855 * Peripheral base address for core device on mbx5 in top darjeeling.
856 *
857 * This should be used with #mmio_region_from_addr to access the memory-mapped
858 * registers associated with the peripheral (usually via a DIF).
859 */
860#define TOP_DARJEELING_MBX5_CORE_BASE_ADDR 0x22000500
861
862/**
863 * Peripheral size for core device on mbx5 in top darjeeling.
864 *
865 * This is the size (in bytes) of the peripheral's reserved memory area. All
866 * memory-mapped registers associated with this peripheral should have an
867 * address between #TOP_DARJEELING_MBX5_CORE_BASE_ADDR and
868 * `TOP_DARJEELING_MBX5_CORE_BASE_ADDR + TOP_DARJEELING_MBX5_CORE_SIZE_BYTES`.
869 */
870#define TOP_DARJEELING_MBX5_CORE_SIZE_BYTES 0x80
871/**
872 * Peripheral base address for core device on mbx6 in top darjeeling.
873 *
874 * This should be used with #mmio_region_from_addr to access the memory-mapped
875 * registers associated with the peripheral (usually via a DIF).
876 */
877#define TOP_DARJEELING_MBX6_CORE_BASE_ADDR 0x22000600
878
879/**
880 * Peripheral size for core device on mbx6 in top darjeeling.
881 *
882 * This is the size (in bytes) of the peripheral's reserved memory area. All
883 * memory-mapped registers associated with this peripheral should have an
884 * address between #TOP_DARJEELING_MBX6_CORE_BASE_ADDR and
885 * `TOP_DARJEELING_MBX6_CORE_BASE_ADDR + TOP_DARJEELING_MBX6_CORE_SIZE_BYTES`.
886 */
887#define TOP_DARJEELING_MBX6_CORE_SIZE_BYTES 0x80
888/**
889 * Peripheral base address for core device on mbx_jtag in top darjeeling.
890 *
891 * This should be used with #mmio_region_from_addr to access the memory-mapped
892 * registers associated with the peripheral (usually via a DIF).
893 */
894#define TOP_DARJEELING_MBX_JTAG_CORE_BASE_ADDR 0x22000800
895
896/**
897 * Peripheral size for core device on mbx_jtag in top darjeeling.
898 *
899 * This is the size (in bytes) of the peripheral's reserved memory area. All
900 * memory-mapped registers associated with this peripheral should have an
901 * address between #TOP_DARJEELING_MBX_JTAG_CORE_BASE_ADDR and
902 * `TOP_DARJEELING_MBX_JTAG_CORE_BASE_ADDR + TOP_DARJEELING_MBX_JTAG_CORE_SIZE_BYTES`.
903 */
904#define TOP_DARJEELING_MBX_JTAG_CORE_SIZE_BYTES 0x80
905/**
906 * Peripheral base address for core device on mbx_pcie0 in top darjeeling.
907 *
908 * This should be used with #mmio_region_from_addr to access the memory-mapped
909 * registers associated with the peripheral (usually via a DIF).
910 */
911#define TOP_DARJEELING_MBX_PCIE0_CORE_BASE_ADDR 0x22040000
912
913/**
914 * Peripheral size for core device on mbx_pcie0 in top darjeeling.
915 *
916 * This is the size (in bytes) of the peripheral's reserved memory area. All
917 * memory-mapped registers associated with this peripheral should have an
918 * address between #TOP_DARJEELING_MBX_PCIE0_CORE_BASE_ADDR and
919 * `TOP_DARJEELING_MBX_PCIE0_CORE_BASE_ADDR + TOP_DARJEELING_MBX_PCIE0_CORE_SIZE_BYTES`.
920 */
921#define TOP_DARJEELING_MBX_PCIE0_CORE_SIZE_BYTES 0x80
922/**
923 * Peripheral base address for core device on mbx_pcie1 in top darjeeling.
924 *
925 * This should be used with #mmio_region_from_addr to access the memory-mapped
926 * registers associated with the peripheral (usually via a DIF).
927 */
928#define TOP_DARJEELING_MBX_PCIE1_CORE_BASE_ADDR 0x22040100
929
930/**
931 * Peripheral size for core device on mbx_pcie1 in top darjeeling.
932 *
933 * This is the size (in bytes) of the peripheral's reserved memory area. All
934 * memory-mapped registers associated with this peripheral should have an
935 * address between #TOP_DARJEELING_MBX_PCIE1_CORE_BASE_ADDR and
936 * `TOP_DARJEELING_MBX_PCIE1_CORE_BASE_ADDR + TOP_DARJEELING_MBX_PCIE1_CORE_SIZE_BYTES`.
937 */
938#define TOP_DARJEELING_MBX_PCIE1_CORE_SIZE_BYTES 0x80
939/**
940 * Peripheral base address for core device on soc_dbg_ctrl in top darjeeling.
941 *
942 * This should be used with #mmio_region_from_addr to access the memory-mapped
943 * registers associated with the peripheral (usually via a DIF).
944 */
945#define TOP_DARJEELING_SOC_DBG_CTRL_CORE_BASE_ADDR 0x30170000
946
947/**
948 * Peripheral size for core device on soc_dbg_ctrl in top darjeeling.
949 *
950 * This is the size (in bytes) of the peripheral's reserved memory area. All
951 * memory-mapped registers associated with this peripheral should have an
952 * address between #TOP_DARJEELING_SOC_DBG_CTRL_CORE_BASE_ADDR and
953 * `TOP_DARJEELING_SOC_DBG_CTRL_CORE_BASE_ADDR + TOP_DARJEELING_SOC_DBG_CTRL_CORE_SIZE_BYTES`.
954 */
955#define TOP_DARJEELING_SOC_DBG_CTRL_CORE_SIZE_BYTES 0x20
956/**
957 * Peripheral base address for cfg device on rv_core_ibex in top darjeeling.
958 *
959 * This should be used with #mmio_region_from_addr to access the memory-mapped
960 * registers associated with the peripheral (usually via a DIF).
961 */
962#define TOP_DARJEELING_RV_CORE_IBEX_CFG_BASE_ADDR 0x211F0000
963
964/**
965 * Peripheral size for cfg device on rv_core_ibex in top darjeeling.
966 *
967 * This is the size (in bytes) of the peripheral's reserved memory area. All
968 * memory-mapped registers associated with this peripheral should have an
969 * address between #TOP_DARJEELING_RV_CORE_IBEX_CFG_BASE_ADDR and
970 * `TOP_DARJEELING_RV_CORE_IBEX_CFG_BASE_ADDR + TOP_DARJEELING_RV_CORE_IBEX_CFG_SIZE_BYTES`.
971 */
972#define TOP_DARJEELING_RV_CORE_IBEX_CFG_SIZE_BYTES 0x800
973
974/**
975 * MMIO Region
976 *
977 * MMIO region excludes any memory that is separate from the module
978 * configuration space, i.e. ROM, main SRAM, and mbx SRAM are excluded but
979 * retention SRAM or spi_device are included.
980 */
981#define TOP_DARJEELING_MMIO_BASE_ADDR 0x21100000
982#define TOP_DARJEELING_MMIO_SIZE_BYTES 0xF501000
983
984#endif // __ASSEMBLER__
985
986#endif // OPENTITAN_HW_TOP_DARJEELING_SW_AUTOGEN_TOP_DARJEELING_MEMORY_H_