|
Pavona Software APIs
|
Top-specific Definitions. More...
Go to the source code of this file.
Macros | |
| #define | TOP_DRAGONFLY_UART0_BASE_ADDR 0x30010000u |
| Peripheral base address for uart0 in top dragonfly. | |
| #define | TOP_DRAGONFLY_UART0_SIZE_BYTES 0x40u |
| Peripheral size for uart0 in top dragonfly. | |
| #define | TOP_DRAGONFLY_GPIO_BASE_ADDR 0x30000000u |
| Peripheral base address for gpio in top dragonfly. | |
| #define | TOP_DRAGONFLY_GPIO_SIZE_BYTES 0x100u |
| Peripheral size for gpio in top dragonfly. | |
| #define | TOP_DRAGONFLY_SPI_DEVICE_BASE_ADDR 0x30310000u |
| Peripheral base address for spi_device in top dragonfly. | |
| #define | TOP_DRAGONFLY_SPI_DEVICE_SIZE_BYTES 0x2000u |
| Peripheral size for spi_device in top dragonfly. | |
| #define | TOP_DRAGONFLY_I2C0_BASE_ADDR 0x30080000u |
| Peripheral base address for i2c0 in top dragonfly. | |
| #define | TOP_DRAGONFLY_I2C0_SIZE_BYTES 0x80u |
| Peripheral size for i2c0 in top dragonfly. | |
| #define | TOP_DRAGONFLY_RV_TIMER_BASE_ADDR 0x30100000u |
| Peripheral base address for rv_timer in top dragonfly. | |
| #define | TOP_DRAGONFLY_RV_TIMER_SIZE_BYTES 0x200u |
| Peripheral size for rv_timer in top dragonfly. | |
| #define | TOP_DRAGONFLY_OTP_CTRL_CORE_BASE_ADDR 0x30130000u |
| Peripheral base address for core device on otp_ctrl in top dragonfly. | |
| #define | TOP_DRAGONFLY_OTP_CTRL_CORE_SIZE_BYTES 0x10000u |
| Peripheral size for core device on otp_ctrl in top dragonfly. | |
| #define | TOP_DRAGONFLY_OTP_MACRO_PRIM_BASE_ADDR 0x30140000u |
| Peripheral base address for prim device on otp_macro in top dragonfly. | |
| #define | TOP_DRAGONFLY_OTP_MACRO_PRIM_SIZE_BYTES 0x20u |
| Peripheral size for prim device on otp_macro in top dragonfly. | |
| #define | TOP_DRAGONFLY_LC_CTRL_REGS_BASE_ADDR 0x30150000u |
| Peripheral base address for regs device on lc_ctrl in top dragonfly. | |
| #define | TOP_DRAGONFLY_LC_CTRL_REGS_SIZE_BYTES 0x100u |
| Peripheral size for regs device on lc_ctrl in top dragonfly. | |
| #define | TOP_DRAGONFLY_ALERT_HANDLER_BASE_ADDR 0x30160000u |
| Peripheral base address for alert_handler in top dragonfly. | |
| #define | TOP_DRAGONFLY_ALERT_HANDLER_SIZE_BYTES 0x800u |
| Peripheral size for alert_handler in top dragonfly. | |
| #define | TOP_DRAGONFLY_SPI_HOST0_BASE_ADDR 0x30300000u |
| Peripheral base address for spi_host0 in top dragonfly. | |
| #define | TOP_DRAGONFLY_SPI_HOST0_SIZE_BYTES 0x40u |
| Peripheral size for spi_host0 in top dragonfly. | |
| #define | TOP_DRAGONFLY_PWRMGR_AON_BASE_ADDR 0x30400000u |
| Peripheral base address for pwrmgr_aon in top dragonfly. | |
| #define | TOP_DRAGONFLY_PWRMGR_AON_SIZE_BYTES 0x80u |
| Peripheral size for pwrmgr_aon in top dragonfly. | |
| #define | TOP_DRAGONFLY_RSTMGR_AON_BASE_ADDR 0x30410000u |
| Peripheral base address for rstmgr_aon in top dragonfly. | |
| #define | TOP_DRAGONFLY_RSTMGR_AON_SIZE_BYTES 0x80u |
| Peripheral size for rstmgr_aon in top dragonfly. | |
| #define | TOP_DRAGONFLY_CLKMGR_AON_BASE_ADDR 0x30420000u |
| Peripheral base address for clkmgr_aon in top dragonfly. | |
| #define | TOP_DRAGONFLY_CLKMGR_AON_SIZE_BYTES 0x40u |
| Peripheral size for clkmgr_aon in top dragonfly. | |
| #define | TOP_DRAGONFLY_PINMUX_AON_BASE_ADDR 0x30460000u |
| Peripheral base address for pinmux_aon in top dragonfly. | |
| #define | TOP_DRAGONFLY_PINMUX_AON_SIZE_BYTES 0x800u |
| Peripheral size for pinmux_aon in top dragonfly. | |
| #define | TOP_DRAGONFLY_AON_TIMER_AON_BASE_ADDR 0x30470000u |
| Peripheral base address for aon_timer_aon in top dragonfly. | |
| #define | TOP_DRAGONFLY_AON_TIMER_AON_SIZE_BYTES 0x40u |
| Peripheral size for aon_timer_aon in top dragonfly. | |
| #define | TOP_DRAGONFLY_AST_BASE_ADDR 0x30480000u |
| Peripheral base address for ast in top dragonfly. | |
| #define | TOP_DRAGONFLY_AST_SIZE_BYTES 0x400u |
| Peripheral size for ast in top dragonfly. | |
| #define | TOP_DRAGONFLY_SOC_PROXY_CORE_BASE_ADDR 0x22030000u |
| Peripheral base address for core device on soc_proxy in top dragonfly. | |
| #define | TOP_DRAGONFLY_SOC_PROXY_CORE_SIZE_BYTES 0x8u |
| Peripheral size for core device on soc_proxy in top dragonfly. | |
| #define | TOP_DRAGONFLY_SRAM_CTRL_RET_AON_REGS_BASE_ADDR 0x30500000u |
| Peripheral base address for regs device on sram_ctrl_ret_aon in top dragonfly. | |
| #define | TOP_DRAGONFLY_SRAM_CTRL_RET_AON_REGS_SIZE_BYTES 0x40u |
| Peripheral size for regs device on sram_ctrl_ret_aon in top dragonfly. | |
| #define | TOP_DRAGONFLY_RV_DM_REGS_BASE_ADDR 0x21200000u |
| Peripheral base address for regs device on rv_dm in top dragonfly. | |
| #define | TOP_DRAGONFLY_RV_DM_REGS_SIZE_BYTES 0x10u |
| Peripheral size for regs device on rv_dm in top dragonfly. | |
| #define | TOP_DRAGONFLY_RV_DM_MEM_BASE_ADDR 0x40000u |
| Peripheral base address for mem device on rv_dm in top dragonfly. | |
| #define | TOP_DRAGONFLY_RV_DM_MEM_SIZE_BYTES 0x1000u |
| Peripheral size for mem device on rv_dm in top dragonfly. | |
| #define | TOP_DRAGONFLY_RV_PLIC_BASE_ADDR 0x28000000u |
| Peripheral base address for rv_plic in top dragonfly. | |
| #define | TOP_DRAGONFLY_RV_PLIC_SIZE_BYTES 0x8000000u |
| Peripheral size for rv_plic in top dragonfly. | |
| #define | TOP_DRAGONFLY_ACC_BASE_ADDR 0x22100000u |
| Peripheral base address for acc in top dragonfly. | |
| #define | TOP_DRAGONFLY_ACC_SIZE_BYTES 0x20000u |
| Peripheral size for acc in top dragonfly. | |
| #define | TOP_DRAGONFLY_AES_BASE_ADDR 0x21100000u |
| Peripheral base address for aes in top dragonfly. | |
| #define | TOP_DRAGONFLY_AES_SIZE_BYTES 0x100u |
| Peripheral size for aes in top dragonfly. | |
| #define | TOP_DRAGONFLY_HMAC_BASE_ADDR 0x21110000u |
| Peripheral base address for hmac in top dragonfly. | |
| #define | TOP_DRAGONFLY_HMAC_SIZE_BYTES 0x2000u |
| Peripheral size for hmac in top dragonfly. | |
| #define | TOP_DRAGONFLY_KMAC_BASE_ADDR 0x21120000u |
| Peripheral base address for kmac in top dragonfly. | |
| #define | TOP_DRAGONFLY_KMAC_SIZE_BYTES 0x1000u |
| Peripheral size for kmac in top dragonfly. | |
| #define | TOP_DRAGONFLY_KEYMGR_DPE_BASE_ADDR 0x21140000u |
| Peripheral base address for keymgr_dpe in top dragonfly. | |
| #define | TOP_DRAGONFLY_KEYMGR_DPE_SIZE_BYTES 0x100u |
| Peripheral size for keymgr_dpe in top dragonfly. | |
| #define | TOP_DRAGONFLY_CSRNG_BASE_ADDR 0x21150000u |
| Peripheral base address for csrng in top dragonfly. | |
| #define | TOP_DRAGONFLY_CSRNG_SIZE_BYTES 0x80u |
| Peripheral size for csrng in top dragonfly. | |
| #define | TOP_DRAGONFLY_ENTROPY_SRC_BASE_ADDR 0x21160000u |
| Peripheral base address for entropy_src in top dragonfly. | |
| #define | TOP_DRAGONFLY_ENTROPY_SRC_SIZE_BYTES 0x100u |
| Peripheral size for entropy_src in top dragonfly. | |
| #define | TOP_DRAGONFLY_EDN0_BASE_ADDR 0x21170000u |
| Peripheral base address for edn0 in top dragonfly. | |
| #define | TOP_DRAGONFLY_EDN0_SIZE_BYTES 0x80u |
| Peripheral size for edn0 in top dragonfly. | |
| #define | TOP_DRAGONFLY_EDN1_BASE_ADDR 0x21180000u |
| Peripheral base address for edn1 in top dragonfly. | |
| #define | TOP_DRAGONFLY_EDN1_SIZE_BYTES 0x80u |
| Peripheral size for edn1 in top dragonfly. | |
| #define | TOP_DRAGONFLY_SRAM_CTRL_MAIN_REGS_BASE_ADDR 0x211C0000u |
| Peripheral base address for regs device on sram_ctrl_main in top dragonfly. | |
| #define | TOP_DRAGONFLY_SRAM_CTRL_MAIN_REGS_SIZE_BYTES 0x40u |
| Peripheral size for regs device on sram_ctrl_main in top dragonfly. | |
| #define | TOP_DRAGONFLY_SRAM_CTRL_MBOX_REGS_BASE_ADDR 0x211D0000u |
| Peripheral base address for regs device on sram_ctrl_mbox in top dragonfly. | |
| #define | TOP_DRAGONFLY_SRAM_CTRL_MBOX_REGS_SIZE_BYTES 0x40u |
| Peripheral size for regs device on sram_ctrl_mbox in top dragonfly. | |
| #define | TOP_DRAGONFLY_ROM_CTRL0_REGS_BASE_ADDR 0x211E0000u |
| Peripheral base address for regs device on rom_ctrl0 in top dragonfly. | |
| #define | TOP_DRAGONFLY_ROM_CTRL0_REGS_SIZE_BYTES 0x80u |
| Peripheral size for regs device on rom_ctrl0 in top dragonfly. | |
| #define | TOP_DRAGONFLY_ROM_CTRL1_REGS_BASE_ADDR 0x211E1000u |
| Peripheral base address for regs device on rom_ctrl1 in top dragonfly. | |
| #define | TOP_DRAGONFLY_ROM_CTRL1_REGS_SIZE_BYTES 0x80u |
| Peripheral size for regs device on rom_ctrl1 in top dragonfly. | |
| #define | TOP_DRAGONFLY_DMA_BASE_ADDR 0x22010000u |
| Peripheral base address for dma in top dragonfly. | |
| #define | TOP_DRAGONFLY_DMA_SIZE_BYTES 0x200u |
| Peripheral size for dma in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX0_CORE_BASE_ADDR 0x22000000u |
| Peripheral base address for core device on mbx0 in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX0_CORE_SIZE_BYTES 0x80u |
| Peripheral size for core device on mbx0 in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX1_CORE_BASE_ADDR 0x22000100u |
| Peripheral base address for core device on mbx1 in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX1_CORE_SIZE_BYTES 0x80u |
| Peripheral size for core device on mbx1 in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX2_CORE_BASE_ADDR 0x22000200u |
| Peripheral base address for core device on mbx2 in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX2_CORE_SIZE_BYTES 0x80u |
| Peripheral size for core device on mbx2 in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX3_CORE_BASE_ADDR 0x22000300u |
| Peripheral base address for core device on mbx3 in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX3_CORE_SIZE_BYTES 0x80u |
| Peripheral size for core device on mbx3 in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX4_CORE_BASE_ADDR 0x22000400u |
| Peripheral base address for core device on mbx4 in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX4_CORE_SIZE_BYTES 0x80u |
| Peripheral size for core device on mbx4 in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX5_CORE_BASE_ADDR 0x22000500u |
| Peripheral base address for core device on mbx5 in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX5_CORE_SIZE_BYTES 0x80u |
| Peripheral size for core device on mbx5 in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX6_CORE_BASE_ADDR 0x22000600u |
| Peripheral base address for core device on mbx6 in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX6_CORE_SIZE_BYTES 0x80u |
| Peripheral size for core device on mbx6 in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX_JTAG_CORE_BASE_ADDR 0x22000800u |
| Peripheral base address for core device on mbx_jtag in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX_JTAG_CORE_SIZE_BYTES 0x80u |
| Peripheral size for core device on mbx_jtag in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX_PCIE0_CORE_BASE_ADDR 0x22040000u |
| Peripheral base address for core device on mbx_pcie0 in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX_PCIE0_CORE_SIZE_BYTES 0x80u |
| Peripheral size for core device on mbx_pcie0 in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX_PCIE1_CORE_BASE_ADDR 0x22040100u |
| Peripheral base address for core device on mbx_pcie1 in top dragonfly. | |
| #define | TOP_DRAGONFLY_MBX_PCIE1_CORE_SIZE_BYTES 0x80u |
| Peripheral size for core device on mbx_pcie1 in top dragonfly. | |
| #define | TOP_DRAGONFLY_SOC_DBG_CTRL_CORE_BASE_ADDR 0x30170000u |
| Peripheral base address for core device on soc_dbg_ctrl in top dragonfly. | |
| #define | TOP_DRAGONFLY_SOC_DBG_CTRL_CORE_SIZE_BYTES 0x20u |
| Peripheral size for core device on soc_dbg_ctrl in top dragonfly. | |
| #define | TOP_DRAGONFLY_RV_CORE_IBEX_CFG_BASE_ADDR 0x211F0000u |
| Peripheral base address for cfg device on rv_core_ibex in top dragonfly. | |
| #define | TOP_DRAGONFLY_RV_CORE_IBEX_CFG_SIZE_BYTES 0x800u |
| Peripheral size for cfg device on rv_core_ibex in top dragonfly. | |
| #define | TOP_DRAGONFLY_SOC_PROXY_CTN_BASE_ADDR 0x40000000u |
| Memory base address for ctn memory on soc_proxy in top dragonfly. | |
| #define | TOP_DRAGONFLY_SOC_PROXY_CTN_SIZE_BYTES 0x80000000u |
| Memory size for ctn memory on soc_proxy in top dragonfly. | |
| #define | TOP_DRAGONFLY_SOC_PROXY_RAM_CTN_BASE_ADDR 0x41000000u |
| Memory base address for ram_ctn in top dragonfly. | |
| #define | TOP_DRAGONFLY_SOC_PROXY_RAM_CTN_SIZE_BYTES 0x100000u |
| Memory size for ram_ctn in top dragonfly. | |
| #define | TOP_DRAGONFLY_SRAM_CTRL_RET_AON_RAM_BASE_ADDR 0x30600000u |
| Memory base address for ram memory on sram_ctrl_ret_aon in top dragonfly. | |
| #define | TOP_DRAGONFLY_SRAM_CTRL_RET_AON_RAM_SIZE_BYTES 0x1000u |
| Memory size for ram memory on sram_ctrl_ret_aon in top dragonfly. | |
| #define | TOP_DRAGONFLY_SRAM_CTRL_MAIN_RAM_BASE_ADDR 0x10000000u |
| Memory base address for ram memory on sram_ctrl_main in top dragonfly. | |
| #define | TOP_DRAGONFLY_SRAM_CTRL_MAIN_RAM_SIZE_BYTES 0x10000u |
| Memory size for ram memory on sram_ctrl_main in top dragonfly. | |
| #define | TOP_DRAGONFLY_SRAM_CTRL_MBOX_RAM_BASE_ADDR 0x11000000u |
| Memory base address for ram memory on sram_ctrl_mbox in top dragonfly. | |
| #define | TOP_DRAGONFLY_SRAM_CTRL_MBOX_RAM_SIZE_BYTES 0x1000u |
| Memory size for ram memory on sram_ctrl_mbox in top dragonfly. | |
| #define | TOP_DRAGONFLY_ROM_CTRL0_ROM_BASE_ADDR 0x8000u |
| Memory base address for rom memory on rom_ctrl0 in top dragonfly. | |
| #define | TOP_DRAGONFLY_ROM_CTRL0_ROM_SIZE_BYTES 0x8000u |
| Memory size for rom memory on rom_ctrl0 in top dragonfly. | |
| #define | TOP_DRAGONFLY_ROM_CTRL1_ROM_BASE_ADDR 0x20000u |
| Memory base address for rom memory on rom_ctrl1 in top dragonfly. | |
| #define | TOP_DRAGONFLY_ROM_CTRL1_ROM_SIZE_BYTES 0x10000u |
| Memory size for rom memory on rom_ctrl1 in top dragonfly. | |
| #define | PINMUX_MIO_PERIPH_INSEL_IDX_OFFSET 2 |
| #define | NUM_MIO_PADS 12 |
| #define | NUM_DIO_PADS 73 |
| #define | PINMUX_PERIPH_OUTSEL_IDX_OFFSET 3 |
| #define | TOP_DRAGONFLY_MMIO_BASE_ADDR 0x21100000u |
| MMIO Region. | |
| #define | TOP_DRAGONFLY_MMIO_SIZE_BYTES 0xF501000u |
Typedefs | |
| typedef enum top_dragonfly_plic_peripheral | top_dragonfly_plic_peripheral_t |
| PLIC Interrupt Source Peripheral. | |
| typedef enum top_dragonfly_plic_irq_id | top_dragonfly_plic_irq_id_t |
| PLIC Interrupt Source. | |
| typedef enum top_dragonfly_plic_target | top_dragonfly_plic_target_t |
| PLIC Interrupt Target. | |
| typedef enum top_dragonfly_alert_peripheral | top_dragonfly_alert_peripheral_t |
| Alert Handler Source Peripheral. | |
| typedef enum top_dragonfly_alert_id | top_dragonfly_alert_id_t |
| Alert Handler Alert Source. | |
| typedef enum top_dragonfly_pinmux_peripheral_in | top_dragonfly_pinmux_peripheral_in_t |
| Pinmux Peripheral Input. | |
| typedef enum top_dragonfly_pinmux_insel | top_dragonfly_pinmux_insel_t |
| Pinmux MIO Input Selector. | |
| typedef enum top_dragonfly_pinmux_mio_out | top_dragonfly_pinmux_mio_out_t |
| Pinmux MIO Output. | |
| typedef enum top_dragonfly_pinmux_outsel | top_dragonfly_pinmux_outsel_t |
| Pinmux Peripheral Output Selector. | |
| typedef enum top_dragonfly_direct_pads | top_dragonfly_direct_pads_t |
| Dedicated Pad Selects. | |
| typedef enum top_dragonfly_muxed_pads | top_dragonfly_muxed_pads_t |
| Muxed Pad Selects. | |
| typedef enum top_dragonfly_power_manager_wake_ups | top_dragonfly_power_manager_wake_ups_t |
| Power Manager Wakeup Signals. | |
| typedef enum top_dragonfly_reset_manager_sw_resets | top_dragonfly_reset_manager_sw_resets_t |
| Reset Manager Software Controlled Resets. | |
| typedef enum top_dragonfly_power_manager_reset_requests | top_dragonfly_power_manager_reset_requests_t |
| Power Manager Reset Request Signals. | |
| typedef enum top_dragonfly_gateable_clocks | top_dragonfly_gateable_clocks_t |
| Clock Manager Software-Controlled ("Gated") Clocks. | |
| typedef enum top_dragonfly_hintable_clocks | top_dragonfly_hintable_clocks_t |
| Clock Manager Software-Hinted Clocks. | |
Variables | |
| const top_dragonfly_plic_peripheral_t | top_dragonfly_plic_interrupt_for_peripheral [132] |
| PLIC Interrupt Source to Peripheral Map. | |
| const top_dragonfly_alert_peripheral_t | top_dragonfly_alert_for_peripheral [77] |
| Alert Handler Alert Source to Peripheral Map. | |
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_dragonfly.h.
| #define NUM_DIO_PADS 73 |
Definition at line 1312 of file top_dragonfly.h.
| #define NUM_MIO_PADS 12 |
Definition at line 1311 of file top_dragonfly.h.
| #define PINMUX_MIO_PERIPH_INSEL_IDX_OFFSET 2 |
Definition at line 1307 of file top_dragonfly.h.
| #define PINMUX_PERIPH_OUTSEL_IDX_OFFSET 3 |
Definition at line 1314 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_ACC_BASE_ADDR 0x22100000u |
Peripheral base address for acc in top dragonfly.
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 416 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_ACC_SIZE_BYTES 0x20000u |
Peripheral size for acc in top dragonfly.
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_DRAGONFLY_ACC_BASE_ADDR and TOP_DRAGONFLY_ACC_BASE_ADDR + TOP_DRAGONFLY_ACC_SIZE_BYTES.
Definition at line 426 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_AES_BASE_ADDR 0x21100000u |
Peripheral base address for aes in top dragonfly.
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 434 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_AES_SIZE_BYTES 0x100u |
Peripheral size for aes in top dragonfly.
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_DRAGONFLY_AES_BASE_ADDR and TOP_DRAGONFLY_AES_BASE_ADDR + TOP_DRAGONFLY_AES_SIZE_BYTES.
Definition at line 444 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_ALERT_HANDLER_BASE_ADDR 0x30160000u |
Peripheral base address for alert_handler in top dragonfly.
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 182 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_ALERT_HANDLER_SIZE_BYTES 0x800u |
Peripheral size for alert_handler in top dragonfly.
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_DRAGONFLY_ALERT_HANDLER_BASE_ADDR and TOP_DRAGONFLY_ALERT_HANDLER_BASE_ADDR + TOP_DRAGONFLY_ALERT_HANDLER_SIZE_BYTES.
Definition at line 192 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_AON_TIMER_AON_BASE_ADDR 0x30470000u |
Peripheral base address for aon_timer_aon in top dragonfly.
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 290 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_AON_TIMER_AON_SIZE_BYTES 0x40u |
Peripheral size for aon_timer_aon in top dragonfly.
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_DRAGONFLY_AON_TIMER_AON_BASE_ADDR and TOP_DRAGONFLY_AON_TIMER_AON_BASE_ADDR + TOP_DRAGONFLY_AON_TIMER_AON_SIZE_BYTES.
Definition at line 300 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_AST_BASE_ADDR 0x30480000u |
Peripheral base address for ast in top dragonfly.
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 308 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_AST_SIZE_BYTES 0x400u |
Peripheral size for ast in top dragonfly.
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_DRAGONFLY_AST_BASE_ADDR and TOP_DRAGONFLY_AST_BASE_ADDR + TOP_DRAGONFLY_AST_SIZE_BYTES.
Definition at line 318 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_CLKMGR_AON_BASE_ADDR 0x30420000u |
Peripheral base address for clkmgr_aon in top dragonfly.
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 254 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_CLKMGR_AON_SIZE_BYTES 0x40u |
Peripheral size for clkmgr_aon in top dragonfly.
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_DRAGONFLY_CLKMGR_AON_BASE_ADDR and TOP_DRAGONFLY_CLKMGR_AON_BASE_ADDR + TOP_DRAGONFLY_CLKMGR_AON_SIZE_BYTES.
Definition at line 264 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_CSRNG_BASE_ADDR 0x21150000u |
Peripheral base address for csrng in top dragonfly.
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 506 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_CSRNG_SIZE_BYTES 0x80u |
Peripheral size for csrng in top dragonfly.
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_DRAGONFLY_CSRNG_BASE_ADDR and TOP_DRAGONFLY_CSRNG_BASE_ADDR + TOP_DRAGONFLY_CSRNG_SIZE_BYTES.
Definition at line 516 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_DMA_BASE_ADDR 0x22010000u |
Peripheral base address for dma in top dragonfly.
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 650 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_DMA_SIZE_BYTES 0x200u |
Peripheral size for dma in top dragonfly.
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_DRAGONFLY_DMA_BASE_ADDR and TOP_DRAGONFLY_DMA_BASE_ADDR + TOP_DRAGONFLY_DMA_SIZE_BYTES.
Definition at line 660 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_EDN0_BASE_ADDR 0x21170000u |
Peripheral base address for edn0 in top dragonfly.
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 542 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_EDN0_SIZE_BYTES 0x80u |
Peripheral size for edn0 in top dragonfly.
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_DRAGONFLY_EDN0_BASE_ADDR and TOP_DRAGONFLY_EDN0_BASE_ADDR + TOP_DRAGONFLY_EDN0_SIZE_BYTES.
Definition at line 552 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_EDN1_BASE_ADDR 0x21180000u |
Peripheral base address for edn1 in top dragonfly.
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 560 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_EDN1_SIZE_BYTES 0x80u |
Peripheral size for edn1 in top dragonfly.
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_DRAGONFLY_EDN1_BASE_ADDR and TOP_DRAGONFLY_EDN1_BASE_ADDR + TOP_DRAGONFLY_EDN1_SIZE_BYTES.
Definition at line 570 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_ENTROPY_SRC_BASE_ADDR 0x21160000u |
Peripheral base address for entropy_src in top dragonfly.
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 524 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_ENTROPY_SRC_SIZE_BYTES 0x100u |
Peripheral size for entropy_src in top dragonfly.
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_DRAGONFLY_ENTROPY_SRC_BASE_ADDR and TOP_DRAGONFLY_ENTROPY_SRC_BASE_ADDR + TOP_DRAGONFLY_ENTROPY_SRC_SIZE_BYTES.
Definition at line 534 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_GPIO_BASE_ADDR 0x30000000u |
Peripheral base address for gpio in top dragonfly.
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 56 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_GPIO_SIZE_BYTES 0x100u |
Peripheral size for gpio in top dragonfly.
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_DRAGONFLY_GPIO_BASE_ADDR and TOP_DRAGONFLY_GPIO_BASE_ADDR + TOP_DRAGONFLY_GPIO_SIZE_BYTES.
Definition at line 66 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_HMAC_BASE_ADDR 0x21110000u |
Peripheral base address for hmac in top dragonfly.
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 452 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_HMAC_SIZE_BYTES 0x2000u |
Peripheral size for hmac in top dragonfly.
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_DRAGONFLY_HMAC_BASE_ADDR and TOP_DRAGONFLY_HMAC_BASE_ADDR + TOP_DRAGONFLY_HMAC_SIZE_BYTES.
Definition at line 462 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_I2C0_BASE_ADDR 0x30080000u |
Peripheral base address for i2c0 in top dragonfly.
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 92 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_I2C0_SIZE_BYTES 0x80u |
Peripheral size for i2c0 in top dragonfly.
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_DRAGONFLY_I2C0_BASE_ADDR and TOP_DRAGONFLY_I2C0_BASE_ADDR + TOP_DRAGONFLY_I2C0_SIZE_BYTES.
Definition at line 102 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_KEYMGR_DPE_BASE_ADDR 0x21140000u |
Peripheral base address for keymgr_dpe in top dragonfly.
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 488 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_KEYMGR_DPE_SIZE_BYTES 0x100u |
Peripheral size for keymgr_dpe in top dragonfly.
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_DRAGONFLY_KEYMGR_DPE_BASE_ADDR and TOP_DRAGONFLY_KEYMGR_DPE_BASE_ADDR + TOP_DRAGONFLY_KEYMGR_DPE_SIZE_BYTES.
Definition at line 498 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_KMAC_BASE_ADDR 0x21120000u |
Peripheral base address for kmac in top dragonfly.
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 470 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_KMAC_SIZE_BYTES 0x1000u |
Peripheral size for kmac in top dragonfly.
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_DRAGONFLY_KMAC_BASE_ADDR and TOP_DRAGONFLY_KMAC_BASE_ADDR + TOP_DRAGONFLY_KMAC_SIZE_BYTES.
Definition at line 480 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_LC_CTRL_REGS_BASE_ADDR 0x30150000u |
Peripheral base address for regs device on lc_ctrl in top dragonfly.
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 164 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_LC_CTRL_REGS_SIZE_BYTES 0x100u |
Peripheral size for regs device on lc_ctrl in top dragonfly.
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_DRAGONFLY_LC_CTRL_REGS_BASE_ADDR and TOP_DRAGONFLY_LC_CTRL_REGS_BASE_ADDR + TOP_DRAGONFLY_LC_CTRL_REGS_SIZE_BYTES.
Definition at line 174 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX0_CORE_BASE_ADDR 0x22000000u |
Peripheral base address for core device on mbx0 in top dragonfly.
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 668 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX0_CORE_SIZE_BYTES 0x80u |
Peripheral size for core device on mbx0 in top dragonfly.
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_DRAGONFLY_MBX0_CORE_BASE_ADDR and TOP_DRAGONFLY_MBX0_CORE_BASE_ADDR + TOP_DRAGONFLY_MBX0_CORE_SIZE_BYTES.
Definition at line 678 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX1_CORE_BASE_ADDR 0x22000100u |
Peripheral base address for core device on mbx1 in top dragonfly.
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 686 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX1_CORE_SIZE_BYTES 0x80u |
Peripheral size for core device on mbx1 in top dragonfly.
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_DRAGONFLY_MBX1_CORE_BASE_ADDR and TOP_DRAGONFLY_MBX1_CORE_BASE_ADDR + TOP_DRAGONFLY_MBX1_CORE_SIZE_BYTES.
Definition at line 696 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX2_CORE_BASE_ADDR 0x22000200u |
Peripheral base address for core device on mbx2 in top dragonfly.
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 704 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX2_CORE_SIZE_BYTES 0x80u |
Peripheral size for core device on mbx2 in top dragonfly.
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_DRAGONFLY_MBX2_CORE_BASE_ADDR and TOP_DRAGONFLY_MBX2_CORE_BASE_ADDR + TOP_DRAGONFLY_MBX2_CORE_SIZE_BYTES.
Definition at line 714 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX3_CORE_BASE_ADDR 0x22000300u |
Peripheral base address for core device on mbx3 in top dragonfly.
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 722 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX3_CORE_SIZE_BYTES 0x80u |
Peripheral size for core device on mbx3 in top dragonfly.
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_DRAGONFLY_MBX3_CORE_BASE_ADDR and TOP_DRAGONFLY_MBX3_CORE_BASE_ADDR + TOP_DRAGONFLY_MBX3_CORE_SIZE_BYTES.
Definition at line 732 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX4_CORE_BASE_ADDR 0x22000400u |
Peripheral base address for core device on mbx4 in top dragonfly.
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 740 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX4_CORE_SIZE_BYTES 0x80u |
Peripheral size for core device on mbx4 in top dragonfly.
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_DRAGONFLY_MBX4_CORE_BASE_ADDR and TOP_DRAGONFLY_MBX4_CORE_BASE_ADDR + TOP_DRAGONFLY_MBX4_CORE_SIZE_BYTES.
Definition at line 750 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX5_CORE_BASE_ADDR 0x22000500u |
Peripheral base address for core device on mbx5 in top dragonfly.
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 758 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX5_CORE_SIZE_BYTES 0x80u |
Peripheral size for core device on mbx5 in top dragonfly.
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_DRAGONFLY_MBX5_CORE_BASE_ADDR and TOP_DRAGONFLY_MBX5_CORE_BASE_ADDR + TOP_DRAGONFLY_MBX5_CORE_SIZE_BYTES.
Definition at line 768 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX6_CORE_BASE_ADDR 0x22000600u |
Peripheral base address for core device on mbx6 in top dragonfly.
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 776 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX6_CORE_SIZE_BYTES 0x80u |
Peripheral size for core device on mbx6 in top dragonfly.
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_DRAGONFLY_MBX6_CORE_BASE_ADDR and TOP_DRAGONFLY_MBX6_CORE_BASE_ADDR + TOP_DRAGONFLY_MBX6_CORE_SIZE_BYTES.
Definition at line 786 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX_JTAG_CORE_BASE_ADDR 0x22000800u |
Peripheral base address for core device on mbx_jtag in top dragonfly.
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 794 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX_JTAG_CORE_SIZE_BYTES 0x80u |
Peripheral size for core device on mbx_jtag in top dragonfly.
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_DRAGONFLY_MBX_JTAG_CORE_BASE_ADDR and TOP_DRAGONFLY_MBX_JTAG_CORE_BASE_ADDR + TOP_DRAGONFLY_MBX_JTAG_CORE_SIZE_BYTES.
Definition at line 804 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX_PCIE0_CORE_BASE_ADDR 0x22040000u |
Peripheral base address for core device on mbx_pcie0 in top dragonfly.
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 812 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX_PCIE0_CORE_SIZE_BYTES 0x80u |
Peripheral size for core device on mbx_pcie0 in top dragonfly.
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_DRAGONFLY_MBX_PCIE0_CORE_BASE_ADDR and TOP_DRAGONFLY_MBX_PCIE0_CORE_BASE_ADDR + TOP_DRAGONFLY_MBX_PCIE0_CORE_SIZE_BYTES.
Definition at line 822 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX_PCIE1_CORE_BASE_ADDR 0x22040100u |
Peripheral base address for core device on mbx_pcie1 in top dragonfly.
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 830 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MBX_PCIE1_CORE_SIZE_BYTES 0x80u |
Peripheral size for core device on mbx_pcie1 in top dragonfly.
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_DRAGONFLY_MBX_PCIE1_CORE_BASE_ADDR and TOP_DRAGONFLY_MBX_PCIE1_CORE_BASE_ADDR + TOP_DRAGONFLY_MBX_PCIE1_CORE_SIZE_BYTES.
Definition at line 840 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MMIO_BASE_ADDR 0x21100000u |
MMIO Region.
MMIO region excludes any memory that is separate from the module configuration space, i.e. ROM, main SRAM, and mbx SRAM are excluded but retention SRAM or spi_device are included.
Definition at line 1541 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_MMIO_SIZE_BYTES 0xF501000u |
Definition at line 1542 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_OTP_CTRL_CORE_BASE_ADDR 0x30130000u |
Peripheral base address for core device on otp_ctrl in top dragonfly.
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 128 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_OTP_CTRL_CORE_SIZE_BYTES 0x10000u |
Peripheral size for core device on otp_ctrl in top dragonfly.
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_DRAGONFLY_OTP_CTRL_CORE_BASE_ADDR and TOP_DRAGONFLY_OTP_CTRL_CORE_BASE_ADDR + TOP_DRAGONFLY_OTP_CTRL_CORE_SIZE_BYTES.
Definition at line 138 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_OTP_MACRO_PRIM_BASE_ADDR 0x30140000u |
Peripheral base address for prim device on otp_macro in top dragonfly.
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 146 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_OTP_MACRO_PRIM_SIZE_BYTES 0x20u |
Peripheral size for prim device on otp_macro in top dragonfly.
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_DRAGONFLY_OTP_MACRO_PRIM_BASE_ADDR and TOP_DRAGONFLY_OTP_MACRO_PRIM_BASE_ADDR + TOP_DRAGONFLY_OTP_MACRO_PRIM_SIZE_BYTES.
Definition at line 156 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_PINMUX_AON_BASE_ADDR 0x30460000u |
Peripheral base address for pinmux_aon in top dragonfly.
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 272 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_PINMUX_AON_SIZE_BYTES 0x800u |
Peripheral size for pinmux_aon in top dragonfly.
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_DRAGONFLY_PINMUX_AON_BASE_ADDR and TOP_DRAGONFLY_PINMUX_AON_BASE_ADDR + TOP_DRAGONFLY_PINMUX_AON_SIZE_BYTES.
Definition at line 282 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_PWRMGR_AON_BASE_ADDR 0x30400000u |
Peripheral base address for pwrmgr_aon in top dragonfly.
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 218 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_PWRMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for pwrmgr_aon in top dragonfly.
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_DRAGONFLY_PWRMGR_AON_BASE_ADDR and TOP_DRAGONFLY_PWRMGR_AON_BASE_ADDR + TOP_DRAGONFLY_PWRMGR_AON_SIZE_BYTES.
Definition at line 228 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_ROM_CTRL0_REGS_BASE_ADDR 0x211E0000u |
Peripheral base address for regs device on rom_ctrl0 in top dragonfly.
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 614 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_ROM_CTRL0_REGS_SIZE_BYTES 0x80u |
Peripheral size for regs device on rom_ctrl0 in top dragonfly.
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_DRAGONFLY_ROM_CTRL0_REGS_BASE_ADDR and TOP_DRAGONFLY_ROM_CTRL0_REGS_BASE_ADDR + TOP_DRAGONFLY_ROM_CTRL0_REGS_SIZE_BYTES.
Definition at line 624 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_ROM_CTRL0_ROM_BASE_ADDR 0x8000u |
Memory base address for rom memory on rom_ctrl0 in top dragonfly.
Definition at line 932 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_ROM_CTRL0_ROM_SIZE_BYTES 0x8000u |
Memory size for rom memory on rom_ctrl0 in top dragonfly.
Definition at line 937 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_ROM_CTRL1_REGS_BASE_ADDR 0x211E1000u |
Peripheral base address for regs device on rom_ctrl1 in top dragonfly.
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 632 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_ROM_CTRL1_REGS_SIZE_BYTES 0x80u |
Peripheral size for regs device on rom_ctrl1 in top dragonfly.
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_DRAGONFLY_ROM_CTRL1_REGS_BASE_ADDR and TOP_DRAGONFLY_ROM_CTRL1_REGS_BASE_ADDR + TOP_DRAGONFLY_ROM_CTRL1_REGS_SIZE_BYTES.
Definition at line 642 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_ROM_CTRL1_ROM_BASE_ADDR 0x20000u |
Memory base address for rom memory on rom_ctrl1 in top dragonfly.
Definition at line 942 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_ROM_CTRL1_ROM_SIZE_BYTES 0x10000u |
Memory size for rom memory on rom_ctrl1 in top dragonfly.
Definition at line 947 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_RSTMGR_AON_BASE_ADDR 0x30410000u |
Peripheral base address for rstmgr_aon in top dragonfly.
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 236 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_RSTMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for rstmgr_aon in top dragonfly.
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_DRAGONFLY_RSTMGR_AON_BASE_ADDR and TOP_DRAGONFLY_RSTMGR_AON_BASE_ADDR + TOP_DRAGONFLY_RSTMGR_AON_SIZE_BYTES.
Definition at line 246 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_RV_CORE_IBEX_CFG_BASE_ADDR 0x211F0000u |
Peripheral base address for cfg device on rv_core_ibex in top dragonfly.
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 866 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_RV_CORE_IBEX_CFG_SIZE_BYTES 0x800u |
Peripheral size for cfg device on rv_core_ibex in top dragonfly.
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_DRAGONFLY_RV_CORE_IBEX_CFG_BASE_ADDR and TOP_DRAGONFLY_RV_CORE_IBEX_CFG_BASE_ADDR + TOP_DRAGONFLY_RV_CORE_IBEX_CFG_SIZE_BYTES.
Definition at line 876 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_RV_DM_MEM_BASE_ADDR 0x40000u |
Peripheral base address for mem device on rv_dm in top dragonfly.
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 380 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_RV_DM_MEM_SIZE_BYTES 0x1000u |
Peripheral size for mem device on rv_dm in top dragonfly.
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_DRAGONFLY_RV_DM_MEM_BASE_ADDR and TOP_DRAGONFLY_RV_DM_MEM_BASE_ADDR + TOP_DRAGONFLY_RV_DM_MEM_SIZE_BYTES.
Definition at line 390 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_RV_DM_REGS_BASE_ADDR 0x21200000u |
Peripheral base address for regs device on rv_dm in top dragonfly.
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 362 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_RV_DM_REGS_SIZE_BYTES 0x10u |
Peripheral size for regs device on rv_dm in top dragonfly.
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_DRAGONFLY_RV_DM_REGS_BASE_ADDR and TOP_DRAGONFLY_RV_DM_REGS_BASE_ADDR + TOP_DRAGONFLY_RV_DM_REGS_SIZE_BYTES.
Definition at line 372 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_RV_PLIC_BASE_ADDR 0x28000000u |
Peripheral base address for rv_plic in top dragonfly.
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 398 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_RV_PLIC_SIZE_BYTES 0x8000000u |
Peripheral size for rv_plic in top dragonfly.
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_DRAGONFLY_RV_PLIC_BASE_ADDR and TOP_DRAGONFLY_RV_PLIC_BASE_ADDR + TOP_DRAGONFLY_RV_PLIC_SIZE_BYTES.
Definition at line 408 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_RV_TIMER_BASE_ADDR 0x30100000u |
Peripheral base address for rv_timer in top dragonfly.
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 110 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_RV_TIMER_SIZE_BYTES 0x200u |
Peripheral size for rv_timer in top dragonfly.
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_DRAGONFLY_RV_TIMER_BASE_ADDR and TOP_DRAGONFLY_RV_TIMER_BASE_ADDR + TOP_DRAGONFLY_RV_TIMER_SIZE_BYTES.
Definition at line 120 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SOC_DBG_CTRL_CORE_BASE_ADDR 0x30170000u |
Peripheral base address for core device on soc_dbg_ctrl in top dragonfly.
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 848 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SOC_DBG_CTRL_CORE_SIZE_BYTES 0x20u |
Peripheral size for core device on soc_dbg_ctrl in top dragonfly.
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_DRAGONFLY_SOC_DBG_CTRL_CORE_BASE_ADDR and TOP_DRAGONFLY_SOC_DBG_CTRL_CORE_BASE_ADDR + TOP_DRAGONFLY_SOC_DBG_CTRL_CORE_SIZE_BYTES.
Definition at line 858 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SOC_PROXY_CORE_BASE_ADDR 0x22030000u |
Peripheral base address for core device on soc_proxy in top dragonfly.
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 326 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SOC_PROXY_CORE_SIZE_BYTES 0x8u |
Peripheral size for core device on soc_proxy in top dragonfly.
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_DRAGONFLY_SOC_PROXY_CORE_BASE_ADDR and TOP_DRAGONFLY_SOC_PROXY_CORE_BASE_ADDR + TOP_DRAGONFLY_SOC_PROXY_CORE_SIZE_BYTES.
Definition at line 336 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SOC_PROXY_CTN_BASE_ADDR 0x40000000u |
Memory base address for ctn memory on soc_proxy in top dragonfly.
Definition at line 882 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SOC_PROXY_CTN_SIZE_BYTES 0x80000000u |
Memory size for ctn memory on soc_proxy in top dragonfly.
Definition at line 887 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SOC_PROXY_RAM_CTN_BASE_ADDR 0x41000000u |
Memory base address for ram_ctn in top dragonfly.
Definition at line 892 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SOC_PROXY_RAM_CTN_SIZE_BYTES 0x100000u |
Memory size for ram_ctn in top dragonfly.
Definition at line 897 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SPI_DEVICE_BASE_ADDR 0x30310000u |
Peripheral base address for spi_device in top dragonfly.
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 74 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SPI_DEVICE_SIZE_BYTES 0x2000u |
Peripheral size for spi_device in top dragonfly.
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_DRAGONFLY_SPI_DEVICE_BASE_ADDR and TOP_DRAGONFLY_SPI_DEVICE_BASE_ADDR + TOP_DRAGONFLY_SPI_DEVICE_SIZE_BYTES.
Definition at line 84 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SPI_HOST0_BASE_ADDR 0x30300000u |
Peripheral base address for spi_host0 in top dragonfly.
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 200 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SPI_HOST0_SIZE_BYTES 0x40u |
Peripheral size for spi_host0 in top dragonfly.
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_DRAGONFLY_SPI_HOST0_BASE_ADDR and TOP_DRAGONFLY_SPI_HOST0_BASE_ADDR + TOP_DRAGONFLY_SPI_HOST0_SIZE_BYTES.
Definition at line 210 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SRAM_CTRL_MAIN_RAM_BASE_ADDR 0x10000000u |
Memory base address for ram memory on sram_ctrl_main in top dragonfly.
Definition at line 912 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SRAM_CTRL_MAIN_RAM_SIZE_BYTES 0x10000u |
Memory size for ram memory on sram_ctrl_main in top dragonfly.
Definition at line 917 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SRAM_CTRL_MAIN_REGS_BASE_ADDR 0x211C0000u |
Peripheral base address for regs device on sram_ctrl_main in top dragonfly.
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 578 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SRAM_CTRL_MAIN_REGS_SIZE_BYTES 0x40u |
Peripheral size for regs device on sram_ctrl_main in top dragonfly.
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_DRAGONFLY_SRAM_CTRL_MAIN_REGS_BASE_ADDR and TOP_DRAGONFLY_SRAM_CTRL_MAIN_REGS_BASE_ADDR + TOP_DRAGONFLY_SRAM_CTRL_MAIN_REGS_SIZE_BYTES.
Definition at line 588 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SRAM_CTRL_MBOX_RAM_BASE_ADDR 0x11000000u |
Memory base address for ram memory on sram_ctrl_mbox in top dragonfly.
Definition at line 922 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SRAM_CTRL_MBOX_RAM_SIZE_BYTES 0x1000u |
Memory size for ram memory on sram_ctrl_mbox in top dragonfly.
Definition at line 927 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SRAM_CTRL_MBOX_REGS_BASE_ADDR 0x211D0000u |
Peripheral base address for regs device on sram_ctrl_mbox in top dragonfly.
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 596 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SRAM_CTRL_MBOX_REGS_SIZE_BYTES 0x40u |
Peripheral size for regs device on sram_ctrl_mbox in top dragonfly.
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_DRAGONFLY_SRAM_CTRL_MBOX_REGS_BASE_ADDR and TOP_DRAGONFLY_SRAM_CTRL_MBOX_REGS_BASE_ADDR + TOP_DRAGONFLY_SRAM_CTRL_MBOX_REGS_SIZE_BYTES.
Definition at line 606 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SRAM_CTRL_RET_AON_RAM_BASE_ADDR 0x30600000u |
Memory base address for ram memory on sram_ctrl_ret_aon in top dragonfly.
Definition at line 902 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SRAM_CTRL_RET_AON_RAM_SIZE_BYTES 0x1000u |
Memory size for ram memory on sram_ctrl_ret_aon in top dragonfly.
Definition at line 907 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SRAM_CTRL_RET_AON_REGS_BASE_ADDR 0x30500000u |
Peripheral base address for regs device on sram_ctrl_ret_aon in top dragonfly.
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 344 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_SRAM_CTRL_RET_AON_REGS_SIZE_BYTES 0x40u |
Peripheral size for regs device on sram_ctrl_ret_aon in top dragonfly.
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_DRAGONFLY_SRAM_CTRL_RET_AON_REGS_BASE_ADDR and TOP_DRAGONFLY_SRAM_CTRL_RET_AON_REGS_BASE_ADDR + TOP_DRAGONFLY_SRAM_CTRL_RET_AON_REGS_SIZE_BYTES.
Definition at line 354 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_UART0_BASE_ADDR 0x30010000u |
Peripheral base address for uart0 in top dragonfly.
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 38 of file top_dragonfly.h.
| #define TOP_DRAGONFLY_UART0_SIZE_BYTES 0x40u |
Peripheral size for uart0 in top dragonfly.
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_DRAGONFLY_UART0_BASE_ADDR and TOP_DRAGONFLY_UART0_BASE_ADDR + TOP_DRAGONFLY_UART0_SIZE_BYTES.
Definition at line 48 of file top_dragonfly.h.
| typedef enum top_dragonfly_alert_id top_dragonfly_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_dragonfly_plic_irq_id top_dragonfly_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_dragonfly_plic_target top_dragonfly_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 1217 of file top_dragonfly.h.
Alert Handler Source Peripheral.
Enumeration used to determine which peripheral asserted the corresponding alert.
Definition at line 1161 of file top_dragonfly.h.
Dedicated Pad Selects.
Definition at line 1385 of file top_dragonfly.h.
Clock Manager Software-Controlled ("Gated") Clocks.
The Software has full control over these clocks.
| Enumerator | |
|---|---|
| kTopDragonflyGateableClocksIoPeri | Clock clk_io_peri in group peri. |
Definition at line 1515 of file top_dragonfly.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 1526 of file top_dragonfly.h.
Muxed Pad Selects.
Definition at line 1465 of file top_dragonfly.h.
Pinmux MIO Input Selector.
Definition at line 1330 of file top_dragonfly.h.
Pinmux MIO Output.
Definition at line 1351 of file top_dragonfly.h.
Pinmux Peripheral Output Selector.
Definition at line 1370 of file top_dragonfly.h.
Pinmux Peripheral Input.
Definition at line 1319 of file top_dragonfly.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 998 of file top_dragonfly.h.
PLIC Interrupt Source Peripheral.
Enumeration used to determine which peripheral asserted the corresponding interrupt.
Definition at line 956 of file top_dragonfly.h.
PLIC Interrupt Target.
Enumeration used to determine which set of IE, CC, threshold registers to access for a given interrupt target.
| Enumerator | |
|---|---|
| kTopDragonflyPlicTargetIbex0 | Ibex Core 0. |
Definition at line 1149 of file top_dragonfly.h.
Power Manager Reset Request Signals.
Definition at line 1504 of file top_dragonfly.h.
Power Manager Wakeup Signals.
Definition at line 1484 of file top_dragonfly.h.
Reset Manager Software Controlled Resets.
Definition at line 1494 of file top_dragonfly.h.
|
extern |
Alert Handler Alert Source to Peripheral Map.
This array is a mapping from top_dragonfly_alert_id_t to top_dragonfly_alert_peripheral_t.
Definition at line 18 of file top_dragonfly.c.
|
extern |
PLIC Interrupt Source to Peripheral Map.
This array is a mapping from top_dragonfly_plic_irq_id_t to top_dragonfly_plic_peripheral_t.
Definition at line 105 of file top_dragonfly.c.