H6/Memory map

From linux-sunxi.org
< H6
Jump to: navigation, search

Most of the memory map can be found in the official documentation H6 user manual, this table also includes memory regions found from other sources, e.g. the BSP.

Memory Map

Start End Size Name Remarks
0x00000000 0x00009FFF 40KiB NBROM
0x00000000 0x0000FFFF 64KiB SBROM See also https://linux-sunxi.org/TOC0
0x00020000 0x00027FFF 32KiB SRAM A1
0x00028000 0x00045FFF 120KiB SRAM C
0x00100000 0x00117FFF 96KiB SRAM A2 Split into two in the manual FIXME
0x01000000 0x013FFFFF 4MiB DE Display Engine
0x01420000 0x0143FFFF 128KiB DI0
0x01800000 0x0183FFFF 256KiB GPU
0x01904000 0x019047FF 2KiB CE_NS Crypto Engine Non-Secure
0x01904800 0x01904FFF 2KiB CE_S Crypto Engine Secure
0x01905000 0x01905FFF 4KiB EMCE Embedded Crypto Engine
0x01908000 0x01908FFF 4KiB CE_KEY_SRAM Crypto Engine Key SRAM
0x01A00000 0x01BFFFFF 2MiB VE SRAM
0x01C00000 0x01C00FFF 4KiB VP9
0x01C0E000 0x01C0FFFF 8KiB VE
0x03000000 0x03000FFF 4KiB SYS_CFG
0x03001000 0x03001FFF 4KiB CCU
0x03002000 0x03002FFF 4KiB DMAC
0x03003000 0x03003FFF 4KiB MSGBOX
0x03004000 0x03004FFF 4KiB SPINLOCK
0x03005000 0x03005FFF 4KiB HSTIMER
0x03006000 0x03006FFF 4KiB SID See also BSP SUNXI_SID_SRAM
0x03007000 ? ? SMC Secure Memory Controller Unconfirmed found in the BSP
0x03008000 ? ? SPC Secure Peripheral Controller, undocumented
0x03009000 0x030093FF 1KiB TIMER
0x0300A000 0x0300A3FF 1KiB PWM
0x0300B000 0x0300B3FF 1KiB PIO Also refered to as GPIO in the user manual
0x0300C000 0x0300C3FF 1KiB PSI
0x03010000 0x0301FFFF 64KiB DCU
0x03020000 0x0302FFFF 64KiB GIC Generic Interrupt Controller
0x030F0000 0x030FFFFF 64KiB IOMMU
0x04002000 0x04005FFF 16KiB DRAM_CTRL
0x04011000 0x04011FFF 4KiB NAND0
0x04020000 0x04020FFF 4KiB SMHC0
0x04021000 0x04021FFF 4KiB SMHC1
0x04022000 0x04022FFF 4KiB SMHC2
0x05000000 0x050003FF 1KiB UART0
0x05000400 0x050007FF 1KiB UART1
0x05000800 0x05000BFF 1KiB UART2
0x05000C00 0x05000FFF 1KiB UART3
0x05002000 0x050023FF 1KiB TWI0
0x05002400 0x050027FF 1KiB TWI1
0x05002800 0x05002BFF 1KiB TWI2
0x05002C00 0x05002FFF 1KiB TWI3
0x05005000 0x050053FF 1KiB SCR0
0x05005400 0x050057FF 1KiB SCR1
0x05010000 0x05010FFF 4KiB SPI0
0x05011000 0x05011FFF 4KiB SPI1
0x05020000 0x0502FFFF 64KiB EMAC
0x05060000 0x05060FFF 4KiB TS0
0x05070400 0x050707FF 1KiB THS Thermal Sensor
0x05071000 0x050713FF 1KiB CIR_TX
0x0508F000 0x0508FFFF 4KiB I2S/PCM3
0x05090000 0x05090FFF 4KiB I2S/PCM0
0x05091000 0x05091FFF 4KiB I2S/PCM1
0x05092000 0x05092FFF 4KiB I2S/PCM2
0x05093000 0x050933FF 1KiB OWA
0x05095000 0x050953FF 1KiB DMIC
0x05097000 0x05097FFF 4KiB Audio Hub
0x05100000 0x051FFFFF 1MiB USB0(USB2.0_OTG) Probably USB_OTG_Controller_Register_Guide
0x05200000 0x052FFFFF 1MiB USB1(USB3.0_HOST)
0x05311000 0x05311FFF 4KiB USB3(USB2.0_HOST)
0x05400000 0x054FFFFF 1MiB PCIe
0x06000000 0x060FFFFF 1MiB HDMI_TX0(1.4/2.0)
0x06510000 0x06510FFF 4KiB DISP_IF_TOP
0x06511000 0x06511FFF 4KiB TCON_LCD
0x06515000 0x06515FFF 4KiB TCON_TV
0x06600000 0x0661FFFF 128KiB CSI_SRAM
0x06620000 0x0663FFFF 128KiB CSI
0x07000000 0x070003FF 1KiB RTC
0x07000400 0x07000BFF 2KiB R_CPUS_CFG
0x07010000 0x070103FF 1KiB R_PRCM
0x07020000 0x070203FF 1KiB R_TIMER
0x07020400 0x070207FF 1KiB R_WDG Watchdog
0x07020800 0x07020BFF 1KiB R_TWDG Trusted Watchdog
0x07020C00 0x07020FFF 1KiB R_PWM
0x07021000 0x070213FF 1KiB R_INTC
0x07022000 0x070223FF 1KiB R_GPIO
0x07040000 0x070403FF 1KiB R_CIR_RX
0x07040400 0x070407FF 1KiB R_OWC
0x07080000 0x070803FF 1KiB R_UART
0x07081400 0x070817FF 1KiB R_TWI
0x08100000 0x081003FF 1KiB CPU_SYS_CFG
0x08110000 0x08110FFF 4KiB CNT_R
0x08120000 0x08120FFF 4KiB CNT_C
0x09010000 0x09010FFF 4KiB C0_CPUX_CFG
0x09020000 0x09020FFF 4KiB C0_CPUX_MBIST
0x40000000 0xFFFFFFFF 3GiB DRAM

References

BSP u-boot platform header