xref: /rk3399_ARM-atf/include/drivers/arm/arm_gicv3_common.h (revision 4ce3e99a336b74611349595ea7fd5ed0277c3eeb)
1 /*
2  * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 #ifndef ARM_GICV3_COMMON_H
7 #define ARM_GICV3_COMMON_H
8 
9 /*******************************************************************************
10  * GIC500/GIC600 Re-distributor interface registers & constants
11  ******************************************************************************/
12 
13 /* GICR_WAKER implementation-defined bit definitions */
14 #define	WAKER_SL_SHIFT		0
15 #define	WAKER_QSC_SHIFT		31
16 
17 #define WAKER_SL_BIT		(1U << WAKER_SL_SHIFT)
18 #define WAKER_QSC_BIT		(1U << WAKER_QSC_SHIFT)
19 
20 #define IIDR_MODEL_ARM_GIC_600		U(0x0200043b)
21 #define IIDR_MODEL_ARM_GIC_600AE	U(0x0300043b)
22 #define IIDR_MODEL_ARM_GIC_700		U(0x0400043b)
23 
24 #endif /* ARM_GICV3_COMMON_H */
25