arm: socfpga: agilex5: Define MMU mapping region for FPGA
Subsystems (3)
PATCH 1/1 arm: socfpga: agilex5: Define MMU mapping region for FPGA
From: Sin Hui Kho <[email protected]>
Add MMU mapping region for FPGA including 512 MB LW HPS2FPGA and 1GB HPS2FPGA.
Signed-off-by Sin Hui Kho <[email protected]>
--- arch/arm/mach-socfpga/mmu-arm64_s10.c | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/mach-socfpga/mmu-arm64_s10.c +8 -0
@@ -36,6 +36,14 @@ static struct mm_region socfpga_agilex5_mem_map[] = {PTE_BLOCK_NON_SHARE | PTE_BLOCK_PXN | PTE_BLOCK_UXN, }, { +/* FPGA 1.5GB */ + .virt = 0x20000000UL, + .phys = 0x20000000UL, + .size = 0x60000000UL, + .attrs =PTE_BLOCK_MEMTYPE (MT_DEVICE_NGNRNE ) | +PTE_BLOCK_NON_SHARE | + PTE_BLOCK_PXN | PTE_BLOCK_UXN, + },{/* MEM 2GB */ .virt = 0x80000000UL, .phys = 0x80000000UL,
Signature · 1 line
2.26.2