1 /*
2  * Arm SCP/MCP Software
3  * Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 #ifndef SCP_CSS_MMAP_H
9 #define SCP_CSS_MMAP_H
10 
11 #include "scp_mmap.h"
12 
13 #define SCP_CMN650_BASE (SCP_SYSTEM_ACCESS_PORT0_BASE + 0x10000000)
14 
15 #define SCP_REFCLK_CNTCONTROL_BASE (SCP_SYSTEM_ACCESS_PORT1_BASE + 0x2A430000)
16 #define SCP_SID_BASE               (SCP_SYSTEM_ACCESS_PORT1_BASE + 0x2A4A0000)
17 
18 #define SCP_REFCLK_CNTCTL_BASE   (SCP_PERIPHERAL_BASE + 0x0000)
19 #define SCP_REFCLK_CNTBASE0_BASE (SCP_PERIPHERAL_BASE + 0x1000)
20 #define SCP_UART_BASE            (SCP_PERIPHERAL_BASE + 0x2000)
21 #define SCP_MHU_AP_BASE          (SCP_PERIPHERAL_BASE + 0x1000000)
22 
23 #define SCP_PIK_SCP_BASE (SCP_ELEMENT_MANAGEMENT_PERIPHERAL_BASE)
24 #define SCP_PIK_CLUSTER_BASE(n) \
25     ((SCP_ELEMENT_MANAGEMENT_PERIPHERAL_BASE + 0x60000) + ((n)*0x20000))
26 #define SCP_PIK_SYSTEM_BASE (SCP_ELEMENT_MANAGEMENT_PERIPHERAL_BASE + 0x40000)
27 
28 #define SCP_PPU_SCP_BASE (SCP_PIK_SCP_BASE + 0x1000)
29 
30 #define SCP_PPU_SYS0_BASE (SCP_PIK_SYSTEM_BASE + 0x1000)
31 #define SCP_PPU_SYS1_BASE (SCP_PIK_SYSTEM_BASE + 0x5000)
32 
33 #define SCP_PPU_BASE(n) (SCP_PIK_CLUSTER_BASE(n) + 0x2000)
34 
35 #define SCP_MHU_SCP_AP_SND_S_CLUS0 (SCP_MHU_AP_BASE + 0x400000)
36 #define SCP_MHU_SCP_AP_RCV_S_CLUS0 (SCP_MHU_AP_BASE + 0x410000)
37 
38 #endif /* SCP_CSS_MMAP_H */
39