xref: /rk3399_ARM-atf/include/lib/cpus/aarch64/neoverse_n3.h (revision 6dacf15c1cd8f5c685c76a6ed90d63e90a65d79c)
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 
17 /*******************************************************************************
18  * CPU Extended Control register 2 specific definitions.
19  ******************************************************************************/
20 #define NEOVERSE_N3_CPUECTLR2_EL1			S3_0_C15_C1_5
21 #define NEOVERSE_N3_CPUECTLR2_EL1_SW_EXT_LLC_BIT	(ULL(1) << 10)
22 
23 /*******************************************************************************
24  * CPU Power Control register specific definitions
25  ******************************************************************************/
26 #define NEOVERSE_N3_CPUPWRCTLR_EL1			S3_0_C15_C2_7
27 #define NEOVERSE_N3_CPUPWRCTLR_EL1_CORE_PWRDN_BIT	U(1)
28 
29 #ifndef __ASSEMBLER__
30 long check_erratum_neoverse_n3_3699563(long cpu_rev);
31 #endif /* __ASSEMBLER__ */
32 
33 #endif /* NEOVERSE_N3_H */
34