1 /*
2 * Copyright (c) 2019-2020, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7 #include <plat/arm/common/plat_arm.h>
8
9 /******************************************************************************
10 * The power domain tree descriptor.
11 ******************************************************************************/
12 static const unsigned char sgi575_pd_tree_desc[] = {
13 PLAT_ARM_CLUSTER_COUNT,
14 CSS_SGI_MAX_CPUS_PER_CLUSTER,
15 CSS_SGI_MAX_CPUS_PER_CLUSTER
16 };
17
18 /*******************************************************************************
19 * This function returns the topology tree information.
20 ******************************************************************************/
plat_get_power_domain_tree_desc(void)21 const unsigned char *plat_get_power_domain_tree_desc(void)
22 {
23 return sgi575_pd_tree_desc;
24 }
25
26 /*******************************************************************************
27 * The array mapping platform core position (implemented by plat_my_core_pos())
28 * to the SCMI power domain ID implemented by SCP.
29 ******************************************************************************/
30 const uint32_t plat_css_core_pos_to_scmi_dmn_id_map[] = {
31 0, 1, 2, 3, 4, 5, 6, 7
32 };
33