blob: 41aced8d289478ffee6572ab034b0daef017359d [file] [log] [blame]
Joel Hutton9463cae2018-05-04 15:09:47 +01001/*
johpow0168aedc72020-06-03 15:23:31 -05002 * Copyright (c) 2018-2020, ARM Limited and Contributors. All rights reserved.
Joel Hutton9463cae2018-05-04 15:09:47 +01003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Balint Dobszaycc942642019-07-03 13:02:56 +02007#ifndef CORTEX_A77_H
8#define CORTEX_A77_H
Joel Hutton9463cae2018-05-04 15:09:47 +01009
Antonio Nino Diaz5e79cfe2019-02-11 13:34:15 +000010#include <lib/utils_def.h>
11
Balint Dobszaycc942642019-07-03 13:02:56 +020012/* Cortex-A77 MIDR */
13#define CORTEX_A77_MIDR U(0x410FD0D0)
Joel Hutton9463cae2018-05-04 15:09:47 +010014
15/*******************************************************************************
16 * CPU Extended Control register specific definitions.
17 ******************************************************************************/
Balint Dobszaycc942642019-07-03 13:02:56 +020018#define CORTEX_A77_CPUECTLR_EL1 S3_0_C15_C1_4
johpow0168aedc72020-06-03 15:23:31 -050019#define CORTEX_A77_CPUECTLR_EL1_BIT_53 (ULL(1) << 53)
Joel Hutton9463cae2018-05-04 15:09:47 +010020
21/*******************************************************************************
22 * CPU Power Control register specific definitions.
23 ******************************************************************************/
Balint Dobszaycc942642019-07-03 13:02:56 +020024#define CORTEX_A77_CPUPWRCTLR_EL1 S3_0_C15_C2_7
25#define CORTEX_A77_CPUPWRCTLR_EL1_CORE_PWRDN_BIT (U(1) << 0)
Joel Hutton9463cae2018-05-04 15:09:47 +010026
laurenw-arm99ad9762020-07-14 14:18:34 -050027#define CORTEX_A77_CPUPSELR_EL3 S3_6_C15_C8_0
28#define CORTEX_A77_CPUPCR_EL3 S3_6_C15_C8_1
29#define CORTEX_A77_CPUPOR_EL3 S3_6_C15_C8_2
30#define CORTEX_A77_CPUPMR_EL3 S3_6_C15_C8_3
31#define CORTEX_A77_CPUPOR2_EL3 S3_6_C15_C8_4
32#define CORTEX_A77_CPUPMR2_EL3 S3_6_C15_C8_5
33
Balint Dobszaycc942642019-07-03 13:02:56 +020034#endif /* CORTEX_A77_H */