Software APIs
top_earlgrey_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_earlgrey/data/top_earlgrey.hjson
8 // -o hw/top_earlgrey
9 
10 #ifndef OPENTITAN_HW_TOP_EARLGREY_SW_AUTOGEN_TOP_EARLGREY_MEMORY_H_
11 #define OPENTITAN_HW_TOP_EARLGREY_SW_AUTOGEN_TOP_EARLGREY_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 
29 /**
30  * Memory base for sram_ctrl_ret_aon_ram_ret_aon in top earlgrey.
31  */
32 #define TOP_EARLGREY_RAM_RET_AON_BASE_ADDR 0x40600000
33 
34 /**
35  * Memory size for sram_ctrl_ret_aon_ram_ret_aon in top earlgrey.
36  */
37 #define TOP_EARLGREY_RAM_RET_AON_SIZE_BYTES 0x1000
38 
39 /**
40  * Memory base for flash_ctrl_eflash in top earlgrey.
41  */
42 #define TOP_EARLGREY_EFLASH_BASE_ADDR 0x20000000
43 
44 /**
45  * Memory size for flash_ctrl_eflash in top earlgrey.
46  */
47 #define TOP_EARLGREY_EFLASH_SIZE_BYTES 0x100000
48 
49 /**
50  * Memory base for sram_ctrl_main_ram_main in top earlgrey.
51  */
52 #define TOP_EARLGREY_RAM_MAIN_BASE_ADDR 0x10000000
53 
54 /**
55  * Memory size for sram_ctrl_main_ram_main in top earlgrey.
56  */
57 #define TOP_EARLGREY_RAM_MAIN_SIZE_BYTES 0x20000
58 
59 /**
60  * Memory base for rom_ctrl_rom in top earlgrey.
61  */
62 #define TOP_EARLGREY_ROM_BASE_ADDR 0x00008000
63 
64 /**
65  * Memory size for rom_ctrl_rom in top earlgrey.
66  */
67 #define TOP_EARLGREY_ROM_SIZE_BYTES 0x8000
68 
69 
70 
71 /**
72  * Peripheral base address for uart0 in top earlgrey.
73  *
74  * This should be used with #mmio_region_from_addr to access the memory-mapped
75  * registers associated with the peripheral (usually via a DIF).
76  */
77 #define TOP_EARLGREY_UART0_BASE_ADDR 0x40000000
78 
79 /**
80  * Peripheral size for uart0 in top earlgrey.
81  *
82  * This is the size (in bytes) of the peripheral's reserved memory area. All
83  * memory-mapped registers associated with this peripheral should have an
84  * address between #TOP_EARLGREY_UART0_BASE_ADDR and
85  * `TOP_EARLGREY_UART0_BASE_ADDR + TOP_EARLGREY_UART0_SIZE_BYTES`.
86  */
87 #define TOP_EARLGREY_UART0_SIZE_BYTES 0x40
88 /**
89  * Peripheral base address for uart1 in top earlgrey.
90  *
91  * This should be used with #mmio_region_from_addr to access the memory-mapped
92  * registers associated with the peripheral (usually via a DIF).
93  */
94 #define TOP_EARLGREY_UART1_BASE_ADDR 0x40010000
95 
96 /**
97  * Peripheral size for uart1 in top earlgrey.
98  *
99  * This is the size (in bytes) of the peripheral's reserved memory area. All
100  * memory-mapped registers associated with this peripheral should have an
101  * address between #TOP_EARLGREY_UART1_BASE_ADDR and
102  * `TOP_EARLGREY_UART1_BASE_ADDR + TOP_EARLGREY_UART1_SIZE_BYTES`.
103  */
104 #define TOP_EARLGREY_UART1_SIZE_BYTES 0x40
105 /**
106  * Peripheral base address for uart2 in top earlgrey.
107  *
108  * This should be used with #mmio_region_from_addr to access the memory-mapped
109  * registers associated with the peripheral (usually via a DIF).
110  */
111 #define TOP_EARLGREY_UART2_BASE_ADDR 0x40020000
112 
113 /**
114  * Peripheral size for uart2 in top earlgrey.
115  *
116  * This is the size (in bytes) of the peripheral's reserved memory area. All
117  * memory-mapped registers associated with this peripheral should have an
118  * address between #TOP_EARLGREY_UART2_BASE_ADDR and
119  * `TOP_EARLGREY_UART2_BASE_ADDR + TOP_EARLGREY_UART2_SIZE_BYTES`.
120  */
121 #define TOP_EARLGREY_UART2_SIZE_BYTES 0x40
122 /**
123  * Peripheral base address for uart3 in top earlgrey.
124  *
125  * This should be used with #mmio_region_from_addr to access the memory-mapped
126  * registers associated with the peripheral (usually via a DIF).
127  */
128 #define TOP_EARLGREY_UART3_BASE_ADDR 0x40030000
129 
130 /**
131  * Peripheral size for uart3 in top earlgrey.
132  *
133  * This is the size (in bytes) of the peripheral's reserved memory area. All
134  * memory-mapped registers associated with this peripheral should have an
135  * address between #TOP_EARLGREY_UART3_BASE_ADDR and
136  * `TOP_EARLGREY_UART3_BASE_ADDR + TOP_EARLGREY_UART3_SIZE_BYTES`.
137  */
138 #define TOP_EARLGREY_UART3_SIZE_BYTES 0x40
139 /**
140  * Peripheral base address for gpio in top earlgrey.
141  *
142  * This should be used with #mmio_region_from_addr to access the memory-mapped
143  * registers associated with the peripheral (usually via a DIF).
144  */
145 #define TOP_EARLGREY_GPIO_BASE_ADDR 0x40040000
146 
147 /**
148  * Peripheral size for gpio in top earlgrey.
149  *
150  * This is the size (in bytes) of the peripheral's reserved memory area. All
151  * memory-mapped registers associated with this peripheral should have an
152  * address between #TOP_EARLGREY_GPIO_BASE_ADDR and
153  * `TOP_EARLGREY_GPIO_BASE_ADDR + TOP_EARLGREY_GPIO_SIZE_BYTES`.
154  */
155 #define TOP_EARLGREY_GPIO_SIZE_BYTES 0x80
156 /**
157  * Peripheral base address for spi_device in top earlgrey.
158  *
159  * This should be used with #mmio_region_from_addr to access the memory-mapped
160  * registers associated with the peripheral (usually via a DIF).
161  */
162 #define TOP_EARLGREY_SPI_DEVICE_BASE_ADDR 0x40050000
163 
164 /**
165  * Peripheral size for spi_device in top earlgrey.
166  *
167  * This is the size (in bytes) of the peripheral's reserved memory area. All
168  * memory-mapped registers associated with this peripheral should have an
169  * address between #TOP_EARLGREY_SPI_DEVICE_BASE_ADDR and
170  * `TOP_EARLGREY_SPI_DEVICE_BASE_ADDR + TOP_EARLGREY_SPI_DEVICE_SIZE_BYTES`.
171  */
172 #define TOP_EARLGREY_SPI_DEVICE_SIZE_BYTES 0x2000
173 /**
174  * Peripheral base address for i2c0 in top earlgrey.
175  *
176  * This should be used with #mmio_region_from_addr to access the memory-mapped
177  * registers associated with the peripheral (usually via a DIF).
178  */
179 #define TOP_EARLGREY_I2C0_BASE_ADDR 0x40080000
180 
181 /**
182  * Peripheral size for i2c0 in top earlgrey.
183  *
184  * This is the size (in bytes) of the peripheral's reserved memory area. All
185  * memory-mapped registers associated with this peripheral should have an
186  * address between #TOP_EARLGREY_I2C0_BASE_ADDR and
187  * `TOP_EARLGREY_I2C0_BASE_ADDR + TOP_EARLGREY_I2C0_SIZE_BYTES`.
188  */
189 #define TOP_EARLGREY_I2C0_SIZE_BYTES 0x80
190 /**
191  * Peripheral base address for i2c1 in top earlgrey.
192  *
193  * This should be used with #mmio_region_from_addr to access the memory-mapped
194  * registers associated with the peripheral (usually via a DIF).
195  */
196 #define TOP_EARLGREY_I2C1_BASE_ADDR 0x40090000
197 
198 /**
199  * Peripheral size for i2c1 in top earlgrey.
200  *
201  * This is the size (in bytes) of the peripheral's reserved memory area. All
202  * memory-mapped registers associated with this peripheral should have an
203  * address between #TOP_EARLGREY_I2C1_BASE_ADDR and
204  * `TOP_EARLGREY_I2C1_BASE_ADDR + TOP_EARLGREY_I2C1_SIZE_BYTES`.
205  */
206 #define TOP_EARLGREY_I2C1_SIZE_BYTES 0x80
207 /**
208  * Peripheral base address for i2c2 in top earlgrey.
209  *
210  * This should be used with #mmio_region_from_addr to access the memory-mapped
211  * registers associated with the peripheral (usually via a DIF).
212  */
213 #define TOP_EARLGREY_I2C2_BASE_ADDR 0x400A0000
214 
215 /**
216  * Peripheral size for i2c2 in top earlgrey.
217  *
218  * This is the size (in bytes) of the peripheral's reserved memory area. All
219  * memory-mapped registers associated with this peripheral should have an
220  * address between #TOP_EARLGREY_I2C2_BASE_ADDR and
221  * `TOP_EARLGREY_I2C2_BASE_ADDR + TOP_EARLGREY_I2C2_SIZE_BYTES`.
222  */
223 #define TOP_EARLGREY_I2C2_SIZE_BYTES 0x80
224 /**
225  * Peripheral base address for pattgen in top earlgrey.
226  *
227  * This should be used with #mmio_region_from_addr to access the memory-mapped
228  * registers associated with the peripheral (usually via a DIF).
229  */
230 #define TOP_EARLGREY_PATTGEN_BASE_ADDR 0x400E0000
231 
232 /**
233  * Peripheral size for pattgen in top earlgrey.
234  *
235  * This is the size (in bytes) of the peripheral's reserved memory area. All
236  * memory-mapped registers associated with this peripheral should have an
237  * address between #TOP_EARLGREY_PATTGEN_BASE_ADDR and
238  * `TOP_EARLGREY_PATTGEN_BASE_ADDR + TOP_EARLGREY_PATTGEN_SIZE_BYTES`.
239  */
240 #define TOP_EARLGREY_PATTGEN_SIZE_BYTES 0x40
241 /**
242  * Peripheral base address for rv_timer in top earlgrey.
243  *
244  * This should be used with #mmio_region_from_addr to access the memory-mapped
245  * registers associated with the peripheral (usually via a DIF).
246  */
247 #define TOP_EARLGREY_RV_TIMER_BASE_ADDR 0x40100000
248 
249 /**
250  * Peripheral size for rv_timer in top earlgrey.
251  *
252  * This is the size (in bytes) of the peripheral's reserved memory area. All
253  * memory-mapped registers associated with this peripheral should have an
254  * address between #TOP_EARLGREY_RV_TIMER_BASE_ADDR and
255  * `TOP_EARLGREY_RV_TIMER_BASE_ADDR + TOP_EARLGREY_RV_TIMER_SIZE_BYTES`.
256  */
257 #define TOP_EARLGREY_RV_TIMER_SIZE_BYTES 0x200
258 /**
259  * Peripheral base address for core device on otp_ctrl in top earlgrey.
260  *
261  * This should be used with #mmio_region_from_addr to access the memory-mapped
262  * registers associated with the peripheral (usually via a DIF).
263  */
264 #define TOP_EARLGREY_OTP_CTRL_CORE_BASE_ADDR 0x40130000
265 
266 /**
267  * Peripheral size for core device on otp_ctrl in top earlgrey.
268  *
269  * This is the size (in bytes) of the peripheral's reserved memory area. All
270  * memory-mapped registers associated with this peripheral should have an
271  * address between #TOP_EARLGREY_OTP_CTRL_CORE_BASE_ADDR and
272  * `TOP_EARLGREY_OTP_CTRL_CORE_BASE_ADDR + TOP_EARLGREY_OTP_CTRL_CORE_SIZE_BYTES`.
273  */
274 #define TOP_EARLGREY_OTP_CTRL_CORE_SIZE_BYTES 0x1000
275 /**
276  * Peripheral base address for prim device on otp_ctrl in top earlgrey.
277  *
278  * This should be used with #mmio_region_from_addr to access the memory-mapped
279  * registers associated with the peripheral (usually via a DIF).
280  */
281 #define TOP_EARLGREY_OTP_CTRL_PRIM_BASE_ADDR 0x40138000
282 
283 /**
284  * Peripheral size for prim device on otp_ctrl in top earlgrey.
285  *
286  * This is the size (in bytes) of the peripheral's reserved memory area. All
287  * memory-mapped registers associated with this peripheral should have an
288  * address between #TOP_EARLGREY_OTP_CTRL_PRIM_BASE_ADDR and
289  * `TOP_EARLGREY_OTP_CTRL_PRIM_BASE_ADDR + TOP_EARLGREY_OTP_CTRL_PRIM_SIZE_BYTES`.
290  */
291 #define TOP_EARLGREY_OTP_CTRL_PRIM_SIZE_BYTES 0x20
292 /**
293  * Peripheral base address for regs device on lc_ctrl in top earlgrey.
294  *
295  * This should be used with #mmio_region_from_addr to access the memory-mapped
296  * registers associated with the peripheral (usually via a DIF).
297  */
298 #define TOP_EARLGREY_LC_CTRL_REGS_BASE_ADDR 0x40140000
299 
300 /**
301  * Peripheral size for regs device on lc_ctrl in top earlgrey.
302  *
303  * This is the size (in bytes) of the peripheral's reserved memory area. All
304  * memory-mapped registers associated with this peripheral should have an
305  * address between #TOP_EARLGREY_LC_CTRL_REGS_BASE_ADDR and
306  * `TOP_EARLGREY_LC_CTRL_REGS_BASE_ADDR + TOP_EARLGREY_LC_CTRL_REGS_SIZE_BYTES`.
307  */
308 #define TOP_EARLGREY_LC_CTRL_REGS_SIZE_BYTES 0x100
309 /**
310  * Peripheral base address for dmi device on lc_ctrl in top earlgrey.
311  *
312  * This should be used with #mmio_region_from_addr to access the memory-mapped
313  * registers associated with the peripheral (usually via a DIF).
314  */
315 #define TOP_EARLGREY_LC_CTRL_DMI_BASE_ADDR 0x0
316 
317 /**
318  * Peripheral size for dmi device on lc_ctrl in top earlgrey.
319  *
320  * This is the size (in bytes) of the peripheral's reserved memory area. All
321  * memory-mapped registers associated with this peripheral should have an
322  * address between #TOP_EARLGREY_LC_CTRL_DMI_BASE_ADDR and
323  * `TOP_EARLGREY_LC_CTRL_DMI_BASE_ADDR + TOP_EARLGREY_LC_CTRL_DMI_SIZE_BYTES`.
324  */
325 #define TOP_EARLGREY_LC_CTRL_DMI_SIZE_BYTES 0x1000
326 /**
327  * Peripheral base address for alert_handler in top earlgrey.
328  *
329  * This should be used with #mmio_region_from_addr to access the memory-mapped
330  * registers associated with the peripheral (usually via a DIF).
331  */
332 #define TOP_EARLGREY_ALERT_HANDLER_BASE_ADDR 0x40150000
333 
334 /**
335  * Peripheral size for alert_handler in top earlgrey.
336  *
337  * This is the size (in bytes) of the peripheral's reserved memory area. All
338  * memory-mapped registers associated with this peripheral should have an
339  * address between #TOP_EARLGREY_ALERT_HANDLER_BASE_ADDR and
340  * `TOP_EARLGREY_ALERT_HANDLER_BASE_ADDR + TOP_EARLGREY_ALERT_HANDLER_SIZE_BYTES`.
341  */
342 #define TOP_EARLGREY_ALERT_HANDLER_SIZE_BYTES 0x800
343 /**
344  * Peripheral base address for spi_host0 in top earlgrey.
345  *
346  * This should be used with #mmio_region_from_addr to access the memory-mapped
347  * registers associated with the peripheral (usually via a DIF).
348  */
349 #define TOP_EARLGREY_SPI_HOST0_BASE_ADDR 0x40300000
350 
351 /**
352  * Peripheral size for spi_host0 in top earlgrey.
353  *
354  * This is the size (in bytes) of the peripheral's reserved memory area. All
355  * memory-mapped registers associated with this peripheral should have an
356  * address between #TOP_EARLGREY_SPI_HOST0_BASE_ADDR and
357  * `TOP_EARLGREY_SPI_HOST0_BASE_ADDR + TOP_EARLGREY_SPI_HOST0_SIZE_BYTES`.
358  */
359 #define TOP_EARLGREY_SPI_HOST0_SIZE_BYTES 0x40
360 /**
361  * Peripheral base address for spi_host1 in top earlgrey.
362  *
363  * This should be used with #mmio_region_from_addr to access the memory-mapped
364  * registers associated with the peripheral (usually via a DIF).
365  */
366 #define TOP_EARLGREY_SPI_HOST1_BASE_ADDR 0x40310000
367 
368 /**
369  * Peripheral size for spi_host1 in top earlgrey.
370  *
371  * This is the size (in bytes) of the peripheral's reserved memory area. All
372  * memory-mapped registers associated with this peripheral should have an
373  * address between #TOP_EARLGREY_SPI_HOST1_BASE_ADDR and
374  * `TOP_EARLGREY_SPI_HOST1_BASE_ADDR + TOP_EARLGREY_SPI_HOST1_SIZE_BYTES`.
375  */
376 #define TOP_EARLGREY_SPI_HOST1_SIZE_BYTES 0x40
377 /**
378  * Peripheral base address for usbdev in top earlgrey.
379  *
380  * This should be used with #mmio_region_from_addr to access the memory-mapped
381  * registers associated with the peripheral (usually via a DIF).
382  */
383 #define TOP_EARLGREY_USBDEV_BASE_ADDR 0x40320000
384 
385 /**
386  * Peripheral size for usbdev in top earlgrey.
387  *
388  * This is the size (in bytes) of the peripheral's reserved memory area. All
389  * memory-mapped registers associated with this peripheral should have an
390  * address between #TOP_EARLGREY_USBDEV_BASE_ADDR and
391  * `TOP_EARLGREY_USBDEV_BASE_ADDR + TOP_EARLGREY_USBDEV_SIZE_BYTES`.
392  */
393 #define TOP_EARLGREY_USBDEV_SIZE_BYTES 0x1000
394 /**
395  * Peripheral base address for pwrmgr_aon in top earlgrey.
396  *
397  * This should be used with #mmio_region_from_addr to access the memory-mapped
398  * registers associated with the peripheral (usually via a DIF).
399  */
400 #define TOP_EARLGREY_PWRMGR_AON_BASE_ADDR 0x40400000
401 
402 /**
403  * Peripheral size for pwrmgr_aon in top earlgrey.
404  *
405  * This is the size (in bytes) of the peripheral's reserved memory area. All
406  * memory-mapped registers associated with this peripheral should have an
407  * address between #TOP_EARLGREY_PWRMGR_AON_BASE_ADDR and
408  * `TOP_EARLGREY_PWRMGR_AON_BASE_ADDR + TOP_EARLGREY_PWRMGR_AON_SIZE_BYTES`.
409  */
410 #define TOP_EARLGREY_PWRMGR_AON_SIZE_BYTES 0x80
411 /**
412  * Peripheral base address for rstmgr_aon in top earlgrey.
413  *
414  * This should be used with #mmio_region_from_addr to access the memory-mapped
415  * registers associated with the peripheral (usually via a DIF).
416  */
417 #define TOP_EARLGREY_RSTMGR_AON_BASE_ADDR 0x40410000
418 
419 /**
420  * Peripheral size for rstmgr_aon in top earlgrey.
421  *
422  * This is the size (in bytes) of the peripheral's reserved memory area. All
423  * memory-mapped registers associated with this peripheral should have an
424  * address between #TOP_EARLGREY_RSTMGR_AON_BASE_ADDR and
425  * `TOP_EARLGREY_RSTMGR_AON_BASE_ADDR + TOP_EARLGREY_RSTMGR_AON_SIZE_BYTES`.
426  */
427 #define TOP_EARLGREY_RSTMGR_AON_SIZE_BYTES 0x80
428 /**
429  * Peripheral base address for clkmgr_aon in top earlgrey.
430  *
431  * This should be used with #mmio_region_from_addr to access the memory-mapped
432  * registers associated with the peripheral (usually via a DIF).
433  */
434 #define TOP_EARLGREY_CLKMGR_AON_BASE_ADDR 0x40420000
435 
436 /**
437  * Peripheral size for clkmgr_aon in top earlgrey.
438  *
439  * This is the size (in bytes) of the peripheral's reserved memory area. All
440  * memory-mapped registers associated with this peripheral should have an
441  * address between #TOP_EARLGREY_CLKMGR_AON_BASE_ADDR and
442  * `TOP_EARLGREY_CLKMGR_AON_BASE_ADDR + TOP_EARLGREY_CLKMGR_AON_SIZE_BYTES`.
443  */
444 #define TOP_EARLGREY_CLKMGR_AON_SIZE_BYTES 0x80
445 /**
446  * Peripheral base address for sysrst_ctrl_aon in top earlgrey.
447  *
448  * This should be used with #mmio_region_from_addr to access the memory-mapped
449  * registers associated with the peripheral (usually via a DIF).
450  */
451 #define TOP_EARLGREY_SYSRST_CTRL_AON_BASE_ADDR 0x40430000
452 
453 /**
454  * Peripheral size for sysrst_ctrl_aon in top earlgrey.
455  *
456  * This is the size (in bytes) of the peripheral's reserved memory area. All
457  * memory-mapped registers associated with this peripheral should have an
458  * address between #TOP_EARLGREY_SYSRST_CTRL_AON_BASE_ADDR and
459  * `TOP_EARLGREY_SYSRST_CTRL_AON_BASE_ADDR + TOP_EARLGREY_SYSRST_CTRL_AON_SIZE_BYTES`.
460  */
461 #define TOP_EARLGREY_SYSRST_CTRL_AON_SIZE_BYTES 0x100
462 /**
463  * Peripheral base address for adc_ctrl_aon in top earlgrey.
464  *
465  * This should be used with #mmio_region_from_addr to access the memory-mapped
466  * registers associated with the peripheral (usually via a DIF).
467  */
468 #define TOP_EARLGREY_ADC_CTRL_AON_BASE_ADDR 0x40440000
469 
470 /**
471  * Peripheral size for adc_ctrl_aon in top earlgrey.
472  *
473  * This is the size (in bytes) of the peripheral's reserved memory area. All
474  * memory-mapped registers associated with this peripheral should have an
475  * address between #TOP_EARLGREY_ADC_CTRL_AON_BASE_ADDR and
476  * `TOP_EARLGREY_ADC_CTRL_AON_BASE_ADDR + TOP_EARLGREY_ADC_CTRL_AON_SIZE_BYTES`.
477  */
478 #define TOP_EARLGREY_ADC_CTRL_AON_SIZE_BYTES 0x80
479 /**
480  * Peripheral base address for pwm_aon in top earlgrey.
481  *
482  * This should be used with #mmio_region_from_addr to access the memory-mapped
483  * registers associated with the peripheral (usually via a DIF).
484  */
485 #define TOP_EARLGREY_PWM_AON_BASE_ADDR 0x40450000
486 
487 /**
488  * Peripheral size for pwm_aon in top earlgrey.
489  *
490  * This is the size (in bytes) of the peripheral's reserved memory area. All
491  * memory-mapped registers associated with this peripheral should have an
492  * address between #TOP_EARLGREY_PWM_AON_BASE_ADDR and
493  * `TOP_EARLGREY_PWM_AON_BASE_ADDR + TOP_EARLGREY_PWM_AON_SIZE_BYTES`.
494  */
495 #define TOP_EARLGREY_PWM_AON_SIZE_BYTES 0x80
496 /**
497  * Peripheral base address for pinmux_aon in top earlgrey.
498  *
499  * This should be used with #mmio_region_from_addr to access the memory-mapped
500  * registers associated with the peripheral (usually via a DIF).
501  */
502 #define TOP_EARLGREY_PINMUX_AON_BASE_ADDR 0x40460000
503 
504 /**
505  * Peripheral size for pinmux_aon in top earlgrey.
506  *
507  * This is the size (in bytes) of the peripheral's reserved memory area. All
508  * memory-mapped registers associated with this peripheral should have an
509  * address between #TOP_EARLGREY_PINMUX_AON_BASE_ADDR and
510  * `TOP_EARLGREY_PINMUX_AON_BASE_ADDR + TOP_EARLGREY_PINMUX_AON_SIZE_BYTES`.
511  */
512 #define TOP_EARLGREY_PINMUX_AON_SIZE_BYTES 0x1000
513 /**
514  * Peripheral base address for aon_timer_aon in top earlgrey.
515  *
516  * This should be used with #mmio_region_from_addr to access the memory-mapped
517  * registers associated with the peripheral (usually via a DIF).
518  */
519 #define TOP_EARLGREY_AON_TIMER_AON_BASE_ADDR 0x40470000
520 
521 /**
522  * Peripheral size for aon_timer_aon in top earlgrey.
523  *
524  * This is the size (in bytes) of the peripheral's reserved memory area. All
525  * memory-mapped registers associated with this peripheral should have an
526  * address between #TOP_EARLGREY_AON_TIMER_AON_BASE_ADDR and
527  * `TOP_EARLGREY_AON_TIMER_AON_BASE_ADDR + TOP_EARLGREY_AON_TIMER_AON_SIZE_BYTES`.
528  */
529 #define TOP_EARLGREY_AON_TIMER_AON_SIZE_BYTES 0x40
530 /**
531  * Peripheral base address for ast in top earlgrey.
532  *
533  * This should be used with #mmio_region_from_addr to access the memory-mapped
534  * registers associated with the peripheral (usually via a DIF).
535  */
536 #define TOP_EARLGREY_AST_BASE_ADDR 0x40480000
537 
538 /**
539  * Peripheral size for ast in top earlgrey.
540  *
541  * This is the size (in bytes) of the peripheral's reserved memory area. All
542  * memory-mapped registers associated with this peripheral should have an
543  * address between #TOP_EARLGREY_AST_BASE_ADDR and
544  * `TOP_EARLGREY_AST_BASE_ADDR + TOP_EARLGREY_AST_SIZE_BYTES`.
545  */
546 #define TOP_EARLGREY_AST_SIZE_BYTES 0x400
547 /**
548  * Peripheral base address for sensor_ctrl_aon in top earlgrey.
549  *
550  * This should be used with #mmio_region_from_addr to access the memory-mapped
551  * registers associated with the peripheral (usually via a DIF).
552  */
553 #define TOP_EARLGREY_SENSOR_CTRL_AON_BASE_ADDR 0x40490000
554 
555 /**
556  * Peripheral size for sensor_ctrl_aon in top earlgrey.
557  *
558  * This is the size (in bytes) of the peripheral's reserved memory area. All
559  * memory-mapped registers associated with this peripheral should have an
560  * address between #TOP_EARLGREY_SENSOR_CTRL_AON_BASE_ADDR and
561  * `TOP_EARLGREY_SENSOR_CTRL_AON_BASE_ADDR + TOP_EARLGREY_SENSOR_CTRL_AON_SIZE_BYTES`.
562  */
563 #define TOP_EARLGREY_SENSOR_CTRL_AON_SIZE_BYTES 0x80
564 /**
565  * Peripheral base address for regs device on sram_ctrl_ret_aon in top earlgrey.
566  *
567  * This should be used with #mmio_region_from_addr to access the memory-mapped
568  * registers associated with the peripheral (usually via a DIF).
569  */
570 #define TOP_EARLGREY_SRAM_CTRL_RET_AON_REGS_BASE_ADDR 0x40500000
571 
572 /**
573  * Peripheral size for regs device on sram_ctrl_ret_aon in top earlgrey.
574  *
575  * This is the size (in bytes) of the peripheral's reserved memory area. All
576  * memory-mapped registers associated with this peripheral should have an
577  * address between #TOP_EARLGREY_SRAM_CTRL_RET_AON_REGS_BASE_ADDR and
578  * `TOP_EARLGREY_SRAM_CTRL_RET_AON_REGS_BASE_ADDR + TOP_EARLGREY_SRAM_CTRL_RET_AON_REGS_SIZE_BYTES`.
579  */
580 #define TOP_EARLGREY_SRAM_CTRL_RET_AON_REGS_SIZE_BYTES 0x40
581 /**
582  * Peripheral base address for ram device on sram_ctrl_ret_aon in top earlgrey.
583  *
584  * This should be used with #mmio_region_from_addr to access the memory-mapped
585  * registers associated with the peripheral (usually via a DIF).
586  */
587 #define TOP_EARLGREY_SRAM_CTRL_RET_AON_RAM_BASE_ADDR 0x40600000
588 
589 /**
590  * Peripheral size for ram device on sram_ctrl_ret_aon in top earlgrey.
591  *
592  * This is the size (in bytes) of the peripheral's reserved memory area. All
593  * memory-mapped registers associated with this peripheral should have an
594  * address between #TOP_EARLGREY_SRAM_CTRL_RET_AON_RAM_BASE_ADDR and
595  * `TOP_EARLGREY_SRAM_CTRL_RET_AON_RAM_BASE_ADDR + TOP_EARLGREY_SRAM_CTRL_RET_AON_RAM_SIZE_BYTES`.
596  */
597 #define TOP_EARLGREY_SRAM_CTRL_RET_AON_RAM_SIZE_BYTES 0x1000
598 /**
599  * Peripheral base address for core device on flash_ctrl in top earlgrey.
600  *
601  * This should be used with #mmio_region_from_addr to access the memory-mapped
602  * registers associated with the peripheral (usually via a DIF).
603  */
604 #define TOP_EARLGREY_FLASH_CTRL_CORE_BASE_ADDR 0x41000000
605 
606 /**
607  * Peripheral size for core device on flash_ctrl in top earlgrey.
608  *
609  * This is the size (in bytes) of the peripheral's reserved memory area. All
610  * memory-mapped registers associated with this peripheral should have an
611  * address between #TOP_EARLGREY_FLASH_CTRL_CORE_BASE_ADDR and
612  * `TOP_EARLGREY_FLASH_CTRL_CORE_BASE_ADDR + TOP_EARLGREY_FLASH_CTRL_CORE_SIZE_BYTES`.
613  */
614 #define TOP_EARLGREY_FLASH_CTRL_CORE_SIZE_BYTES 0x200
615 /**
616  * Peripheral base address for prim device on flash_ctrl in top earlgrey.
617  *
618  * This should be used with #mmio_region_from_addr to access the memory-mapped
619  * registers associated with the peripheral (usually via a DIF).
620  */
621 #define TOP_EARLGREY_FLASH_CTRL_PRIM_BASE_ADDR 0x41008000
622 
623 /**
624  * Peripheral size for prim device on flash_ctrl in top earlgrey.
625  *
626  * This is the size (in bytes) of the peripheral's reserved memory area. All
627  * memory-mapped registers associated with this peripheral should have an
628  * address between #TOP_EARLGREY_FLASH_CTRL_PRIM_BASE_ADDR and
629  * `TOP_EARLGREY_FLASH_CTRL_PRIM_BASE_ADDR + TOP_EARLGREY_FLASH_CTRL_PRIM_SIZE_BYTES`.
630  */
631 #define TOP_EARLGREY_FLASH_CTRL_PRIM_SIZE_BYTES 0x80
632 /**
633  * Peripheral base address for mem device on flash_ctrl in top earlgrey.
634  *
635  * This should be used with #mmio_region_from_addr to access the memory-mapped
636  * registers associated with the peripheral (usually via a DIF).
637  */
638 #define TOP_EARLGREY_FLASH_CTRL_MEM_BASE_ADDR 0x20000000
639 
640 /**
641  * Peripheral size for mem device on flash_ctrl in top earlgrey.
642  *
643  * This is the size (in bytes) of the peripheral's reserved memory area. All
644  * memory-mapped registers associated with this peripheral should have an
645  * address between #TOP_EARLGREY_FLASH_CTRL_MEM_BASE_ADDR and
646  * `TOP_EARLGREY_FLASH_CTRL_MEM_BASE_ADDR + TOP_EARLGREY_FLASH_CTRL_MEM_SIZE_BYTES`.
647  */
648 #define TOP_EARLGREY_FLASH_CTRL_MEM_SIZE_BYTES 0x100000
649 /**
650  * Peripheral base address for regs device on rv_dm in top earlgrey.
651  *
652  * This should be used with #mmio_region_from_addr to access the memory-mapped
653  * registers associated with the peripheral (usually via a DIF).
654  */
655 #define TOP_EARLGREY_RV_DM_REGS_BASE_ADDR 0x41200000
656 
657 /**
658  * Peripheral size for regs device on rv_dm in top earlgrey.
659  *
660  * This is the size (in bytes) of the peripheral's reserved memory area. All
661  * memory-mapped registers associated with this peripheral should have an
662  * address between #TOP_EARLGREY_RV_DM_REGS_BASE_ADDR and
663  * `TOP_EARLGREY_RV_DM_REGS_BASE_ADDR + TOP_EARLGREY_RV_DM_REGS_SIZE_BYTES`.
664  */
665 #define TOP_EARLGREY_RV_DM_REGS_SIZE_BYTES 0x10
666 /**
667  * Peripheral base address for mem device on rv_dm in top earlgrey.
668  *
669  * This should be used with #mmio_region_from_addr to access the memory-mapped
670  * registers associated with the peripheral (usually via a DIF).
671  */
672 #define TOP_EARLGREY_RV_DM_MEM_BASE_ADDR 0x10000
673 
674 /**
675  * Peripheral size for mem device on rv_dm in top earlgrey.
676  *
677  * This is the size (in bytes) of the peripheral's reserved memory area. All
678  * memory-mapped registers associated with this peripheral should have an
679  * address between #TOP_EARLGREY_RV_DM_MEM_BASE_ADDR and
680  * `TOP_EARLGREY_RV_DM_MEM_BASE_ADDR + TOP_EARLGREY_RV_DM_MEM_SIZE_BYTES`.
681  */
682 #define TOP_EARLGREY_RV_DM_MEM_SIZE_BYTES 0x1000
683 /**
684  * Peripheral base address for dbg device on rv_dm in top earlgrey.
685  *
686  * This should be used with #mmio_region_from_addr to access the memory-mapped
687  * registers associated with the peripheral (usually via a DIF).
688  */
689 #define TOP_EARLGREY_RV_DM_DBG_BASE_ADDR 0x1000
690 
691 /**
692  * Peripheral size for dbg device on rv_dm in top earlgrey.
693  *
694  * This is the size (in bytes) of the peripheral's reserved memory area. All
695  * memory-mapped registers associated with this peripheral should have an
696  * address between #TOP_EARLGREY_RV_DM_DBG_BASE_ADDR and
697  * `TOP_EARLGREY_RV_DM_DBG_BASE_ADDR + TOP_EARLGREY_RV_DM_DBG_SIZE_BYTES`.
698  */
699 #define TOP_EARLGREY_RV_DM_DBG_SIZE_BYTES 0x200
700 /**
701  * Peripheral base address for rv_plic in top earlgrey.
702  *
703  * This should be used with #mmio_region_from_addr to access the memory-mapped
704  * registers associated with the peripheral (usually via a DIF).
705  */
706 #define TOP_EARLGREY_RV_PLIC_BASE_ADDR 0x48000000
707 
708 /**
709  * Peripheral size for rv_plic in top earlgrey.
710  *
711  * This is the size (in bytes) of the peripheral's reserved memory area. All
712  * memory-mapped registers associated with this peripheral should have an
713  * address between #TOP_EARLGREY_RV_PLIC_BASE_ADDR and
714  * `TOP_EARLGREY_RV_PLIC_BASE_ADDR + TOP_EARLGREY_RV_PLIC_SIZE_BYTES`.
715  */
716 #define TOP_EARLGREY_RV_PLIC_SIZE_BYTES 0x8000000
717 /**
718  * Peripheral base address for aes in top earlgrey.
719  *
720  * This should be used with #mmio_region_from_addr to access the memory-mapped
721  * registers associated with the peripheral (usually via a DIF).
722  */
723 #define TOP_EARLGREY_AES_BASE_ADDR 0x41100000
724 
725 /**
726  * Peripheral size for aes in top earlgrey.
727  *
728  * This is the size (in bytes) of the peripheral's reserved memory area. All
729  * memory-mapped registers associated with this peripheral should have an
730  * address between #TOP_EARLGREY_AES_BASE_ADDR and
731  * `TOP_EARLGREY_AES_BASE_ADDR + TOP_EARLGREY_AES_SIZE_BYTES`.
732  */
733 #define TOP_EARLGREY_AES_SIZE_BYTES 0x100
734 /**
735  * Peripheral base address for hmac in top earlgrey.
736  *
737  * This should be used with #mmio_region_from_addr to access the memory-mapped
738  * registers associated with the peripheral (usually via a DIF).
739  */
740 #define TOP_EARLGREY_HMAC_BASE_ADDR 0x41110000
741 
742 /**
743  * Peripheral size for hmac in top earlgrey.
744  *
745  * This is the size (in bytes) of the peripheral's reserved memory area. All
746  * memory-mapped registers associated with this peripheral should have an
747  * address between #TOP_EARLGREY_HMAC_BASE_ADDR and
748  * `TOP_EARLGREY_HMAC_BASE_ADDR + TOP_EARLGREY_HMAC_SIZE_BYTES`.
749  */
750 #define TOP_EARLGREY_HMAC_SIZE_BYTES 0x2000
751 /**
752  * Peripheral base address for kmac in top earlgrey.
753  *
754  * This should be used with #mmio_region_from_addr to access the memory-mapped
755  * registers associated with the peripheral (usually via a DIF).
756  */
757 #define TOP_EARLGREY_KMAC_BASE_ADDR 0x41120000
758 
759 /**
760  * Peripheral size for kmac in top earlgrey.
761  *
762  * This is the size (in bytes) of the peripheral's reserved memory area. All
763  * memory-mapped registers associated with this peripheral should have an
764  * address between #TOP_EARLGREY_KMAC_BASE_ADDR and
765  * `TOP_EARLGREY_KMAC_BASE_ADDR + TOP_EARLGREY_KMAC_SIZE_BYTES`.
766  */
767 #define TOP_EARLGREY_KMAC_SIZE_BYTES 0x1000
768 /**
769  * Peripheral base address for otbn in top earlgrey.
770  *
771  * This should be used with #mmio_region_from_addr to access the memory-mapped
772  * registers associated with the peripheral (usually via a DIF).
773  */
774 #define TOP_EARLGREY_OTBN_BASE_ADDR 0x41130000
775 
776 /**
777  * Peripheral size for otbn in top earlgrey.
778  *
779  * This is the size (in bytes) of the peripheral's reserved memory area. All
780  * memory-mapped registers associated with this peripheral should have an
781  * address between #TOP_EARLGREY_OTBN_BASE_ADDR and
782  * `TOP_EARLGREY_OTBN_BASE_ADDR + TOP_EARLGREY_OTBN_SIZE_BYTES`.
783  */
784 #define TOP_EARLGREY_OTBN_SIZE_BYTES 0x10000
785 /**
786  * Peripheral base address for keymgr in top earlgrey.
787  *
788  * This should be used with #mmio_region_from_addr to access the memory-mapped
789  * registers associated with the peripheral (usually via a DIF).
790  */
791 #define TOP_EARLGREY_KEYMGR_BASE_ADDR 0x41140000
792 
793 /**
794  * Peripheral size for keymgr in top earlgrey.
795  *
796  * This is the size (in bytes) of the peripheral's reserved memory area. All
797  * memory-mapped registers associated with this peripheral should have an
798  * address between #TOP_EARLGREY_KEYMGR_BASE_ADDR and
799  * `TOP_EARLGREY_KEYMGR_BASE_ADDR + TOP_EARLGREY_KEYMGR_SIZE_BYTES`.
800  */
801 #define TOP_EARLGREY_KEYMGR_SIZE_BYTES 0x100
802 /**
803  * Peripheral base address for csrng in top earlgrey.
804  *
805  * This should be used with #mmio_region_from_addr to access the memory-mapped
806  * registers associated with the peripheral (usually via a DIF).
807  */
808 #define TOP_EARLGREY_CSRNG_BASE_ADDR 0x41150000
809 
810 /**
811  * Peripheral size for csrng in top earlgrey.
812  *
813  * This is the size (in bytes) of the peripheral's reserved memory area. All
814  * memory-mapped registers associated with this peripheral should have an
815  * address between #TOP_EARLGREY_CSRNG_BASE_ADDR and
816  * `TOP_EARLGREY_CSRNG_BASE_ADDR + TOP_EARLGREY_CSRNG_SIZE_BYTES`.
817  */
818 #define TOP_EARLGREY_CSRNG_SIZE_BYTES 0x80
819 /**
820  * Peripheral base address for entropy_src in top earlgrey.
821  *
822  * This should be used with #mmio_region_from_addr to access the memory-mapped
823  * registers associated with the peripheral (usually via a DIF).
824  */
825 #define TOP_EARLGREY_ENTROPY_SRC_BASE_ADDR 0x41160000
826 
827 /**
828  * Peripheral size for entropy_src in top earlgrey.
829  *
830  * This is the size (in bytes) of the peripheral's reserved memory area. All
831  * memory-mapped registers associated with this peripheral should have an
832  * address between #TOP_EARLGREY_ENTROPY_SRC_BASE_ADDR and
833  * `TOP_EARLGREY_ENTROPY_SRC_BASE_ADDR + TOP_EARLGREY_ENTROPY_SRC_SIZE_BYTES`.
834  */
835 #define TOP_EARLGREY_ENTROPY_SRC_SIZE_BYTES 0x100
836 /**
837  * Peripheral base address for edn0 in top earlgrey.
838  *
839  * This should be used with #mmio_region_from_addr to access the memory-mapped
840  * registers associated with the peripheral (usually via a DIF).
841  */
842 #define TOP_EARLGREY_EDN0_BASE_ADDR 0x41170000
843 
844 /**
845  * Peripheral size for edn0 in top earlgrey.
846  *
847  * This is the size (in bytes) of the peripheral's reserved memory area. All
848  * memory-mapped registers associated with this peripheral should have an
849  * address between #TOP_EARLGREY_EDN0_BASE_ADDR and
850  * `TOP_EARLGREY_EDN0_BASE_ADDR + TOP_EARLGREY_EDN0_SIZE_BYTES`.
851  */
852 #define TOP_EARLGREY_EDN0_SIZE_BYTES 0x80
853 /**
854  * Peripheral base address for edn1 in top earlgrey.
855  *
856  * This should be used with #mmio_region_from_addr to access the memory-mapped
857  * registers associated with the peripheral (usually via a DIF).
858  */
859 #define TOP_EARLGREY_EDN1_BASE_ADDR 0x41180000
860 
861 /**
862  * Peripheral size for edn1 in top earlgrey.
863  *
864  * This is the size (in bytes) of the peripheral's reserved memory area. All
865  * memory-mapped registers associated with this peripheral should have an
866  * address between #TOP_EARLGREY_EDN1_BASE_ADDR and
867  * `TOP_EARLGREY_EDN1_BASE_ADDR + TOP_EARLGREY_EDN1_SIZE_BYTES`.
868  */
869 #define TOP_EARLGREY_EDN1_SIZE_BYTES 0x80
870 /**
871  * Peripheral base address for regs device on sram_ctrl_main in top earlgrey.
872  *
873  * This should be used with #mmio_region_from_addr to access the memory-mapped
874  * registers associated with the peripheral (usually via a DIF).
875  */
876 #define TOP_EARLGREY_SRAM_CTRL_MAIN_REGS_BASE_ADDR 0x411C0000
877 
878 /**
879  * Peripheral size for regs device on sram_ctrl_main in top earlgrey.
880  *
881  * This is the size (in bytes) of the peripheral's reserved memory area. All
882  * memory-mapped registers associated with this peripheral should have an
883  * address between #TOP_EARLGREY_SRAM_CTRL_MAIN_REGS_BASE_ADDR and
884  * `TOP_EARLGREY_SRAM_CTRL_MAIN_REGS_BASE_ADDR + TOP_EARLGREY_SRAM_CTRL_MAIN_REGS_SIZE_BYTES`.
885  */
886 #define TOP_EARLGREY_SRAM_CTRL_MAIN_REGS_SIZE_BYTES 0x40
887 /**
888  * Peripheral base address for ram device on sram_ctrl_main in top earlgrey.
889  *
890  * This should be used with #mmio_region_from_addr to access the memory-mapped
891  * registers associated with the peripheral (usually via a DIF).
892  */
893 #define TOP_EARLGREY_SRAM_CTRL_MAIN_RAM_BASE_ADDR 0x10000000
894 
895 /**
896  * Peripheral size for ram device on sram_ctrl_main in top earlgrey.
897  *
898  * This is the size (in bytes) of the peripheral's reserved memory area. All
899  * memory-mapped registers associated with this peripheral should have an
900  * address between #TOP_EARLGREY_SRAM_CTRL_MAIN_RAM_BASE_ADDR and
901  * `TOP_EARLGREY_SRAM_CTRL_MAIN_RAM_BASE_ADDR + TOP_EARLGREY_SRAM_CTRL_MAIN_RAM_SIZE_BYTES`.
902  */
903 #define TOP_EARLGREY_SRAM_CTRL_MAIN_RAM_SIZE_BYTES 0x20000
904 /**
905  * Peripheral base address for regs device on rom_ctrl in top earlgrey.
906  *
907  * This should be used with #mmio_region_from_addr to access the memory-mapped
908  * registers associated with the peripheral (usually via a DIF).
909  */
910 #define TOP_EARLGREY_ROM_CTRL_REGS_BASE_ADDR 0x411E0000
911 
912 /**
913  * Peripheral size for regs device on rom_ctrl in top earlgrey.
914  *
915  * This is the size (in bytes) of the peripheral's reserved memory area. All
916  * memory-mapped registers associated with this peripheral should have an
917  * address between #TOP_EARLGREY_ROM_CTRL_REGS_BASE_ADDR and
918  * `TOP_EARLGREY_ROM_CTRL_REGS_BASE_ADDR + TOP_EARLGREY_ROM_CTRL_REGS_SIZE_BYTES`.
919  */
920 #define TOP_EARLGREY_ROM_CTRL_REGS_SIZE_BYTES 0x80
921 /**
922  * Peripheral base address for rom device on rom_ctrl in top earlgrey.
923  *
924  * This should be used with #mmio_region_from_addr to access the memory-mapped
925  * registers associated with the peripheral (usually via a DIF).
926  */
927 #define TOP_EARLGREY_ROM_CTRL_ROM_BASE_ADDR 0x8000
928 
929 /**
930  * Peripheral size for rom device on rom_ctrl in top earlgrey.
931  *
932  * This is the size (in bytes) of the peripheral's reserved memory area. All
933  * memory-mapped registers associated with this peripheral should have an
934  * address between #TOP_EARLGREY_ROM_CTRL_ROM_BASE_ADDR and
935  * `TOP_EARLGREY_ROM_CTRL_ROM_BASE_ADDR + TOP_EARLGREY_ROM_CTRL_ROM_SIZE_BYTES`.
936  */
937 #define TOP_EARLGREY_ROM_CTRL_ROM_SIZE_BYTES 0x8000
938 /**
939  * Peripheral base address for cfg device on rv_core_ibex in top earlgrey.
940  *
941  * This should be used with #mmio_region_from_addr to access the memory-mapped
942  * registers associated with the peripheral (usually via a DIF).
943  */
944 #define TOP_EARLGREY_RV_CORE_IBEX_CFG_BASE_ADDR 0x411F0000
945 
946 /**
947  * Peripheral size for cfg device on rv_core_ibex in top earlgrey.
948  *
949  * This is the size (in bytes) of the peripheral's reserved memory area. All
950  * memory-mapped registers associated with this peripheral should have an
951  * address between #TOP_EARLGREY_RV_CORE_IBEX_CFG_BASE_ADDR and
952  * `TOP_EARLGREY_RV_CORE_IBEX_CFG_BASE_ADDR + TOP_EARLGREY_RV_CORE_IBEX_CFG_SIZE_BYTES`.
953  */
954 #define TOP_EARLGREY_RV_CORE_IBEX_CFG_SIZE_BYTES 0x100
955 
956 /**
957  * MMIO Region
958  *
959  * MMIO region excludes any memory that is separate from the module
960  * configuration space, i.e. ROM, main SRAM, and flash are excluded but
961  * retention SRAM, spi_device memory, or usbdev memory are included.
962  */
963 #define TOP_EARLGREY_MMIO_BASE_ADDR 0x40000000
964 #define TOP_EARLGREY_MMIO_SIZE_BYTES 0x10000000
965 
966 #endif // __ASSEMBLER__
967 
968 #endif // OPENTITAN_HW_TOP_EARLGREY_SW_AUTOGEN_TOP_EARLGREY_MEMORY_H_