1 /*
2  * Arm SCP/MCP Software
3  * Copyright (c) 2018-2021, Arm Limited and Contributors. All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 #ifndef N1SDP_SCP_SYSTEM_MMAP_H
9 #define N1SDP_SCP_SYSTEM_MMAP_H
10 
11 /*
12  * External QSPI flash memory - mapped address
13  */
14 #define SCP_QSPI_FLASH_BASE_ADDR     0x30000000
15 #define SCP_QSPI_FLASH_BASE_ADDR_ALT 0x00840000
16 #define SCP_QSPI_FLASH_SIZE          0x02000000
17 
18 /*
19  * Internal SCP's ROM/RAM base address
20  */
21 #define SCP_ROM_BASE                 0x00000000
22 #define SCP_RAM0_BASE                0x00800000
23 #define SCP_RAM1_BASE                0x20000000
24 
25 /*
26  * Internal SCP's ROM/RAM sizes
27  */
28 #define SCP_ROM_SIZE                 (128 * 1024)
29 #define SCP_RAM0_SIZE                (512 * 1024)
30 #define SCP_RAM1_SIZE                (256 * 1024)
31 
32 /*
33  * SCP_BACKUP_DDR3 memory area where the SCP ROM
34  * bypass firmware should be placed. The SCP would
35  * be programmed to boot at this address by programming
36  * it in the SCP_BOOT_ADR SCC register.
37  */
38 #define SCP_BACKUP_DDR3_BASE          0x14000000
39 #define SCP_BACKUP_DDR3_SIZE          (32 * 1024 * 1024)
40 
41 #endif /* N1SDP_SCP_SYSTEM_MMAP_H*/
42