xref: /rk3399_ARM-atf/plat/intel/soc/stratix10/include/socfpga_plat_def.h (revision 52ed157fd66812debb13a792c21f763de01aef70)
1 /*
2  * Copyright (c) 2019-2022, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef PLAT_SOCFPGA_DEF_H
8 #define PLAT_SOCFPGA_DEF_H
9 
10 #include <platform_def.h>
11 
12 /* Platform Setting */
13 #define PLATFORM_MODEL				PLAT_SOCFPGA_STRATIX10
14 #define BOOT_SOURCE				BOOT_SOURCE_SDMMC
15 
16 /* FPGA config helpers */
17 #define INTEL_SIP_SMC_FPGA_CONFIG_ADDR		0x400000
18 #define INTEL_SIP_SMC_FPGA_CONFIG_SIZE		0x1000000
19 
20 /* Register Mapping */
21 #define SOCFPGA_CCU_NOC_REG_BASE		0xf7000000
22 
23 #define SOCFPGA_MMC_REG_BASE                    0xff808000
24 
25 #define SOCFPGA_RSTMGR_REG_BASE			0xffd11000
26 #define SOCFPGA_SYSMGR_REG_BASE			0xffd12000
27 
28 #define SOCFPGA_L4_PER_SCR_REG_BASE		0xffd21000
29 #define SOCFPGA_L4_SYS_SCR_REG_BASE		0xffd21100
30 #define SOCFPGA_SOC2FPGA_SCR_REG_BASE		0xffd21200
31 #define SOCFPGA_LWSOC2FPGA_SCR_REG_BASE		0xffd21300
32 
33 
34 #endif /* PLATSOCFPGA_DEF_H */
35 
36