Debian Codegraph @

plat/arm/board/neoverse_rd/platform/sgi575/include/platform_def.h

raw
1 /*
2 * Copyright (c) 2018-2024, Arm Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7 #ifndef PLATFORM_DEF_H
8 #define PLATFORM_DEF_H
9
10 #include <lib/utils_def.h>
11 #include <nrd_css_fw_def1.h>
12 #include <nrd_plat_arm_def1.h>
13 #include <nrd_ros_fw_def1.h>
14 #include <nrd_sdei.h>
15
16 /* Remote chip address offset */
17 #define NRD_REMOTE_CHIP_MEM_OFFSET(n) \
18 ((ULL(1) << NRD_ADDR_BITS_PER_CHIP) * (n))
19
20 #define PLAT_ARM_CLUSTER_COUNT U(2)
21 #define NRD_MAX_CPUS_PER_CLUSTER U(4)
22 #define NRD_MAX_PE_PER_CPU U(1)
23
24 #define PLAT_CSS_MHU_BASE UL(0x45000000)
25
26 /* Base address of DMC-620 instances */
27 #define SGI575_DMC620_BASE0 UL(0x4e000000)
28 #define SGI575_DMC620_BASE1 UL(0x4e100000)
29
30 /* Maximum number of address bits used per chip */
31 #define NRD_ADDR_BITS_PER_CHIP U(36)
32
33 /* GIC related constants */
34 #define PLAT_ARM_GICD_BASE UL(0x30000000)
35 #define PLAT_ARM_GICR_BASE UL(0x300C0000)
36
37 #endif /* PLATFORM_DEF_H */