xref: /freebsd-src/sys/contrib/device-tree/include/dt-bindings/interrupt-controller/apple-aic.h (revision 2eb4d8dc723da3cf7d735a3226ae49da4c8c5dbc)
1*2eb4d8dcSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0+ OR MIT */
2*2eb4d8dcSEmmanuel Vadot #ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_APPLE_AIC_H
3*2eb4d8dcSEmmanuel Vadot #define _DT_BINDINGS_INTERRUPT_CONTROLLER_APPLE_AIC_H
4*2eb4d8dcSEmmanuel Vadot 
5*2eb4d8dcSEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h>
6*2eb4d8dcSEmmanuel Vadot 
7*2eb4d8dcSEmmanuel Vadot #define AIC_IRQ	0
8*2eb4d8dcSEmmanuel Vadot #define AIC_FIQ	1
9*2eb4d8dcSEmmanuel Vadot 
10*2eb4d8dcSEmmanuel Vadot #define AIC_TMR_HV_PHYS		0
11*2eb4d8dcSEmmanuel Vadot #define AIC_TMR_HV_VIRT		1
12*2eb4d8dcSEmmanuel Vadot #define AIC_TMR_GUEST_PHYS	2
13*2eb4d8dcSEmmanuel Vadot #define AIC_TMR_GUEST_VIRT	3
14*2eb4d8dcSEmmanuel Vadot 
15*2eb4d8dcSEmmanuel Vadot #endif
16