xref: /rk3399_ARM-atf/include/lib/cpus/aarch64/neoverse_n3.h (revision 270d5c5cd9ad6cecc4b581e8a257c6fcfe7d78d6)
1 /*
2  * Copyright (c) 2023-2025, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef NEOVERSE_N3_H
8 #define NEOVERSE_N3_H
9 
10 #define NEOVERSE_N3_MIDR				U(0x410FD8E0)
11 
12 /*******************************************************************************
13  * CPU Extended Control register specific definitions
14  ******************************************************************************/
15 #define NEOVERSE_N3_CPUECTLR_EL1			S3_0_C15_C1_4
16 #define NEOVERSE_N3_CPUECTLR_EL1_EXTLLC_BIT		(ULL(1) << 0)
17 
18 /*******************************************************************************
19  * CPU Power Control register specific definitions
20  ******************************************************************************/
21 #define NEOVERSE_N3_CPUPWRCTLR_EL1			S3_0_C15_C2_7
22 #define NEOVERSE_N3_CPUPWRCTLR_EL1_CORE_PWRDN_BIT	U(1)
23 
24 #ifndef __ASSEMBLER__
25 long check_erratum_neoverse_n3_3699563(long cpu_rev);
26 #endif /* __ASSEMBLER__ */
27 
28 #endif /* NEOVERSE_N3_H */
29