1 // SPDX-License-Identifier: GPL-2.0+
3 * Actions Semi S900 Memory map
5 * Copyright (C) 2015 Actions Semi Co., Ltd.
6 * Copyright (C) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
10 #include <asm/armv8/mmu.h>
12 static struct mm_region s900_mem_map[] = {
14 .virt = 0x0UL, /* DDR */
15 .phys = 0x0UL, /* DDR */
17 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
20 .virt = 0xE0000000UL, /* Peripheral block */
21 .phys = 0xE0000000UL, /* Peripheral block */
23 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
25 PTE_BLOCK_PXN | PTE_BLOCK_UXN
32 struct mm_region *mem_map = s900_mem_map;