Top-specific Definitions. More...
Go to the source code of this file.
Macros | |
#define | TOP_EARLGREY_UART0_BASE_ADDR 0x40000000u |
Peripheral base address for uart0 in top earlgrey. More... | |
#define | TOP_EARLGREY_UART0_SIZE_BYTES 0x40u |
Peripheral size for uart0 in top earlgrey. More... | |
#define | TOP_EARLGREY_UART1_BASE_ADDR 0x40010000u |
Peripheral base address for uart1 in top earlgrey. More... | |
#define | TOP_EARLGREY_UART1_SIZE_BYTES 0x40u |
Peripheral size for uart1 in top earlgrey. More... | |
#define | TOP_EARLGREY_UART2_BASE_ADDR 0x40020000u |
Peripheral base address for uart2 in top earlgrey. More... | |
#define | TOP_EARLGREY_UART2_SIZE_BYTES 0x40u |
Peripheral size for uart2 in top earlgrey. More... | |
#define | TOP_EARLGREY_UART3_BASE_ADDR 0x40030000u |
Peripheral base address for uart3 in top earlgrey. More... | |
#define | TOP_EARLGREY_UART3_SIZE_BYTES 0x40u |
Peripheral size for uart3 in top earlgrey. More... | |
#define | TOP_EARLGREY_GPIO_BASE_ADDR 0x40040000u |
Peripheral base address for gpio in top earlgrey. More... | |
#define | TOP_EARLGREY_GPIO_SIZE_BYTES 0x80u |
Peripheral size for gpio in top earlgrey. More... | |
#define | TOP_EARLGREY_SPI_DEVICE_BASE_ADDR 0x40050000u |
Peripheral base address for spi_device in top earlgrey. More... | |
#define | TOP_EARLGREY_SPI_DEVICE_SIZE_BYTES 0x2000u |
Peripheral size for spi_device in top earlgrey. More... | |
#define | TOP_EARLGREY_I2C0_BASE_ADDR 0x40080000u |
Peripheral base address for i2c0 in top earlgrey. More... | |
#define | TOP_EARLGREY_I2C0_SIZE_BYTES 0x80u |
Peripheral size for i2c0 in top earlgrey. More... | |
#define | TOP_EARLGREY_I2C1_BASE_ADDR 0x40090000u |
Peripheral base address for i2c1 in top earlgrey. More... | |
#define | TOP_EARLGREY_I2C1_SIZE_BYTES 0x80u |
Peripheral size for i2c1 in top earlgrey. More... | |
#define | TOP_EARLGREY_I2C2_BASE_ADDR 0x400A0000u |
Peripheral base address for i2c2 in top earlgrey. More... | |
#define | TOP_EARLGREY_I2C2_SIZE_BYTES 0x80u |
Peripheral size for i2c2 in top earlgrey. More... | |
#define | TOP_EARLGREY_PATTGEN_BASE_ADDR 0x400E0000u |
Peripheral base address for pattgen in top earlgrey. More... | |
#define | TOP_EARLGREY_PATTGEN_SIZE_BYTES 0x40u |
Peripheral size for pattgen in top earlgrey. More... | |
#define | TOP_EARLGREY_RV_TIMER_BASE_ADDR 0x40100000u |
Peripheral base address for rv_timer in top earlgrey. More... | |
#define | TOP_EARLGREY_RV_TIMER_SIZE_BYTES 0x200u |
Peripheral size for rv_timer in top earlgrey. More... | |
#define | TOP_EARLGREY_OTP_CTRL_CORE_BASE_ADDR 0x40130000u |
Peripheral base address for core device on otp_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_OTP_CTRL_CORE_SIZE_BYTES 0x1000u |
Peripheral size for core device on otp_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_OTP_CTRL_PRIM_BASE_ADDR 0x40138000u |
Peripheral base address for prim device on otp_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_OTP_CTRL_PRIM_SIZE_BYTES 0x20u |
Peripheral size for prim device on otp_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_LC_CTRL_REGS_BASE_ADDR 0x40140000u |
Peripheral base address for regs device on lc_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_LC_CTRL_REGS_SIZE_BYTES 0x100u |
Peripheral size for regs device on lc_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_LC_CTRL_DMI_BASE_ADDR 0x0u |
Peripheral base address for dmi device on lc_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_LC_CTRL_DMI_SIZE_BYTES 0x1000u |
Peripheral size for dmi device on lc_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_ALERT_HANDLER_BASE_ADDR 0x40150000u |
Peripheral base address for alert_handler in top earlgrey. More... | |
#define | TOP_EARLGREY_ALERT_HANDLER_SIZE_BYTES 0x800u |
Peripheral size for alert_handler in top earlgrey. More... | |
#define | TOP_EARLGREY_SPI_HOST0_BASE_ADDR 0x40300000u |
Peripheral base address for spi_host0 in top earlgrey. More... | |
#define | TOP_EARLGREY_SPI_HOST0_SIZE_BYTES 0x40u |
Peripheral size for spi_host0 in top earlgrey. More... | |
#define | TOP_EARLGREY_SPI_HOST1_BASE_ADDR 0x40310000u |
Peripheral base address for spi_host1 in top earlgrey. More... | |
#define | TOP_EARLGREY_SPI_HOST1_SIZE_BYTES 0x40u |
Peripheral size for spi_host1 in top earlgrey. More... | |
#define | TOP_EARLGREY_USBDEV_BASE_ADDR 0x40320000u |
Peripheral base address for usbdev in top earlgrey. More... | |
#define | TOP_EARLGREY_USBDEV_SIZE_BYTES 0x1000u |
Peripheral size for usbdev in top earlgrey. More... | |
#define | TOP_EARLGREY_PWRMGR_AON_BASE_ADDR 0x40400000u |
Peripheral base address for pwrmgr_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_PWRMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for pwrmgr_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_RSTMGR_AON_BASE_ADDR 0x40410000u |
Peripheral base address for rstmgr_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_RSTMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for rstmgr_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_CLKMGR_AON_BASE_ADDR 0x40420000u |
Peripheral base address for clkmgr_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_CLKMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for clkmgr_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_SYSRST_CTRL_AON_BASE_ADDR 0x40430000u |
Peripheral base address for sysrst_ctrl_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_SYSRST_CTRL_AON_SIZE_BYTES 0x100u |
Peripheral size for sysrst_ctrl_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_ADC_CTRL_AON_BASE_ADDR 0x40440000u |
Peripheral base address for adc_ctrl_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_ADC_CTRL_AON_SIZE_BYTES 0x80u |
Peripheral size for adc_ctrl_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_PWM_AON_BASE_ADDR 0x40450000u |
Peripheral base address for pwm_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_PWM_AON_SIZE_BYTES 0x80u |
Peripheral size for pwm_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_PINMUX_AON_BASE_ADDR 0x40460000u |
Peripheral base address for pinmux_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_PINMUX_AON_SIZE_BYTES 0x1000u |
Peripheral size for pinmux_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_AON_TIMER_AON_BASE_ADDR 0x40470000u |
Peripheral base address for aon_timer_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_AON_TIMER_AON_SIZE_BYTES 0x40u |
Peripheral size for aon_timer_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_AST_BASE_ADDR 0x40480000u |
Peripheral base address for ast in top earlgrey. More... | |
#define | TOP_EARLGREY_AST_SIZE_BYTES 0x400u |
Peripheral size for ast in top earlgrey. More... | |
#define | TOP_EARLGREY_SENSOR_CTRL_AON_BASE_ADDR 0x40490000u |
Peripheral base address for sensor_ctrl_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_SENSOR_CTRL_AON_SIZE_BYTES 0x80u |
Peripheral size for sensor_ctrl_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_SRAM_CTRL_RET_AON_REGS_BASE_ADDR 0x40500000u |
Peripheral base address for regs device on sram_ctrl_ret_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_SRAM_CTRL_RET_AON_REGS_SIZE_BYTES 0x40u |
Peripheral size for regs device on sram_ctrl_ret_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_SRAM_CTRL_RET_AON_RAM_BASE_ADDR 0x40600000u |
Peripheral base address for ram device on sram_ctrl_ret_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_SRAM_CTRL_RET_AON_RAM_SIZE_BYTES 0x1000u |
Peripheral size for ram device on sram_ctrl_ret_aon in top earlgrey. More... | |
#define | TOP_EARLGREY_FLASH_CTRL_CORE_BASE_ADDR 0x41000000u |
Peripheral base address for core device on flash_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_FLASH_CTRL_CORE_SIZE_BYTES 0x200u |
Peripheral size for core device on flash_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_FLASH_CTRL_PRIM_BASE_ADDR 0x41008000u |
Peripheral base address for prim device on flash_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_FLASH_CTRL_PRIM_SIZE_BYTES 0x80u |
Peripheral size for prim device on flash_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_FLASH_CTRL_MEM_BASE_ADDR 0x20000000u |
Peripheral base address for mem device on flash_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_FLASH_CTRL_MEM_SIZE_BYTES 0x100000u |
Peripheral size for mem device on flash_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_RV_DM_REGS_BASE_ADDR 0x41200000u |
Peripheral base address for regs device on rv_dm in top earlgrey. More... | |
#define | TOP_EARLGREY_RV_DM_REGS_SIZE_BYTES 0x10u |
Peripheral size for regs device on rv_dm in top earlgrey. More... | |
#define | TOP_EARLGREY_RV_DM_MEM_BASE_ADDR 0x10000u |
Peripheral base address for mem device on rv_dm in top earlgrey. More... | |
#define | TOP_EARLGREY_RV_DM_MEM_SIZE_BYTES 0x1000u |
Peripheral size for mem device on rv_dm in top earlgrey. More... | |
#define | TOP_EARLGREY_RV_DM_DBG_BASE_ADDR 0x1000u |
Peripheral base address for dbg device on rv_dm in top earlgrey. More... | |
#define | TOP_EARLGREY_RV_DM_DBG_SIZE_BYTES 0x200u |
Peripheral size for dbg device on rv_dm in top earlgrey. More... | |
#define | TOP_EARLGREY_RV_PLIC_BASE_ADDR 0x48000000u |
Peripheral base address for rv_plic in top earlgrey. More... | |
#define | TOP_EARLGREY_RV_PLIC_SIZE_BYTES 0x8000000u |
Peripheral size for rv_plic in top earlgrey. More... | |
#define | TOP_EARLGREY_AES_BASE_ADDR 0x41100000u |
Peripheral base address for aes in top earlgrey. More... | |
#define | TOP_EARLGREY_AES_SIZE_BYTES 0x100u |
Peripheral size for aes in top earlgrey. More... | |
#define | TOP_EARLGREY_HMAC_BASE_ADDR 0x41110000u |
Peripheral base address for hmac in top earlgrey. More... | |
#define | TOP_EARLGREY_HMAC_SIZE_BYTES 0x2000u |
Peripheral size for hmac in top earlgrey. More... | |
#define | TOP_EARLGREY_KMAC_BASE_ADDR 0x41120000u |
Peripheral base address for kmac in top earlgrey. More... | |
#define | TOP_EARLGREY_KMAC_SIZE_BYTES 0x1000u |
Peripheral size for kmac in top earlgrey. More... | |
#define | TOP_EARLGREY_OTBN_BASE_ADDR 0x41130000u |
Peripheral base address for otbn in top earlgrey. More... | |
#define | TOP_EARLGREY_OTBN_SIZE_BYTES 0x10000u |
Peripheral size for otbn in top earlgrey. More... | |
#define | TOP_EARLGREY_KEYMGR_BASE_ADDR 0x41140000u |
Peripheral base address for keymgr in top earlgrey. More... | |
#define | TOP_EARLGREY_KEYMGR_SIZE_BYTES 0x100u |
Peripheral size for keymgr in top earlgrey. More... | |
#define | TOP_EARLGREY_CSRNG_BASE_ADDR 0x41150000u |
Peripheral base address for csrng in top earlgrey. More... | |
#define | TOP_EARLGREY_CSRNG_SIZE_BYTES 0x80u |
Peripheral size for csrng in top earlgrey. More... | |
#define | TOP_EARLGREY_ENTROPY_SRC_BASE_ADDR 0x41160000u |
Peripheral base address for entropy_src in top earlgrey. More... | |
#define | TOP_EARLGREY_ENTROPY_SRC_SIZE_BYTES 0x100u |
Peripheral size for entropy_src in top earlgrey. More... | |
#define | TOP_EARLGREY_EDN0_BASE_ADDR 0x41170000u |
Peripheral base address for edn0 in top earlgrey. More... | |
#define | TOP_EARLGREY_EDN0_SIZE_BYTES 0x80u |
Peripheral size for edn0 in top earlgrey. More... | |
#define | TOP_EARLGREY_EDN1_BASE_ADDR 0x41180000u |
Peripheral base address for edn1 in top earlgrey. More... | |
#define | TOP_EARLGREY_EDN1_SIZE_BYTES 0x80u |
Peripheral size for edn1 in top earlgrey. More... | |
#define | TOP_EARLGREY_SRAM_CTRL_MAIN_REGS_BASE_ADDR 0x411C0000u |
Peripheral base address for regs device on sram_ctrl_main in top earlgrey. More... | |
#define | TOP_EARLGREY_SRAM_CTRL_MAIN_REGS_SIZE_BYTES 0x40u |
Peripheral size for regs device on sram_ctrl_main in top earlgrey. More... | |
#define | TOP_EARLGREY_SRAM_CTRL_MAIN_RAM_BASE_ADDR 0x10000000u |
Peripheral base address for ram device on sram_ctrl_main in top earlgrey. More... | |
#define | TOP_EARLGREY_SRAM_CTRL_MAIN_RAM_SIZE_BYTES 0x20000u |
Peripheral size for ram device on sram_ctrl_main in top earlgrey. More... | |
#define | TOP_EARLGREY_ROM_CTRL_REGS_BASE_ADDR 0x411E0000u |
Peripheral base address for regs device on rom_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_ROM_CTRL_REGS_SIZE_BYTES 0x80u |
Peripheral size for regs device on rom_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_ROM_CTRL_ROM_BASE_ADDR 0x8000u |
Peripheral base address for rom device on rom_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_ROM_CTRL_ROM_SIZE_BYTES 0x8000u |
Peripheral size for rom device on rom_ctrl in top earlgrey. More... | |
#define | TOP_EARLGREY_RV_CORE_IBEX_CFG_BASE_ADDR 0x411F0000u |
Peripheral base address for cfg device on rv_core_ibex in top earlgrey. More... | |
#define | TOP_EARLGREY_RV_CORE_IBEX_CFG_SIZE_BYTES 0x100u |
Peripheral size for cfg device on rv_core_ibex in top earlgrey. More... | |
#define | TOP_EARLGREY_RAM_RET_AON_BASE_ADDR 0x40600000u |
Memory base address for ram_ret_aon in top earlgrey. | |
#define | TOP_EARLGREY_RAM_RET_AON_SIZE_BYTES 0x1000u |
Memory size for ram_ret_aon in top earlgrey. | |
#define | TOP_EARLGREY_EFLASH_BASE_ADDR 0x20000000u |
Memory base address for eflash in top earlgrey. | |
#define | TOP_EARLGREY_EFLASH_SIZE_BYTES 0x100000u |
Memory size for eflash in top earlgrey. | |
#define | TOP_EARLGREY_RAM_MAIN_BASE_ADDR 0x10000000u |
Memory base address for ram_main in top earlgrey. | |
#define | TOP_EARLGREY_RAM_MAIN_SIZE_BYTES 0x20000u |
Memory size for ram_main in top earlgrey. | |
#define | TOP_EARLGREY_ROM_BASE_ADDR 0x8000u |
Memory base address for rom in top earlgrey. | |
#define | TOP_EARLGREY_ROM_SIZE_BYTES 0x8000u |
Memory size for rom in top earlgrey. | |
#define | PINMUX_MIO_PERIPH_INSEL_IDX_OFFSET 2 |
#define | NUM_MIO_PADS 47 |
#define | NUM_DIO_PADS 16 |
#define | PINMUX_PERIPH_OUTSEL_IDX_OFFSET 3 |
#define | TOP_EARLGREY_MMIO_BASE_ADDR 0x40000000u |
MMIO Region. More... | |
#define | TOP_EARLGREY_MMIO_SIZE_BYTES 0x10000000u |
Variables | |
const top_earlgrey_plic_peripheral_t | top_earlgrey_plic_interrupt_for_peripheral [186] |
PLIC Interrupt Source to Peripheral Map. More... | |
const top_earlgrey_alert_peripheral_t | top_earlgrey_alert_for_peripheral [65] |
Alert Handler Alert Source to Peripheral Map. More... | |
Top-specific Definitions.
This file contains preprocessor and type definitions for use within the device C/C++ codebase.
These definitions are for information that depends on the top-specific chip configuration, which includes:
Definition in file top_earlgrey.h.
#define TOP_EARLGREY_ADC_CTRL_AON_BASE_ADDR 0x40440000u |
Peripheral base address for adc_ctrl_aon in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 448 of file top_earlgrey.h.
#define TOP_EARLGREY_ADC_CTRL_AON_SIZE_BYTES 0x80u |
Peripheral size for adc_ctrl_aon in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_ADC_CTRL_AON_BASE_ADDR and TOP_EARLGREY_ADC_CTRL_AON_BASE_ADDR + TOP_EARLGREY_ADC_CTRL_AON_SIZE_BYTES
.
Definition at line 458 of file top_earlgrey.h.
#define TOP_EARLGREY_AES_BASE_ADDR 0x41100000u |
Peripheral base address for aes in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 718 of file top_earlgrey.h.
#define TOP_EARLGREY_AES_SIZE_BYTES 0x100u |
Peripheral size for aes in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_AES_BASE_ADDR and TOP_EARLGREY_AES_BASE_ADDR + TOP_EARLGREY_AES_SIZE_BYTES
.
Definition at line 728 of file top_earlgrey.h.
#define TOP_EARLGREY_ALERT_HANDLER_BASE_ADDR 0x40150000u |
Peripheral base address for alert_handler in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 304 of file top_earlgrey.h.
#define TOP_EARLGREY_ALERT_HANDLER_SIZE_BYTES 0x800u |
Peripheral size for alert_handler in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_ALERT_HANDLER_BASE_ADDR and TOP_EARLGREY_ALERT_HANDLER_BASE_ADDR + TOP_EARLGREY_ALERT_HANDLER_SIZE_BYTES
.
Definition at line 314 of file top_earlgrey.h.
#define TOP_EARLGREY_AON_TIMER_AON_BASE_ADDR 0x40470000u |
Peripheral base address for aon_timer_aon in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 502 of file top_earlgrey.h.
#define TOP_EARLGREY_AON_TIMER_AON_SIZE_BYTES 0x40u |
Peripheral size for aon_timer_aon in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_AON_TIMER_AON_BASE_ADDR and TOP_EARLGREY_AON_TIMER_AON_BASE_ADDR + TOP_EARLGREY_AON_TIMER_AON_SIZE_BYTES
.
Definition at line 512 of file top_earlgrey.h.
#define TOP_EARLGREY_AST_BASE_ADDR 0x40480000u |
Peripheral base address for ast in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 520 of file top_earlgrey.h.
#define TOP_EARLGREY_AST_SIZE_BYTES 0x400u |
Peripheral size for ast in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_AST_BASE_ADDR and TOP_EARLGREY_AST_BASE_ADDR + TOP_EARLGREY_AST_SIZE_BYTES
.
Definition at line 530 of file top_earlgrey.h.
#define TOP_EARLGREY_CLKMGR_AON_BASE_ADDR 0x40420000u |
Peripheral base address for clkmgr_aon in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 412 of file top_earlgrey.h.
#define TOP_EARLGREY_CLKMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for clkmgr_aon in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_CLKMGR_AON_BASE_ADDR and TOP_EARLGREY_CLKMGR_AON_BASE_ADDR + TOP_EARLGREY_CLKMGR_AON_SIZE_BYTES
.
Definition at line 422 of file top_earlgrey.h.
#define TOP_EARLGREY_CSRNG_BASE_ADDR 0x41150000u |
Peripheral base address for csrng in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 808 of file top_earlgrey.h.
#define TOP_EARLGREY_CSRNG_SIZE_BYTES 0x80u |
Peripheral size for csrng in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_CSRNG_BASE_ADDR and TOP_EARLGREY_CSRNG_BASE_ADDR + TOP_EARLGREY_CSRNG_SIZE_BYTES
.
Definition at line 818 of file top_earlgrey.h.
#define TOP_EARLGREY_EDN0_BASE_ADDR 0x41170000u |
Peripheral base address for edn0 in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 844 of file top_earlgrey.h.
#define TOP_EARLGREY_EDN0_SIZE_BYTES 0x80u |
Peripheral size for edn0 in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_EDN0_BASE_ADDR and TOP_EARLGREY_EDN0_BASE_ADDR + TOP_EARLGREY_EDN0_SIZE_BYTES
.
Definition at line 854 of file top_earlgrey.h.
#define TOP_EARLGREY_EDN1_BASE_ADDR 0x41180000u |
Peripheral base address for edn1 in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 862 of file top_earlgrey.h.
#define TOP_EARLGREY_EDN1_SIZE_BYTES 0x80u |
Peripheral size for edn1 in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_EDN1_BASE_ADDR and TOP_EARLGREY_EDN1_BASE_ADDR + TOP_EARLGREY_EDN1_SIZE_BYTES
.
Definition at line 872 of file top_earlgrey.h.
#define TOP_EARLGREY_ENTROPY_SRC_BASE_ADDR 0x41160000u |
Peripheral base address for entropy_src in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 826 of file top_earlgrey.h.
#define TOP_EARLGREY_ENTROPY_SRC_SIZE_BYTES 0x100u |
Peripheral size for entropy_src in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_ENTROPY_SRC_BASE_ADDR and TOP_EARLGREY_ENTROPY_SRC_BASE_ADDR + TOP_EARLGREY_ENTROPY_SRC_SIZE_BYTES
.
Definition at line 836 of file top_earlgrey.h.
#define TOP_EARLGREY_FLASH_CTRL_CORE_BASE_ADDR 0x41000000u |
Peripheral base address for core device on flash_ctrl in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 592 of file top_earlgrey.h.
#define TOP_EARLGREY_FLASH_CTRL_CORE_SIZE_BYTES 0x200u |
Peripheral size for core device on flash_ctrl in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_FLASH_CTRL_CORE_BASE_ADDR and TOP_EARLGREY_FLASH_CTRL_CORE_BASE_ADDR + TOP_EARLGREY_FLASH_CTRL_CORE_SIZE_BYTES
.
Definition at line 602 of file top_earlgrey.h.
#define TOP_EARLGREY_FLASH_CTRL_MEM_BASE_ADDR 0x20000000u |
Peripheral base address for mem device on flash_ctrl in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 628 of file top_earlgrey.h.
#define TOP_EARLGREY_FLASH_CTRL_MEM_SIZE_BYTES 0x100000u |
Peripheral size for mem device on flash_ctrl in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_FLASH_CTRL_MEM_BASE_ADDR and TOP_EARLGREY_FLASH_CTRL_MEM_BASE_ADDR + TOP_EARLGREY_FLASH_CTRL_MEM_SIZE_BYTES
.
Definition at line 638 of file top_earlgrey.h.
#define TOP_EARLGREY_FLASH_CTRL_PRIM_BASE_ADDR 0x41008000u |
Peripheral base address for prim device on flash_ctrl in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 610 of file top_earlgrey.h.
#define TOP_EARLGREY_FLASH_CTRL_PRIM_SIZE_BYTES 0x80u |
Peripheral size for prim device on flash_ctrl in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_FLASH_CTRL_PRIM_BASE_ADDR and TOP_EARLGREY_FLASH_CTRL_PRIM_BASE_ADDR + TOP_EARLGREY_FLASH_CTRL_PRIM_SIZE_BYTES
.
Definition at line 620 of file top_earlgrey.h.
#define TOP_EARLGREY_GPIO_BASE_ADDR 0x40040000u |
Peripheral base address for gpio in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 106 of file top_earlgrey.h.
#define TOP_EARLGREY_GPIO_SIZE_BYTES 0x80u |
Peripheral size for gpio in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_GPIO_BASE_ADDR and TOP_EARLGREY_GPIO_BASE_ADDR + TOP_EARLGREY_GPIO_SIZE_BYTES
.
Definition at line 116 of file top_earlgrey.h.
#define TOP_EARLGREY_HMAC_BASE_ADDR 0x41110000u |
Peripheral base address for hmac in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 736 of file top_earlgrey.h.
#define TOP_EARLGREY_HMAC_SIZE_BYTES 0x2000u |
Peripheral size for hmac in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_HMAC_BASE_ADDR and TOP_EARLGREY_HMAC_BASE_ADDR + TOP_EARLGREY_HMAC_SIZE_BYTES
.
Definition at line 746 of file top_earlgrey.h.
#define TOP_EARLGREY_I2C0_BASE_ADDR 0x40080000u |
Peripheral base address for i2c0 in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 142 of file top_earlgrey.h.
#define TOP_EARLGREY_I2C0_SIZE_BYTES 0x80u |
Peripheral size for i2c0 in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_I2C0_BASE_ADDR and TOP_EARLGREY_I2C0_BASE_ADDR + TOP_EARLGREY_I2C0_SIZE_BYTES
.
Definition at line 152 of file top_earlgrey.h.
#define TOP_EARLGREY_I2C1_BASE_ADDR 0x40090000u |
Peripheral base address for i2c1 in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 160 of file top_earlgrey.h.
#define TOP_EARLGREY_I2C1_SIZE_BYTES 0x80u |
Peripheral size for i2c1 in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_I2C1_BASE_ADDR and TOP_EARLGREY_I2C1_BASE_ADDR + TOP_EARLGREY_I2C1_SIZE_BYTES
.
Definition at line 170 of file top_earlgrey.h.
#define TOP_EARLGREY_I2C2_BASE_ADDR 0x400A0000u |
Peripheral base address for i2c2 in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 178 of file top_earlgrey.h.
#define TOP_EARLGREY_I2C2_SIZE_BYTES 0x80u |
Peripheral size for i2c2 in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_I2C2_BASE_ADDR and TOP_EARLGREY_I2C2_BASE_ADDR + TOP_EARLGREY_I2C2_SIZE_BYTES
.
Definition at line 188 of file top_earlgrey.h.
#define TOP_EARLGREY_KEYMGR_BASE_ADDR 0x41140000u |
Peripheral base address for keymgr in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 790 of file top_earlgrey.h.
#define TOP_EARLGREY_KEYMGR_SIZE_BYTES 0x100u |
Peripheral size for keymgr in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_KEYMGR_BASE_ADDR and TOP_EARLGREY_KEYMGR_BASE_ADDR + TOP_EARLGREY_KEYMGR_SIZE_BYTES
.
Definition at line 800 of file top_earlgrey.h.
#define TOP_EARLGREY_KMAC_BASE_ADDR 0x41120000u |
Peripheral base address for kmac in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 754 of file top_earlgrey.h.
#define TOP_EARLGREY_KMAC_SIZE_BYTES 0x1000u |
Peripheral size for kmac in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_KMAC_BASE_ADDR and TOP_EARLGREY_KMAC_BASE_ADDR + TOP_EARLGREY_KMAC_SIZE_BYTES
.
Definition at line 764 of file top_earlgrey.h.
#define TOP_EARLGREY_LC_CTRL_DMI_BASE_ADDR 0x0u |
Peripheral base address for dmi device on lc_ctrl in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 286 of file top_earlgrey.h.
#define TOP_EARLGREY_LC_CTRL_DMI_SIZE_BYTES 0x1000u |
Peripheral size for dmi device on lc_ctrl in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_LC_CTRL_DMI_BASE_ADDR and TOP_EARLGREY_LC_CTRL_DMI_BASE_ADDR + TOP_EARLGREY_LC_CTRL_DMI_SIZE_BYTES
.
Definition at line 296 of file top_earlgrey.h.
#define TOP_EARLGREY_LC_CTRL_REGS_BASE_ADDR 0x40140000u |
Peripheral base address for regs device on lc_ctrl in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 268 of file top_earlgrey.h.
#define TOP_EARLGREY_LC_CTRL_REGS_SIZE_BYTES 0x100u |
Peripheral size for regs device on lc_ctrl in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_LC_CTRL_REGS_BASE_ADDR and TOP_EARLGREY_LC_CTRL_REGS_BASE_ADDR + TOP_EARLGREY_LC_CTRL_REGS_SIZE_BYTES
.
Definition at line 278 of file top_earlgrey.h.
#define TOP_EARLGREY_MMIO_BASE_ADDR 0x40000000u |
MMIO Region.
MMIO region excludes any memory that is separate from the module configuration space, i.e. ROM, main SRAM, and flash are excluded but retention SRAM, spi_device memory, or usbdev memory are included.
Definition at line 1814 of file top_earlgrey.h.
#define TOP_EARLGREY_OTBN_BASE_ADDR 0x41130000u |
Peripheral base address for otbn in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 772 of file top_earlgrey.h.
#define TOP_EARLGREY_OTBN_SIZE_BYTES 0x10000u |
Peripheral size for otbn in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_OTBN_BASE_ADDR and TOP_EARLGREY_OTBN_BASE_ADDR + TOP_EARLGREY_OTBN_SIZE_BYTES
.
Definition at line 782 of file top_earlgrey.h.
#define TOP_EARLGREY_OTP_CTRL_CORE_BASE_ADDR 0x40130000u |
Peripheral base address for core device on otp_ctrl in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 232 of file top_earlgrey.h.
#define TOP_EARLGREY_OTP_CTRL_CORE_SIZE_BYTES 0x1000u |
Peripheral size for core device on otp_ctrl in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_OTP_CTRL_CORE_BASE_ADDR and TOP_EARLGREY_OTP_CTRL_CORE_BASE_ADDR + TOP_EARLGREY_OTP_CTRL_CORE_SIZE_BYTES
.
Definition at line 242 of file top_earlgrey.h.
#define TOP_EARLGREY_OTP_CTRL_PRIM_BASE_ADDR 0x40138000u |
Peripheral base address for prim device on otp_ctrl in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 250 of file top_earlgrey.h.
#define TOP_EARLGREY_OTP_CTRL_PRIM_SIZE_BYTES 0x20u |
Peripheral size for prim device on otp_ctrl in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_OTP_CTRL_PRIM_BASE_ADDR and TOP_EARLGREY_OTP_CTRL_PRIM_BASE_ADDR + TOP_EARLGREY_OTP_CTRL_PRIM_SIZE_BYTES
.
Definition at line 260 of file top_earlgrey.h.
#define TOP_EARLGREY_PATTGEN_BASE_ADDR 0x400E0000u |
Peripheral base address for pattgen in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 196 of file top_earlgrey.h.
#define TOP_EARLGREY_PATTGEN_SIZE_BYTES 0x40u |
Peripheral size for pattgen in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_PATTGEN_BASE_ADDR and TOP_EARLGREY_PATTGEN_BASE_ADDR + TOP_EARLGREY_PATTGEN_SIZE_BYTES
.
Definition at line 206 of file top_earlgrey.h.
#define TOP_EARLGREY_PINMUX_AON_BASE_ADDR 0x40460000u |
Peripheral base address for pinmux_aon in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 484 of file top_earlgrey.h.
#define TOP_EARLGREY_PINMUX_AON_SIZE_BYTES 0x1000u |
Peripheral size for pinmux_aon in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_PINMUX_AON_BASE_ADDR and TOP_EARLGREY_PINMUX_AON_BASE_ADDR + TOP_EARLGREY_PINMUX_AON_SIZE_BYTES
.
Definition at line 494 of file top_earlgrey.h.
#define TOP_EARLGREY_PWM_AON_BASE_ADDR 0x40450000u |
Peripheral base address for pwm_aon in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 466 of file top_earlgrey.h.
#define TOP_EARLGREY_PWM_AON_SIZE_BYTES 0x80u |
Peripheral size for pwm_aon in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_PWM_AON_BASE_ADDR and TOP_EARLGREY_PWM_AON_BASE_ADDR + TOP_EARLGREY_PWM_AON_SIZE_BYTES
.
Definition at line 476 of file top_earlgrey.h.
#define TOP_EARLGREY_PWRMGR_AON_BASE_ADDR 0x40400000u |
Peripheral base address for pwrmgr_aon in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 376 of file top_earlgrey.h.
#define TOP_EARLGREY_PWRMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for pwrmgr_aon in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_PWRMGR_AON_BASE_ADDR and TOP_EARLGREY_PWRMGR_AON_BASE_ADDR + TOP_EARLGREY_PWRMGR_AON_SIZE_BYTES
.
Definition at line 386 of file top_earlgrey.h.
#define TOP_EARLGREY_ROM_CTRL_REGS_BASE_ADDR 0x411E0000u |
Peripheral base address for regs device on rom_ctrl in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 916 of file top_earlgrey.h.
#define TOP_EARLGREY_ROM_CTRL_REGS_SIZE_BYTES 0x80u |
Peripheral size for regs device on rom_ctrl in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_ROM_CTRL_REGS_BASE_ADDR and TOP_EARLGREY_ROM_CTRL_REGS_BASE_ADDR + TOP_EARLGREY_ROM_CTRL_REGS_SIZE_BYTES
.
Definition at line 926 of file top_earlgrey.h.
#define TOP_EARLGREY_ROM_CTRL_ROM_BASE_ADDR 0x8000u |
Peripheral base address for rom device on rom_ctrl in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 934 of file top_earlgrey.h.
#define TOP_EARLGREY_ROM_CTRL_ROM_SIZE_BYTES 0x8000u |
Peripheral size for rom device on rom_ctrl in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_ROM_CTRL_ROM_BASE_ADDR and TOP_EARLGREY_ROM_CTRL_ROM_BASE_ADDR + TOP_EARLGREY_ROM_CTRL_ROM_SIZE_BYTES
.
Definition at line 944 of file top_earlgrey.h.
#define TOP_EARLGREY_RSTMGR_AON_BASE_ADDR 0x40410000u |
Peripheral base address for rstmgr_aon in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 394 of file top_earlgrey.h.
#define TOP_EARLGREY_RSTMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for rstmgr_aon in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_RSTMGR_AON_BASE_ADDR and TOP_EARLGREY_RSTMGR_AON_BASE_ADDR + TOP_EARLGREY_RSTMGR_AON_SIZE_BYTES
.
Definition at line 404 of file top_earlgrey.h.
#define TOP_EARLGREY_RV_CORE_IBEX_CFG_BASE_ADDR 0x411F0000u |
Peripheral base address for cfg device on rv_core_ibex in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 952 of file top_earlgrey.h.
#define TOP_EARLGREY_RV_CORE_IBEX_CFG_SIZE_BYTES 0x100u |
Peripheral size for cfg device on rv_core_ibex in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_RV_CORE_IBEX_CFG_BASE_ADDR and TOP_EARLGREY_RV_CORE_IBEX_CFG_BASE_ADDR + TOP_EARLGREY_RV_CORE_IBEX_CFG_SIZE_BYTES
.
Definition at line 962 of file top_earlgrey.h.
#define TOP_EARLGREY_RV_DM_DBG_BASE_ADDR 0x1000u |
Peripheral base address for dbg device on rv_dm in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 682 of file top_earlgrey.h.
#define TOP_EARLGREY_RV_DM_DBG_SIZE_BYTES 0x200u |
Peripheral size for dbg device on rv_dm in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_RV_DM_DBG_BASE_ADDR and TOP_EARLGREY_RV_DM_DBG_BASE_ADDR + TOP_EARLGREY_RV_DM_DBG_SIZE_BYTES
.
Definition at line 692 of file top_earlgrey.h.
#define TOP_EARLGREY_RV_DM_MEM_BASE_ADDR 0x10000u |
Peripheral base address for mem device on rv_dm in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 664 of file top_earlgrey.h.
#define TOP_EARLGREY_RV_DM_MEM_SIZE_BYTES 0x1000u |
Peripheral size for mem device on rv_dm in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_RV_DM_MEM_BASE_ADDR and TOP_EARLGREY_RV_DM_MEM_BASE_ADDR + TOP_EARLGREY_RV_DM_MEM_SIZE_BYTES
.
Definition at line 674 of file top_earlgrey.h.
#define TOP_EARLGREY_RV_DM_REGS_BASE_ADDR 0x41200000u |
Peripheral base address for regs device on rv_dm in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 646 of file top_earlgrey.h.
#define TOP_EARLGREY_RV_DM_REGS_SIZE_BYTES 0x10u |
Peripheral size for regs device on rv_dm in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_RV_DM_REGS_BASE_ADDR and TOP_EARLGREY_RV_DM_REGS_BASE_ADDR + TOP_EARLGREY_RV_DM_REGS_SIZE_BYTES
.
Definition at line 656 of file top_earlgrey.h.
#define TOP_EARLGREY_RV_PLIC_BASE_ADDR 0x48000000u |
Peripheral base address for rv_plic in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 700 of file top_earlgrey.h.
#define TOP_EARLGREY_RV_PLIC_SIZE_BYTES 0x8000000u |
Peripheral size for rv_plic in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_RV_PLIC_BASE_ADDR and TOP_EARLGREY_RV_PLIC_BASE_ADDR + TOP_EARLGREY_RV_PLIC_SIZE_BYTES
.
Definition at line 710 of file top_earlgrey.h.
#define TOP_EARLGREY_RV_TIMER_BASE_ADDR 0x40100000u |
Peripheral base address for rv_timer in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 214 of file top_earlgrey.h.
#define TOP_EARLGREY_RV_TIMER_SIZE_BYTES 0x200u |
Peripheral size for rv_timer in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_RV_TIMER_BASE_ADDR and TOP_EARLGREY_RV_TIMER_BASE_ADDR + TOP_EARLGREY_RV_TIMER_SIZE_BYTES
.
Definition at line 224 of file top_earlgrey.h.
#define TOP_EARLGREY_SENSOR_CTRL_AON_BASE_ADDR 0x40490000u |
Peripheral base address for sensor_ctrl_aon in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 538 of file top_earlgrey.h.
#define TOP_EARLGREY_SENSOR_CTRL_AON_SIZE_BYTES 0x80u |
Peripheral size for sensor_ctrl_aon in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_SENSOR_CTRL_AON_BASE_ADDR and TOP_EARLGREY_SENSOR_CTRL_AON_BASE_ADDR + TOP_EARLGREY_SENSOR_CTRL_AON_SIZE_BYTES
.
Definition at line 548 of file top_earlgrey.h.
#define TOP_EARLGREY_SPI_DEVICE_BASE_ADDR 0x40050000u |
Peripheral base address for spi_device in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 124 of file top_earlgrey.h.
#define TOP_EARLGREY_SPI_DEVICE_SIZE_BYTES 0x2000u |
Peripheral size for spi_device in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_SPI_DEVICE_BASE_ADDR and TOP_EARLGREY_SPI_DEVICE_BASE_ADDR + TOP_EARLGREY_SPI_DEVICE_SIZE_BYTES
.
Definition at line 134 of file top_earlgrey.h.
#define TOP_EARLGREY_SPI_HOST0_BASE_ADDR 0x40300000u |
Peripheral base address for spi_host0 in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 322 of file top_earlgrey.h.
#define TOP_EARLGREY_SPI_HOST0_SIZE_BYTES 0x40u |
Peripheral size for spi_host0 in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_SPI_HOST0_BASE_ADDR and TOP_EARLGREY_SPI_HOST0_BASE_ADDR + TOP_EARLGREY_SPI_HOST0_SIZE_BYTES
.
Definition at line 332 of file top_earlgrey.h.
#define TOP_EARLGREY_SPI_HOST1_BASE_ADDR 0x40310000u |
Peripheral base address for spi_host1 in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 340 of file top_earlgrey.h.
#define TOP_EARLGREY_SPI_HOST1_SIZE_BYTES 0x40u |
Peripheral size for spi_host1 in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_SPI_HOST1_BASE_ADDR and TOP_EARLGREY_SPI_HOST1_BASE_ADDR + TOP_EARLGREY_SPI_HOST1_SIZE_BYTES
.
Definition at line 350 of file top_earlgrey.h.
#define TOP_EARLGREY_SRAM_CTRL_MAIN_RAM_BASE_ADDR 0x10000000u |
Peripheral base address for ram device on sram_ctrl_main in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 898 of file top_earlgrey.h.
#define TOP_EARLGREY_SRAM_CTRL_MAIN_RAM_SIZE_BYTES 0x20000u |
Peripheral size for ram device on sram_ctrl_main in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_SRAM_CTRL_MAIN_RAM_BASE_ADDR and TOP_EARLGREY_SRAM_CTRL_MAIN_RAM_BASE_ADDR + TOP_EARLGREY_SRAM_CTRL_MAIN_RAM_SIZE_BYTES
.
Definition at line 908 of file top_earlgrey.h.
#define TOP_EARLGREY_SRAM_CTRL_MAIN_REGS_BASE_ADDR 0x411C0000u |
Peripheral base address for regs device on sram_ctrl_main in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 880 of file top_earlgrey.h.
#define TOP_EARLGREY_SRAM_CTRL_MAIN_REGS_SIZE_BYTES 0x40u |
Peripheral size for regs device on sram_ctrl_main in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_SRAM_CTRL_MAIN_REGS_BASE_ADDR and TOP_EARLGREY_SRAM_CTRL_MAIN_REGS_BASE_ADDR + TOP_EARLGREY_SRAM_CTRL_MAIN_REGS_SIZE_BYTES
.
Definition at line 890 of file top_earlgrey.h.
#define TOP_EARLGREY_SRAM_CTRL_RET_AON_RAM_BASE_ADDR 0x40600000u |
Peripheral base address for ram device on sram_ctrl_ret_aon in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 574 of file top_earlgrey.h.
#define TOP_EARLGREY_SRAM_CTRL_RET_AON_RAM_SIZE_BYTES 0x1000u |
Peripheral size for ram device on sram_ctrl_ret_aon in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_SRAM_CTRL_RET_AON_RAM_BASE_ADDR and TOP_EARLGREY_SRAM_CTRL_RET_AON_RAM_BASE_ADDR + TOP_EARLGREY_SRAM_CTRL_RET_AON_RAM_SIZE_BYTES
.
Definition at line 584 of file top_earlgrey.h.
#define TOP_EARLGREY_SRAM_CTRL_RET_AON_REGS_BASE_ADDR 0x40500000u |
Peripheral base address for regs device on sram_ctrl_ret_aon in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 556 of file top_earlgrey.h.
#define TOP_EARLGREY_SRAM_CTRL_RET_AON_REGS_SIZE_BYTES 0x40u |
Peripheral size for regs device on sram_ctrl_ret_aon in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_SRAM_CTRL_RET_AON_REGS_BASE_ADDR and TOP_EARLGREY_SRAM_CTRL_RET_AON_REGS_BASE_ADDR + TOP_EARLGREY_SRAM_CTRL_RET_AON_REGS_SIZE_BYTES
.
Definition at line 566 of file top_earlgrey.h.
#define TOP_EARLGREY_SYSRST_CTRL_AON_BASE_ADDR 0x40430000u |
Peripheral base address for sysrst_ctrl_aon in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 430 of file top_earlgrey.h.
#define TOP_EARLGREY_SYSRST_CTRL_AON_SIZE_BYTES 0x100u |
Peripheral size for sysrst_ctrl_aon in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_SYSRST_CTRL_AON_BASE_ADDR and TOP_EARLGREY_SYSRST_CTRL_AON_BASE_ADDR + TOP_EARLGREY_SYSRST_CTRL_AON_SIZE_BYTES
.
Definition at line 440 of file top_earlgrey.h.
#define TOP_EARLGREY_UART0_BASE_ADDR 0x40000000u |
Peripheral base address for uart0 in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 34 of file top_earlgrey.h.
#define TOP_EARLGREY_UART0_SIZE_BYTES 0x40u |
Peripheral size for uart0 in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_UART0_BASE_ADDR and TOP_EARLGREY_UART0_BASE_ADDR + TOP_EARLGREY_UART0_SIZE_BYTES
.
Definition at line 44 of file top_earlgrey.h.
#define TOP_EARLGREY_UART1_BASE_ADDR 0x40010000u |
Peripheral base address for uart1 in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 52 of file top_earlgrey.h.
#define TOP_EARLGREY_UART1_SIZE_BYTES 0x40u |
Peripheral size for uart1 in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_UART1_BASE_ADDR and TOP_EARLGREY_UART1_BASE_ADDR + TOP_EARLGREY_UART1_SIZE_BYTES
.
Definition at line 62 of file top_earlgrey.h.
#define TOP_EARLGREY_UART2_BASE_ADDR 0x40020000u |
Peripheral base address for uart2 in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 70 of file top_earlgrey.h.
#define TOP_EARLGREY_UART2_SIZE_BYTES 0x40u |
Peripheral size for uart2 in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_UART2_BASE_ADDR and TOP_EARLGREY_UART2_BASE_ADDR + TOP_EARLGREY_UART2_SIZE_BYTES
.
Definition at line 80 of file top_earlgrey.h.
#define TOP_EARLGREY_UART3_BASE_ADDR 0x40030000u |
Peripheral base address for uart3 in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 88 of file top_earlgrey.h.
#define TOP_EARLGREY_UART3_SIZE_BYTES 0x40u |
Peripheral size for uart3 in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_UART3_BASE_ADDR and TOP_EARLGREY_UART3_BASE_ADDR + TOP_EARLGREY_UART3_SIZE_BYTES
.
Definition at line 98 of file top_earlgrey.h.
#define TOP_EARLGREY_USBDEV_BASE_ADDR 0x40320000u |
Peripheral base address for usbdev in top earlgrey.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 358 of file top_earlgrey.h.
#define TOP_EARLGREY_USBDEV_SIZE_BYTES 0x1000u |
Peripheral size for usbdev in top earlgrey.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_EARLGREY_USBDEV_BASE_ADDR and TOP_EARLGREY_USBDEV_BASE_ADDR + TOP_EARLGREY_USBDEV_SIZE_BYTES
.
Definition at line 368 of file top_earlgrey.h.
typedef enum top_earlgrey_alert_id top_earlgrey_alert_id_t |
Alert Handler Alert Source.
Enumeration of all Alert Handler Alert Sources. The alert sources belonging to the same peripheral are guaranteed to be consecutive.
Alert Handler Source Peripheral.
Enumeration used to determine which peripheral asserted the corresponding alert.
Clock Manager Software-Controlled ("Gated") Clocks.
The Software has full control over these clocks.
Clock Manager Software-Hinted Clocks.
The Software has partial control over these clocks. It can ask them to stop, but the clock manager is in control of whether the clock actually is stopped.
typedef enum top_earlgrey_plic_irq_id top_earlgrey_plic_irq_id_t |
PLIC Interrupt Source.
Enumeration of all PLIC interrupt sources. The interrupt sources belonging to the same peripheral are guaranteed to be consecutive.
PLIC Interrupt Source Peripheral.
Enumeration used to determine which peripheral asserted the corresponding interrupt.
typedef enum top_earlgrey_plic_target top_earlgrey_plic_target_t |
PLIC Interrupt Target.
Enumeration used to determine which set of IE, CC, threshold registers to access for a given interrupt target.
Alert Handler Alert Source.
Enumeration of all Alert Handler Alert Sources. The alert sources belonging to the same peripheral are guaranteed to be consecutive.
Definition at line 1320 of file top_earlgrey.h.
Alert Handler Source Peripheral.
Enumeration used to determine which peripheral asserted the corresponding alert.
Definition at line 1269 of file top_earlgrey.h.
Clock Manager Software-Controlled ("Gated") Clocks.
The Software has full control over these clocks.
Definition at line 1785 of file top_earlgrey.h.
Clock Manager Software-Hinted Clocks.
The Software has partial control over these clocks. It can ask them to stop, but the clock manager is in control of whether the clock actually is stopped.
Definition at line 1799 of file top_earlgrey.h.
Pinmux MIO Input Selector.
Definition at line 1474 of file top_earlgrey.h.
Pinmux MIO Output.
Definition at line 1530 of file top_earlgrey.h.
Pinmux Peripheral Output Selector.
Definition at line 1584 of file top_earlgrey.h.
Pinmux Peripheral Input.
Definition at line 1410 of file top_earlgrey.h.
PLIC Interrupt Source.
Enumeration of all PLIC interrupt sources. The interrupt sources belonging to the same peripheral are guaranteed to be consecutive.
Definition at line 1053 of file top_earlgrey.h.
PLIC Interrupt Source Peripheral.
Enumeration used to determine which peripheral asserted the corresponding interrupt.
Definition at line 1012 of file top_earlgrey.h.
PLIC Interrupt Target.
Enumeration used to determine which set of IE, CC, threshold registers to access for a given interrupt target.
Enumerator | |
---|---|
kTopEarlgreyPlicTargetIbex0 | Ibex Core 0. |
Definition at line 1258 of file top_earlgrey.h.
const top_earlgrey_alert_peripheral_t top_earlgrey_alert_for_peripheral[65] |
Alert Handler Alert Source to Peripheral Map.
This array is a mapping from top_earlgrey_alert_id_t
to top_earlgrey_alert_peripheral_t
.
Definition at line 211 of file top_earlgrey.c.
const top_earlgrey_plic_peripheral_t top_earlgrey_plic_interrupt_for_peripheral[186] |
PLIC Interrupt Source to Peripheral Map.
This array is a mapping from top_earlgrey_plic_irq_id_t
to top_earlgrey_plic_peripheral_t
.
Definition at line 14 of file top_earlgrey.c.