SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
The memory space system is hierarchical: level 1 (L1), level 2 (L2), L3_MAIN, and L4. L1 and L2 are memories in the MPU, IPU, and digital signal processor (DSP) subsystems. L3_MAIN handles many types of data transfers, including data exchange with system on-chip/external memories. The chip-level interconnect, which consists of one L3_MAIN and five L4s, enables communication among all modules and subsystems.
This section provides a global view of the memory mapping of the device at the L3_MAIN interconnect and describes the boot, GPMC, and SDRAM controller (SDRC) (EMIF/DMM) spaces.
The system memory mapping is flexible, with two levels of granularity for target address space allocation:
This organization allows the decoding of all target spaces based on the 7 most significant bits (MSBs) of the 32-bit address ([31:25]).
When booting from the on-chip ROM with the appropriate external sys_boot pin configuration, the lowest 1-MiB memory space [0x0000 0000 – 0x000F FFFF] is redirected to the on-chip boot ROM address space [0x4000 0000–0x400F FFFF].
When booting from the GPMC, the memory space is part of the GPMC address space. At reset, the 0x0000 0000 address is available on chip select 0 (CS0) for a memory size of 16MiB.
For more information about the sys_boot pins configuration, see Section 15.4, General-Purpose Memory Controller, and Chapter 33, Initialization.
Eight independent GPMC chip selects (CS0 to CS7) are available in the first quarter (Q0) of the addressing space to access NOR/NAND flash and SRAM. The chip selects have a programmable start address and programmable size (up to 128MiB) in a total memory space of (Q0) 1GiB, but limited now to 512MiB.
Q2 addressing space covers a 1-GiB address space on a single CS line.
Q3 addressing space covers a 1-GiB address space on a single CS line.
Q3 addressing space is also used to access the TILER system. This space is visible only for the display subsystem (DSS) and camera adaptation layer (CAL). See Table 2-12.
This high address range (Q8–Q15) requires an address greater than 32 bits. This space is visible only for the MPU subsystem. See Table 2-8.
Table 2-1 describes the global memory map.
Quarter | Region Name | Start_address (hex) | End_address (hex) | Size | Description |
---|---|---|---|---|---|
Q0 (1GiB) | GPMC(1) | 0x0000 0000 | 0x1FFF FFFF | 512MiB | 8/16 Ex(2)/R/W |
PCIE_SS1 | 0x2000 0000 | 0x2FFF FFFF | 256MiB | PCIe_SS1 configuration space | |
PCIE_SS2 | 0x3000 0000 | 0x3FFF FFFF | 256MiB | PCIe_SS2 configuration space | |
Q1 (1GiB) | Reserved | 0x4000 0000 | 0x402F FFFF | 3MiB | Reserved |
OCMC_RAM1 | 0x4030 0000 | 0x4037 FFFF | 512KiB | 32-bit Ex(2)/R/W | |
Reserved | 0x4038 0000 | 0x407F FFFF | 4512KiB | Reserved | |
DSP1_L2_SRAM | 0x4080 0000 | 0x4084 7FFF | 288KiB | DSP1 L2 SRAM and cache. See Table 2-10. | |
Reserved | 0x4084 8000 | 0x40CF FFFF | 4832KiB | Reserved | |
DSP1_SYSTEM | 0x40D0 0000 | 0x40D0 0FFF | 4KiB | DSP1 system MMR block | |
DSP1_MMU0CFG | 0x40D0 1000 | 0x40D0 1FFF | 4KiB | DSP1 MMU0 configuration | |
DSP1_MMU1CFG | 0x40D0 2000 | 0x40D0 2FFF | 4KiB | DSP1 MMU1 configuration | |
DSP1_FW0CFG | 0x40D0 3000 | 0x40D0 3FFF | 4KiB | DSP1 Firewall 0 configuration | |
DSP1 FW1CFG | 0x40D0 4000 | 0x40D0 4FFF | 4KiB | DSP1 Firewall 1 configuration | |
DSP1_EDMA_TC0 | 0x40D0 5000 | 0x40D0 5FFF | 4KiB | DSP1 EDMA Transfer Controller 0 | |
DSP1_EDMA_TC1 | 0x40D0 6000 | 0x40D0 6FFF | 4KiB | DSP1 EDMA Transfer Controller 1 | |
DSP1_NoC | 0x40D0 7000 | 0x40D0 7FFF | 4KiB | DSP1 interconnect registers | |
Reserved | 0x40D0 8000 | 0x40D0 FFFF | 32KiB | Reserved | |
DSP1_EDMA_CC | 0x40D1 0000 | 0x40D1 7FFF | 32KiB | DSP1 EDMA channel controller | |
Reserved | 0x40D1 8000 | 0x40DF FFFF | 928KiB | Reserved | |
DSP1_L1P_SRAM | 0x40E0 0000 | 0x40E0 7FFF | 32KiB | DSP1 L1P Cache/RAM | |
Reserved | 0x40E0 8000 | 0x40EF FFFF | 992KiB | Reserved | |
DSP1_L1D_SRAM | 0x40F0 0000 | 0x40F0 7FFF | 32KiB | DSP1 L1D Cache/RAM | |
Reserved | 0x40F0 8000 | 0x417F FFFF | 9MiB | Reserved | |
OCMC_RAM1_CBUF | 0x4180 0000 | 0x41FF FFFF | 8MiB | OCMC RAM1 CBUF virtual address space (Bit 31 must be set on the OCMC data interface) | |
Reserved | 0x4200 0000 | 0x425F FFFF | 6MiB | Reserved | |
Reserved | 0x4260 0000 | 0x427F FFFF | 2MiB | Reserved | |
Reserved | 0x4280 0000 | 0x432F FFFF | 11534KiB | Reserved | |
EDMA_TPCC | 0x4330 0000 | 0x433F FFFF | 1MiB | EDMA TPCC configuration space | |
EDMA_TC0 | 0x4340 0000 | 0x434F FFFF | 1MiB | EDMA TPTC1 configuration space | |
EDMA_TC1 | 0x4350 0000 | 0x435F FFFF | 1MiB | EDMA TPTC2 configuration space | |
Reserved | 0x4360 0000 | 0x439F FFFF | 4MiB | Reserved | |
Reserved | 0x43A0 0000 | 0x43A3 FFFF | 256KiB | Reserved | |
Reserved | 0x43A4 0000 | 0x43FF FFFF | 5888KiB | Reserved | |
L3_MAIN_SN | 0x4400 0000 | 0x457F FFFF | 24MiB | L3 configuration registers (service network) | |
MCASP1 | 0x4580 0000 | 0x45BF FFFF | 4MiB | MCASP1 data port | |
MCASP2 | 0x45C0 0000 | 0x45FF FFFF | 4MiB | MCASP2 data port | |
MCASP3 | 0x4600 0000 | 0x463F FFFF | 4MiB | MCASP3 data port | |
VCP1(3) | 0x4640 0000 | 0x4640 FFFF | 64KiB | VCP1 configuration space | |
Reserved | 0x4641 0000 | 0x467F FFFF | 4032KiB | Reserved | |
VCP2(3) | 0x4680 0000 | 0x4680 FFFF | 64KiB | VCP2 configuration space | |
Reserved | 0x4681 0000 | 0x47FF FFFF | 24MiB | Reserved | |
L4_PER1 | 0x4800 0000 | 0x481F FFFF | 2MiB | L4_PER1 domain. See Table 2-5 | |
Reserved | 0x4820 0000 | 0x483F FFFF | 2MiB | MPU private memory space. See Table 2-8 | |
L4_PER2 | 0x4840 0000 | 0x487F FFFF | 4MiB | L4_PER2 domain. See Table 2-6 | |
L4_PER3 | 0x4880 0000 | 0x48FF FFFF | 8MiB | L4_PER3 domain. See Table 2-7 | |
Reserved | 0x4900 0000 | 0x49FF FFFF | 16MiB | Reserved | |
L4_CFG | 0x4A00 0000 | 0x4ADF FFFF | 14MiB | L4_CFG domain. See Table 2-3 | |
L4_WKUP | 0x4AE0 0000 | 0x4AFF FFFF | 2MiB | L4_WKUP domain. See Table 2-4 | |
Reserved | 0x4B00 0000 | 0x4B1F FFFF | 2MiB | Reserved | |
PRU-ICSS1 | 0x4B20 0000 | 0x4B27 FFFF | 512KiB | PRU-ICSS1 configuration registers | |
PRU-ICSS2 | 0x4B28 0000 | 0x4B2F FFFF | 512KiB | PRU-ICSS2 configuration registers | |
QSPI_ADDRSP0 | 0x4B30 0000 | 0x4B3F FFFF | 1MiB | QSPI MMR space (Maddrspace 0) | |
Reserved | 0x4B40 0000 | 0x4BFF FFFF | 12MiB | Reserved | |
EMIF1 | 0x4C00 0000 | 0x4CFF FFFF | 16MiB | EMIF1 configuration registers | |
Reserved | 0x4D00 0000 | 0x4DFF FFFF | 16MiB | Reserved | |
DMM | 0x4E00 0000 | 0x4FFF FFFF | 32MiB | DMM configuration registers | |
GPMC | 0x5000 0000 | 0x50FF FFFF | 16MiB | GPMC configuration registers | |
PCIE_SS1 | 0x5100 0000 | 0x517F FFFF | 8MiB | PCIE_SS1 configuration registers | |
PCIE_SS2 | 0x5180 0000 | 0x51FF FFFF | 8MiB | PCIE_SS2 configuration registers | |
Reserved | 0x5200 0000 | 0x53FF FFFF | 32MiB | Reserved | |
L3_INSTR | 0x5400 0000 | 0x547F FFFF | 8MiB | Emulation domain. See Table 2-2. | |
CT_TBR | 0x5480 0000 | 0x54FF FFFF | 8MiB | Emulation domain. See Table 2-2. | |
IPU2_ROM | 0x5500 0000 | 0x5500 3FFF | 16KiB | IPU2_ROM | |
Reserved | 0x5500 4000 | 0x5501 FFFF | 112KiB | Reserved | |
IPU2_RAM | 0x5502 0000 | 0x5502 FFFF | 64KiB | IPU2_RAM | |
Reserved | 0x5503 0000 | 0x5507 FFFF | 320KiB | Reserved | |
Reserved | 0x5508 0000 | 0x5508 07FF | 2KiB | Reserved | |
IPU2_UNICACHE_MMU | 0x5508 0800 | 0x5508 0FFF | 2KiB | IPU2_UNICACHE_MMU config registers | |
Reserved | 0x5508 1000 | 0x5508 1FFF | 4KiB | Reserved | |
IPU2_MMU | 0x5508 2000 | 0x5508 2FFF | 4KiB | IPU2_MMU configuration registers | |
Reserved | 0x5508 3000 | 0x55FF FFFF | 16MiB | Reserved | |
GPU | 0x5600 0000 | 0x57FF FFFF | 32MiB | 3D GPU domain | |
DSS | 0x5800 0000 | 0x587F FFFF | 8MiB | DSS domain | |
IPU1_ROM | 0x5880 0000 | 0x58FF FFFF | 16KiB | IPU1_ROM | |
Reserved | 0x5880 4000 | 0x5881 FFFF | 112KiB | Reserved | |
IPU1_RAM | 0x5882 0000 | 0x5882 FFFF | 64KiB | IPU1_RAM | |
Reserved | 0x5883 0000 | 0x5887 FFFF | 320KiB | Reserved | |
Reserved | 0x5888 0000 | 0x5888 07FF | 2KiB | Reserved | |
IPU1_UNICACHE_MMU | 0x5888 0800 | 0x5888 0FFF | 2KiB | IPU1_UNICACHE_MMU config registers | |
Reserved | 0x5888 1000 | 0x5888 1FFF | 4KiB | Reserved | |
IPU1_MMU | 0x5888 2000 | 0x5888 2FFF | 4KiB | IPU1_MMU configuration registers | |
Reserved | 0x5888 3000 | 0x58FF FFFF | 8MiB | Reserved | |
BB2D | 0x5900 0000 | 0x59FF FFFF | 16MiB | 2D graphics accelerator | |
IVA_CONFIG | 0x5A00 0000 | 0x5A3F FFFF | 4MiB | IVA CONFIG domain | |
Reserved | 0x5A40 0000 | 0x5AFF FFFF | 12MiB | Reserved | |
IVA_SL2IF | 0x5B00 0000 | 0x5B3F FFFF | 4MiB | IVA SL2IF domain | |
Reserved | 0x5B40 0000 | 0x5BFF FFFF | 12MiB | Reserved | |
QSPI_ADDRSP1 | 0x5C00 0000 | 0x5FFF FFFF | 64MiB | QSPI CS0/CS1/CS2/CS3 space (Maddrspace 1) | |
TILER | 0x6000 0000 | 0x7FFF FFFF | 512MiB | SDRAM addressing through DMM with TILER off | |
Q2 (1GiB) | DDR-SDRAM address space | ||||
EMIF1 | 0x8000 0000 | 0xBFFF FFFF | 1GiB | EMIF1: Access to DDR | |
Q3 (1GiB) | EMIF1 | 0xC000 0000 | 0xFFFF FFFF | 1GiB | EMIF1: Access to DDR |