blob: 15ffc65097b0d8b4c786fe109123854899c611a3 [file] [log] [blame]
Vijayenthiran Subramaniamf5cb00f2019-12-27 19:27:57 +05301/*
Rohit Mathew20d4a212024-02-03 21:20:17 +00002 * Copyright (c) 2019-2024, Arm Limited and Contributors. All rights reserved.
Vijayenthiran Subramaniamf5cb00f2019-12-27 19:27:57 +05303 *
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 ******************************************************************************/
12static const unsigned char sgi575_pd_tree_desc[] = {
13 PLAT_ARM_CLUSTER_COUNT,
Rohit Mathewaac0c3c2024-02-03 22:16:14 +000014 NRD_MAX_CPUS_PER_CLUSTER,
15 NRD_MAX_CPUS_PER_CLUSTER
Vijayenthiran Subramaniamf5cb00f2019-12-27 19:27:57 +053016};
17
18/*******************************************************************************
19 * This function returns the topology tree information.
20 ******************************************************************************/
21const 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 ******************************************************************************/
30const uint32_t plat_css_core_pos_to_scmi_dmn_id_map[] = {
31 0, 1, 2, 3, 4, 5, 6, 7
32};