xref: /rk3399_ARM-atf/plat/amd/versal2/include/plat_pm_common.h (revision ed0c801fc69f55103c597dcc29cadf4c7cb7d575)
1 /*
2  * Copyright (c) 2022, Xilinx, Inc. All rights reserved.
3  * Copyright (c) 2022-2025, Advanced Micro Devices, Inc. All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 /*
9  * Contains platform specific definitions of commonly used macros data types
10  * for PU Power Management. This file should be common for all PU's.
11  */
12 
13 #ifndef PLAT_PM_COMMON_H
14 #define PLAT_PM_COMMON_H
15 
16 #include <stdint.h>
17 
18 #include <common/debug.h>
19 
20 #include "pm_defs.h"
21 
22 #define NON_SECURE_FLAG		1U
23 #define SECURE_FLAG		0U
24 
25 /* Processor core device IDs */
26 #define PM_DEV_CLUSTER0_ACPU_0	(0x1810C0AFU)
27 #define PM_DEV_CLUSTER0_ACPU_1	(0x1810C0B0U)
28 
29 #define PM_DEV_CLUSTER1_ACPU_0	(0x1810C0B3U)
30 #define PM_DEV_CLUSTER1_ACPU_1	(0x1810C0B4U)
31 
32 #define PM_DEV_CLUSTER2_ACPU_0	(0x1810C0B7U)
33 #define PM_DEV_CLUSTER2_ACPU_1	(0x1810C0B8U)
34 
35 #define PM_DEV_CLUSTER3_ACPU_0	(0x1810C0BBU)
36 #define PM_DEV_CLUSTER3_ACPU_1	(0x1810C0BCU)
37 
38 #endif /* PLAT_PM_COMMON_H */
39