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 453 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 463 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 723 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 733 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 309 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 319 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 507 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 517 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 525 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 535 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 417 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 427 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 813 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 823 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 849 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 859 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 867 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 877 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 831 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 841 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 597 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 607 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 633 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 643 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 615 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 625 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 111 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 121 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 741 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 751 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 147 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 157 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 165 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 175 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 183 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 193 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 795 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 805 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 759 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 769 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 291 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 301 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 273 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 283 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 1819 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 777 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 787 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 237 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 247 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 255 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 265 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 201 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 211 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 489 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 499 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 471 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 481 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 381 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 391 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 921 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 931 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 939 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 949 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 399 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 409 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 957 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 967 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 687 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 697 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 669 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 679 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 651 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 661 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 705 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 715 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 219 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 229 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 543 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 553 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 129 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 139 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 327 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 337 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 345 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 355 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 903 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 913 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 885 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 895 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 579 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 589 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 561 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 571 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 435 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 445 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 39 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 49 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 57 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 67 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 75 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 85 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 93 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 103 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 363 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 373 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 1325 of file top_earlgrey.h.
Alert Handler Source Peripheral.
Enumeration used to determine which peripheral asserted the corresponding alert.
Definition at line 1274 of file top_earlgrey.h.
Clock Manager Software-Controlled ("Gated") Clocks.
The Software has full control over these clocks.
Definition at line 1790 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 1804 of file top_earlgrey.h.
Pinmux MIO Input Selector.
Definition at line 1479 of file top_earlgrey.h.
Pinmux MIO Output.
Definition at line 1535 of file top_earlgrey.h.
Pinmux Peripheral Output Selector.
Definition at line 1589 of file top_earlgrey.h.
Pinmux Peripheral Input.
Definition at line 1415 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 1058 of file top_earlgrey.h.
PLIC Interrupt Source Peripheral.
Enumeration used to determine which peripheral asserted the corresponding interrupt.
Definition at line 1017 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 1263 of file top_earlgrey.h.
|
extern |
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 19 of file top_earlgrey.c.
|
extern |
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 95 of file top_earlgrey.c.