xref: /rk3399_ARM-atf/plat/xilinx/zynqmp/include/plat_ipi.h (revision 63436bde92880aad77ad0e220d77d8dc14f182f9)
11611ef2bSJolly Shah /*
21611ef2bSJolly Shah  * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
31611ef2bSJolly Shah  *
41611ef2bSJolly Shah  * SPDX-License-Identifier: BSD-3-Clause
51611ef2bSJolly Shah  */
61611ef2bSJolly Shah 
71611ef2bSJolly Shah /* ZynqMP IPI management enums and defines */
81611ef2bSJolly Shah 
91611ef2bSJolly Shah #ifndef PLAT_IPI_H
101611ef2bSJolly Shah #define PLAT_IPI_H
111611ef2bSJolly Shah 
121611ef2bSJolly Shah #include <stdint.h>
13b8e39f49SJolly Shah #include <ipi.h>
141611ef2bSJolly Shah 
151611ef2bSJolly Shah /*********************************************************************
161611ef2bSJolly Shah  * IPI agent IDs macros
171611ef2bSJolly Shah  ********************************************************************/
181611ef2bSJolly Shah #define IPI_ID_APU	0U
191611ef2bSJolly Shah #define IPI_ID_RPU0	1U
201611ef2bSJolly Shah #define IPI_ID_RPU1	2U
211611ef2bSJolly Shah #define IPI_ID_PMU0	3U
221611ef2bSJolly Shah #define IPI_ID_PMU1	4U
231611ef2bSJolly Shah #define IPI_ID_PMU2	5U
241611ef2bSJolly Shah #define IPI_ID_PMU3	6U
251611ef2bSJolly Shah #define IPI_ID_PL0	7U
261611ef2bSJolly Shah #define IPI_ID_PL1	8U
271611ef2bSJolly Shah #define IPI_ID_PL2	9U
281611ef2bSJolly Shah #define IPI_ID_PL3	10U
291611ef2bSJolly Shah 
301611ef2bSJolly Shah /*********************************************************************
31*63436bdeSJolly Shah  * Platform specific IPI API declarations
321611ef2bSJolly Shah  ********************************************************************/
331611ef2bSJolly Shah 
34b8e39f49SJolly Shah /* Configure IPI table for zynqmp */
35b8e39f49SJolly Shah void zynqmp_ipi_config_table_init(void);
36b8e39f49SJolly Shah 
371611ef2bSJolly Shah #endif /* PLAT_IPI_H */
38