|
Software APIs
|
Go to the documentation of this file.
10 #ifndef OPENTITAN_HW_TOP_EARLGREY_SW_AUTOGEN_TOP_EARLGREY_MEMORY_H_
11 #define OPENTITAN_HW_TOP_EARLGREY_SW_AUTOGEN_TOP_EARLGREY_MEMORY_H_
32 #define TOP_EARLGREY_RAM_RET_AON_BASE_ADDR 0x40600000
37 #define TOP_EARLGREY_RAM_RET_AON_SIZE_BYTES 0x1000
42 #define TOP_EARLGREY_EFLASH_BASE_ADDR 0x20000000
47 #define TOP_EARLGREY_EFLASH_SIZE_BYTES 0x100000
52 #define TOP_EARLGREY_RAM_MAIN_BASE_ADDR 0x10000000
57 #define TOP_EARLGREY_RAM_MAIN_SIZE_BYTES 0x20000
62 #define TOP_EARLGREY_ROM_BASE_ADDR 0x00008000
67 #define TOP_EARLGREY_ROM_SIZE_BYTES 0x8000
77 #define TOP_EARLGREY_UART0_BASE_ADDR 0x40000000
87 #define TOP_EARLGREY_UART0_SIZE_BYTES 0x40
94 #define TOP_EARLGREY_UART1_BASE_ADDR 0x40010000
104 #define TOP_EARLGREY_UART1_SIZE_BYTES 0x40
111 #define TOP_EARLGREY_UART2_BASE_ADDR 0x40020000
121 #define TOP_EARLGREY_UART2_SIZE_BYTES 0x40
128 #define TOP_EARLGREY_UART3_BASE_ADDR 0x40030000
138 #define TOP_EARLGREY_UART3_SIZE_BYTES 0x40
145 #define TOP_EARLGREY_GPIO_BASE_ADDR 0x40040000
155 #define TOP_EARLGREY_GPIO_SIZE_BYTES 0x80
162 #define TOP_EARLGREY_SPI_DEVICE_BASE_ADDR 0x40050000
172 #define TOP_EARLGREY_SPI_DEVICE_SIZE_BYTES 0x2000
179 #define TOP_EARLGREY_I2C0_BASE_ADDR 0x40080000
189 #define TOP_EARLGREY_I2C0_SIZE_BYTES 0x80
196 #define TOP_EARLGREY_I2C1_BASE_ADDR 0x40090000
206 #define TOP_EARLGREY_I2C1_SIZE_BYTES 0x80
213 #define TOP_EARLGREY_I2C2_BASE_ADDR 0x400A0000
223 #define TOP_EARLGREY_I2C2_SIZE_BYTES 0x80
230 #define TOP_EARLGREY_PATTGEN_BASE_ADDR 0x400E0000
240 #define TOP_EARLGREY_PATTGEN_SIZE_BYTES 0x40
247 #define TOP_EARLGREY_RV_TIMER_BASE_ADDR 0x40100000
257 #define TOP_EARLGREY_RV_TIMER_SIZE_BYTES 0x200
264 #define TOP_EARLGREY_OTP_CTRL_CORE_BASE_ADDR 0x40130000
274 #define TOP_EARLGREY_OTP_CTRL_CORE_SIZE_BYTES 0x1000
281 #define TOP_EARLGREY_OTP_CTRL_PRIM_BASE_ADDR 0x40138000
291 #define TOP_EARLGREY_OTP_CTRL_PRIM_SIZE_BYTES 0x20
298 #define TOP_EARLGREY_LC_CTRL_REGS_BASE_ADDR 0x40140000
308 #define TOP_EARLGREY_LC_CTRL_REGS_SIZE_BYTES 0x100
315 #define TOP_EARLGREY_LC_CTRL_DMI_BASE_ADDR 0x0
325 #define TOP_EARLGREY_LC_CTRL_DMI_SIZE_BYTES 0x1000
332 #define TOP_EARLGREY_ALERT_HANDLER_BASE_ADDR 0x40150000
342 #define TOP_EARLGREY_ALERT_HANDLER_SIZE_BYTES 0x800
349 #define TOP_EARLGREY_SPI_HOST0_BASE_ADDR 0x40300000
359 #define TOP_EARLGREY_SPI_HOST0_SIZE_BYTES 0x40
366 #define TOP_EARLGREY_SPI_HOST1_BASE_ADDR 0x40310000
376 #define TOP_EARLGREY_SPI_HOST1_SIZE_BYTES 0x40
383 #define TOP_EARLGREY_USBDEV_BASE_ADDR 0x40320000
393 #define TOP_EARLGREY_USBDEV_SIZE_BYTES 0x1000
400 #define TOP_EARLGREY_PWRMGR_AON_BASE_ADDR 0x40400000
410 #define TOP_EARLGREY_PWRMGR_AON_SIZE_BYTES 0x80
417 #define TOP_EARLGREY_RSTMGR_AON_BASE_ADDR 0x40410000
427 #define TOP_EARLGREY_RSTMGR_AON_SIZE_BYTES 0x80
434 #define TOP_EARLGREY_CLKMGR_AON_BASE_ADDR 0x40420000
444 #define TOP_EARLGREY_CLKMGR_AON_SIZE_BYTES 0x80
451 #define TOP_EARLGREY_SYSRST_CTRL_AON_BASE_ADDR 0x40430000
461 #define TOP_EARLGREY_SYSRST_CTRL_AON_SIZE_BYTES 0x100
468 #define TOP_EARLGREY_ADC_CTRL_AON_BASE_ADDR 0x40440000
478 #define TOP_EARLGREY_ADC_CTRL_AON_SIZE_BYTES 0x80
485 #define TOP_EARLGREY_PWM_AON_BASE_ADDR 0x40450000
495 #define TOP_EARLGREY_PWM_AON_SIZE_BYTES 0x80
502 #define TOP_EARLGREY_PINMUX_AON_BASE_ADDR 0x40460000
512 #define TOP_EARLGREY_PINMUX_AON_SIZE_BYTES 0x1000
519 #define TOP_EARLGREY_AON_TIMER_AON_BASE_ADDR 0x40470000
529 #define TOP_EARLGREY_AON_TIMER_AON_SIZE_BYTES 0x40
536 #define TOP_EARLGREY_AST_BASE_ADDR 0x40480000
546 #define TOP_EARLGREY_AST_SIZE_BYTES 0x400
553 #define TOP_EARLGREY_SENSOR_CTRL_AON_BASE_ADDR 0x40490000
563 #define TOP_EARLGREY_SENSOR_CTRL_AON_SIZE_BYTES 0x80
570 #define TOP_EARLGREY_SRAM_CTRL_RET_AON_REGS_BASE_ADDR 0x40500000
580 #define TOP_EARLGREY_SRAM_CTRL_RET_AON_REGS_SIZE_BYTES 0x40
587 #define TOP_EARLGREY_SRAM_CTRL_RET_AON_RAM_BASE_ADDR 0x40600000
597 #define TOP_EARLGREY_SRAM_CTRL_RET_AON_RAM_SIZE_BYTES 0x1000
604 #define TOP_EARLGREY_FLASH_CTRL_CORE_BASE_ADDR 0x41000000
614 #define TOP_EARLGREY_FLASH_CTRL_CORE_SIZE_BYTES 0x200
621 #define TOP_EARLGREY_FLASH_CTRL_PRIM_BASE_ADDR 0x41008000
631 #define TOP_EARLGREY_FLASH_CTRL_PRIM_SIZE_BYTES 0x80
638 #define TOP_EARLGREY_FLASH_CTRL_MEM_BASE_ADDR 0x20000000
648 #define TOP_EARLGREY_FLASH_CTRL_MEM_SIZE_BYTES 0x100000
655 #define TOP_EARLGREY_RV_DM_REGS_BASE_ADDR 0x41200000
665 #define TOP_EARLGREY_RV_DM_REGS_SIZE_BYTES 0x10
672 #define TOP_EARLGREY_RV_DM_MEM_BASE_ADDR 0x10000
682 #define TOP_EARLGREY_RV_DM_MEM_SIZE_BYTES 0x1000
689 #define TOP_EARLGREY_RV_DM_DBG_BASE_ADDR 0x1000
699 #define TOP_EARLGREY_RV_DM_DBG_SIZE_BYTES 0x200
706 #define TOP_EARLGREY_RV_PLIC_BASE_ADDR 0x48000000
716 #define TOP_EARLGREY_RV_PLIC_SIZE_BYTES 0x8000000
723 #define TOP_EARLGREY_AES_BASE_ADDR 0x41100000
733 #define TOP_EARLGREY_AES_SIZE_BYTES 0x100
740 #define TOP_EARLGREY_HMAC_BASE_ADDR 0x41110000
750 #define TOP_EARLGREY_HMAC_SIZE_BYTES 0x2000
757 #define TOP_EARLGREY_KMAC_BASE_ADDR 0x41120000
767 #define TOP_EARLGREY_KMAC_SIZE_BYTES 0x1000
774 #define TOP_EARLGREY_OTBN_BASE_ADDR 0x41130000
784 #define TOP_EARLGREY_OTBN_SIZE_BYTES 0x10000
791 #define TOP_EARLGREY_KEYMGR_BASE_ADDR 0x41140000
801 #define TOP_EARLGREY_KEYMGR_SIZE_BYTES 0x100
808 #define TOP_EARLGREY_CSRNG_BASE_ADDR 0x41150000
818 #define TOP_EARLGREY_CSRNG_SIZE_BYTES 0x80
825 #define TOP_EARLGREY_ENTROPY_SRC_BASE_ADDR 0x41160000
835 #define TOP_EARLGREY_ENTROPY_SRC_SIZE_BYTES 0x100
842 #define TOP_EARLGREY_EDN0_BASE_ADDR 0x41170000
852 #define TOP_EARLGREY_EDN0_SIZE_BYTES 0x80
859 #define TOP_EARLGREY_EDN1_BASE_ADDR 0x41180000
869 #define TOP_EARLGREY_EDN1_SIZE_BYTES 0x80
876 #define TOP_EARLGREY_SRAM_CTRL_MAIN_REGS_BASE_ADDR 0x411C0000
886 #define TOP_EARLGREY_SRAM_CTRL_MAIN_REGS_SIZE_BYTES 0x40
893 #define TOP_EARLGREY_SRAM_CTRL_MAIN_RAM_BASE_ADDR 0x10000000
903 #define TOP_EARLGREY_SRAM_CTRL_MAIN_RAM_SIZE_BYTES 0x20000
910 #define TOP_EARLGREY_ROM_CTRL_REGS_BASE_ADDR 0x411E0000
920 #define TOP_EARLGREY_ROM_CTRL_REGS_SIZE_BYTES 0x80
927 #define TOP_EARLGREY_ROM_CTRL_ROM_BASE_ADDR 0x8000
937 #define TOP_EARLGREY_ROM_CTRL_ROM_SIZE_BYTES 0x8000
944 #define TOP_EARLGREY_RV_CORE_IBEX_CFG_BASE_ADDR 0x411F0000
954 #define TOP_EARLGREY_RV_CORE_IBEX_CFG_SIZE_BYTES 0x100
963 #define TOP_EARLGREY_MMIO_BASE_ADDR 0x40000000
964 #define TOP_EARLGREY_MMIO_SIZE_BYTES 0x10000000