xref: /rk3399_ARM-atf/include/lib/cpus/aarch64/cortex_a77.h (revision 0aa9f3c0f2f2ff675c3c12ae5ac6ceb475d6a16f)
1 /*
2  * Copyright (c) 2018-2020, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef CORTEX_A77_H
8 #define CORTEX_A77_H
9 
10 #include <lib/utils_def.h>
11 
12 /* Cortex-A77 MIDR */
13 #define CORTEX_A77_MIDR					U(0x410FD0D0)
14 
15 /*******************************************************************************
16  * CPU Extended Control register specific definitions.
17  ******************************************************************************/
18 #define CORTEX_A77_CPUECTLR_EL1				S3_0_C15_C1_4
19 #define CORTEX_A77_CPUECTLR_EL1_BIT_53			(ULL(1) << 53)
20 
21 /*******************************************************************************
22  * CPU Power Control register specific definitions.
23  ******************************************************************************/
24 #define CORTEX_A77_CPUPWRCTLR_EL1			S3_0_C15_C2_7
25 #define CORTEX_A77_CPUPWRCTLR_EL1_CORE_PWRDN_BIT	(U(1) << 0)
26 
27 #endif /* CORTEX_A77_H */
28