diff options
author | Hector Martin <marcan@marcan.st> | 2021-02-04 17:01:56 +0300 |
---|---|---|
committer | Hector Martin <marcan@marcan.st> | 2021-04-08 14:18:41 +0300 |
commit | f531d25bda553c71696bb5fc6bf90fb28c6fae36 (patch) | |
tree | 9f1faf3fe6f4460b4aae323fdba43a2d67941633 /include/dt-bindings | |
parent | 8a657f71705f9f9c2bf8308e2cfd57b9f329e0d9 (diff) | |
download | linux-f531d25bda553c71696bb5fc6bf90fb28c6fae36.tar.xz |
dt-bindings: interrupt-controller: Add DT bindings for apple-aic
AIC is the Apple Interrupt Controller found on Apple ARM SoCs, such as
the M1.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hector Martin <marcan@marcan.st>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/interrupt-controller/apple-aic.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/dt-bindings/interrupt-controller/apple-aic.h b/include/dt-bindings/interrupt-controller/apple-aic.h new file mode 100644 index 000000000000..604f2bb30ac0 --- /dev/null +++ b/include/dt-bindings/interrupt-controller/apple-aic.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR MIT */ +#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_APPLE_AIC_H +#define _DT_BINDINGS_INTERRUPT_CONTROLLER_APPLE_AIC_H + +#include <dt-bindings/interrupt-controller/irq.h> + +#define AIC_IRQ 0 +#define AIC_FIQ 1 + +#define AIC_TMR_HV_PHYS 0 +#define AIC_TMR_HV_VIRT 1 +#define AIC_TMR_GUEST_PHYS 2 +#define AIC_TMR_GUEST_VIRT 3 + +#endif |