Commit 2671f318 authored by Flora Fu's avatar Flora Fu
Browse files

feat(plat/mediatek/apu): add mt8192 APU iommap regions



Add APU iommap settings for reviser, apu_ao and
devapc control wrapper.
Signed-off-by: default avatarFlora Fu <flora.fu@mediatek.com>
Change-Id: Ie8e6a197c0f440f9e4ee8101202283a2dbf501a6
parent 77b68019
......@@ -21,6 +21,14 @@ const mmap_region_t plat_mmap[] = {
MT_DEVICE | MT_RW | MT_SECURE),
MAP_REGION_FLAT(MTK_MCDI_SRAM_BASE, MTK_MCDI_SRAM_MAP_SIZE,
MT_DEVICE | MT_RW | MT_SECURE),
MAP_REGION_FLAT(APUSYS_SCTRL_REVISER_BASE, APUSYS_SCTRL_REVISER_SIZE,
MT_DEVICE | MT_RW | MT_SECURE),
MAP_REGION_FLAT(APUSYS_APU_S_S_4_BASE, APUSYS_APU_S_S_4_SIZE,
MT_DEVICE | MT_RW | MT_SECURE),
MAP_REGION_FLAT(APUSYS_APC_AO_WRAPPER_BASE, APUSYS_APC_AO_WRAPPER_SIZE,
MT_DEVICE | MT_RW | MT_SECURE),
MAP_REGION_FLAT(APUSYS_NOC_DAPC_AO_BASE, APUSYS_NOC_DAPC_AO_SIZE,
MT_DEVICE | MT_RW | MT_SECURE),
{ 0 }
};
......
......@@ -26,6 +26,16 @@
#define MTK_MCDI_SRAM_BASE 0x11B000
#define MTK_MCDI_SRAM_MAP_SIZE 0x1000
#define APUSYS_BASE 0x19000000
#define APUSYS_SCTRL_REVISER_BASE 0x19021000
#define APUSYS_SCTRL_REVISER_SIZE 0x1000
#define APUSYS_APU_S_S_4_BASE 0x190F2000
#define APUSYS_APU_S_S_4_SIZE 0x1000
#define APUSYS_APC_AO_WRAPPER_BASE 0x190F8000
#define APUSYS_APC_AO_WRAPPER_SIZE 0x1000
#define APUSYS_NOC_DAPC_AO_BASE 0x190FC000
#define APUSYS_NOC_DAPC_AO_SIZE 0x1000
#define TOPCKGEN_BASE (IO_PHYS + 0x00000000)
#define INFRACFG_AO_BASE (IO_PHYS + 0x00001000)
#define GPIO_BASE (IO_PHYS + 0x00005000)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment