xref: /rk3399_ARM-atf/include/lib/cpus/aarch64/cortex_a725.h (revision 2bd151215c62c62f8da04279fa1a29baf5ffd97a)
1 /*
2  * Copyright (c) 2023-2025, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef CORTEX_A725_H
8 #define CORTEX_A725_H
9 
10 #define CORTEX_A725_MIDR					U(0x410FD870)
11 
12 /*******************************************************************************
13  * CPU Extended Control register specific definitions
14  ******************************************************************************/
15 #define CORTEX_A725_CPUECTLR_EL1				S3_0_C15_C1_4
16 #define CORTEX_A725_CPUECTLR_EL1_EXTLLC_BIT			U(0)
17 
18 /*******************************************************************************
19  * CPU Power Control register specific definitions
20  ******************************************************************************/
21 #define CORTEX_A725_CPUPWRCTLR_EL1				S3_0_C15_C2_7
22 #define CORTEX_A725_CPUPWRCTLR_EL1_CORE_PWRDN_BIT		U(1)
23 
24 /*******************************************************************************
25  * CPU Auxiliary Control register specific definitions
26  ******************************************************************************/
27 #define CORTEX_A725_CPUACTLR_EL1				S3_0_C15_C1_0
28 #define CORTEX_A725_CPUACTLR2_EL1				S3_0_C15_C1_1
29 
30 /*******************************************************************************
31  * CPU Instruction Patch Control register specific definitions
32  ******************************************************************************/
33 #define CORTEX_A725_CPUPSELR_EL3				S3_6_C15_C8_0
34 #define CORTEX_A725_CPUPCR_EL3					S3_6_C15_C8_1
35 #define CORTEX_A725_CPUPOR_EL3					S3_6_C15_C8_2
36 #define CORTEX_A725_CPUPMR_EL3					S3_6_C15_C8_3
37 
38 #ifndef __ASSEMBLER__
39 long check_erratum_cortex_a725_3699564(long cpu_rev);
40 #endif /* __ASSEMBLER__ */
41 
42 #endif /* CORTEX_A725_H */
43