summaryrefslogtreecommitdiffstats
path: root/include/drivers/arm/arm_gicv3_common.h
blob: d1e93be670282ee0ed2782e52005cd0e4c46aae0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */
#ifndef ARM_GICV3_COMMON_H
#define ARM_GICV3_COMMON_H

/*******************************************************************************
 * GIC500/GIC600 Re-distributor interface registers & constants
 ******************************************************************************/

/* GICR_WAKER implementation-defined bit definitions */
#define	WAKER_SL_SHIFT		0
#define	WAKER_QSC_SHIFT		31

#define WAKER_SL_BIT		(1U << WAKER_SL_SHIFT)
#define WAKER_QSC_BIT		(1U << WAKER_QSC_SHIFT)

#define IIDR_MODEL_ARM_GIC_600		U(0x0200043b)
#define IIDR_MODEL_ARM_GIC_600AE	U(0x0300043b)
#define IIDR_MODEL_ARM_GIC_700		U(0x0400043b)

#define PIDR_COMPONENT_ARM_DIST		U(0x492)
#define PIDR_COMPONENT_ARM_REDIST	U(0x493)
#define PIDR_COMPONENT_ARM_ITS		U(0x494)

#endif /* ARM_GICV3_COMMON_H */