1 // SPDX-License-Identifier: GPL-2.0+
3 * Qualcomm APQ8096 memory map
5 * (C) Copyright 2017 Jorge Ramirez Ortiz <jorge.ramirez-ortiz@linaro.org>
9 #include <asm/armv8/mmu.h>
11 static struct mm_region apq8096_mem_map[] = {
13 .virt = 0x0UL, /* Peripheral block */
14 .phys = 0x0UL, /* Peripheral block */
16 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
18 PTE_BLOCK_PXN | PTE_BLOCK_UXN
20 .virt = 0x80000000UL, /* DDR */
21 .phys = 0x80000000UL, /* DDR */
23 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
31 struct mm_region *mem_map = apq8096_mem_map;