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