diff --git a/plat/ti/k3/common/k3_topology.c b/plat/ti/k3/common/k3_topology.c index a77c8f34cfc4824f684cdb46569dba54faae688c..d7ac0a5894dfd99200f008c5a3dac0243af08ec4 100644 --- a/plat/ti/k3/common/k3_topology.c +++ b/plat/ti/k3/common/k3_topology.c @@ -9,6 +9,7 @@ /* The power domain tree descriptor */ static unsigned char power_domain_tree_desc[] = { + PLATFORM_SYSTEM_COUNT, PLATFORM_CLUSTER_COUNT, K3_CLUSTER0_CORE_COUNT, #if K3_CLUSTER1_MSMC_PORT != UNUSED diff --git a/plat/ti/k3/include/platform_def.h b/plat/ti/k3/include/platform_def.h index 8856af2ca868b1db53c980c5b2d22b428c61f9c4..ebc9c477091a96e413f7d2afa00938295b3aed63 100644 --- a/plat/ti/k3/include/platform_def.h +++ b/plat/ti/k3/include/platform_def.h @@ -62,9 +62,10 @@ #define PLATFORM_CLUSTER_OFFSET K3_CLUSTER0_MSMC_PORT -#define PLAT_NUM_PWR_DOMAINS (PLATFORM_CLUSTER_COUNT + \ +#define PLAT_NUM_PWR_DOMAINS (PLATFORM_SYSTEM_COUNT + \ + PLATFORM_CLUSTER_COUNT + \ PLATFORM_CORE_COUNT) -#define PLAT_MAX_PWR_LVL MPIDR_AFFLVL1 +#define PLAT_MAX_PWR_LVL MPIDR_AFFLVL2 /******************************************************************************* * Memory layout constants