arm-trusted-firmware/plat/amd/versal2/include/plat_pm_common.h
Senthil Nathan Thangaraj 414cf08b76 feat(versal2): add support for platform management
Add support for PM functionality through EEMI interface for
Versal Gen 2. Add support of PM APIs in PSCI ops. Add
TFA_NO_PM flag to disable PM functionality. Enable wakeup for
new peripherals

Change-Id: I1bf67dc46af91ee113c627d32ae6ecc1dad386c2
Signed-off-by: Naman Trivedi <naman.trivedimanojbhai@amd.com>
Signed-off-by: Senthil Nathan Thangaraj <senthilnathan.thangaraj@amd.com>
2025-02-20 22:23:12 -08:00

38 lines
941 B
C

/*
* Copyright (c) 2022, Xilinx, Inc. All rights reserved.
* Copyright (c) 2022-2025, Advanced Micro Devices, Inc. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/*
* Contains platform specific definitions of commonly used macros data types
* for PU Power Management. This file should be common for all PU's.
*/
#ifndef PLAT_PM_COMMON_H
#define PLAT_PM_COMMON_H
#include <stdint.h>
#include <common/debug.h>
#include "pm_defs.h"
#define NON_SECURE_FLAG 1U
#define SECURE_FLAG 0U
/* Processor core device IDs */
#define PM_DEV_CLUSTER0_ACPU_0 (0x1810C0AFU)
#define PM_DEV_CLUSTER0_ACPU_1 (0x1810C0B0U)
#define PM_DEV_CLUSTER1_ACPU_0 (0x1810C0B3U)
#define PM_DEV_CLUSTER1_ACPU_1 (0x1810C0B4U)
#define PM_DEV_CLUSTER2_ACPU_0 (0x1810C0B7U)
#define PM_DEV_CLUSTER2_ACPU_1 (0x1810C0B8U)
#define PM_DEV_CLUSTER3_ACPU_0 (0x1810C0BBU)
#define PM_DEV_CLUSTER3_ACPU_1 (0x1810C0BCU)
#endif /* PLAT_PM_COMMON_H */