summaryrefslogtreecommitdiff
path: root/include/dt-bindings/interrupt-controller
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-10-31 12:21:12 -0400
committerTom Rini <trini@konsulko.com>2021-10-31 12:21:12 -0400
commit50bff6a6f86669a8652e2bf271eeb04f77911274 (patch)
tree2ab5f207ca3c191e5c1e67f66459d3b4a6f3fb0a /include/dt-bindings/interrupt-controller
parenta09929cc6c5a108f89e91660f37d745ed119385b (diff)
parent3e2095e960b47a3c0211a3a1e52c74b1761cb0be (diff)
Merge branch '2021-10-31-assorted-platform-updates'
- Revert GIC LPI changes that need to be reworked. - mvebu SATA booting bugfix - Samsung Galaxy S9/S9+(SM-G96x0), Samsung Galaxy A and Apple M1 platform support.
Diffstat (limited to 'include/dt-bindings/interrupt-controller')
-rw-r--r--include/dt-bindings/interrupt-controller/apple-aic.h15
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 00000000000..9ac56a7e6d3
--- /dev/null
+++ b/include/dt-bindings/interrupt-controller/apple-aic.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
+#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