1 /*
2  * Copyright 2018-2020 NXP
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 #ifndef MMU_MAP_DEF_H
9 #define MMU_MAP_DEF_H
10 
11 #include <lib/xlat_tables/xlat_tables_defs.h>
12 
13 #include <platform_def.h>
14 
15 
16 #define LS_MAP_CCSR		MAP_REGION_FLAT(NXP_CCSR_ADDR, \
17 					NXP_CCSR_SIZE, \
18 					MT_DEVICE | MT_RW | MT_SECURE)
19 
20 #ifdef NXP_DCSR_ADDR
21 #define LS_MAP_DCSR		MAP_REGION_FLAT(NXP_DCSR_ADDR, \
22 					NXP_DCSR_SIZE, \
23 					MT_DEVICE | MT_RW | MT_SECURE)
24 #endif
25 
26 #define LS_MAP_CONSOLE		MAP_REGION_FLAT(NXP_DUART1_ADDR, \
27 					NXP_DUART_SIZE, \
28 					MT_DEVICE | MT_RW | MT_NS)
29 
30 #define LS_MAP_OCRAM		MAP_REGION_FLAT(NXP_OCRAM_ADDR, \
31 					NXP_OCRAM_SIZE, \
32 					MT_DEVICE | MT_RW | MT_SECURE)
33 
34 #endif /* MMU_MAP_DEF_H */
35