lkml.org 
[lkml]   [2020]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 02/14] mips: bmips: add BCM3368 irq definitions
Date
Add header with BCM3368 definitions in order to be able to include it from
device tree files.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
---
.../bcm3368-interrupt-controller.h | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 include/dt-bindings/interrupt-controller/bcm3368-interrupt-controller.h

diff --git a/include/dt-bindings/interrupt-controller/bcm3368-interrupt-controller.h b/include/dt-bindings/interrupt-controller/bcm3368-interrupt-controller.h
new file mode 100644
index 000000000000..e269c1bb93ea
--- /dev/null
+++ b/include/dt-bindings/interrupt-controller/bcm3368-interrupt-controller.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+
+#ifndef __DT_BINDINGS_INTERRUPT_CONTROLLER_BCM3368_H
+#define __DT_BINDINGS_INTERRUPT_CONTROLLER_BCM3368_H
+
+#define BCM3368_IRQ_TIMER 0
+#define BCM3368_IRQ_SPI 1
+#define BCM3368_IRQ_UART0 2
+#define BCM3368_IRQ_UART1 3
+#define BCM3368_IRQ_ENET1 6
+#define BCM3368_IRQ_ENET0 8
+#define BCM3368_IRQ_ENET_PHY 9
+#define BCM3368_IRQ_ENET0_RX_DMA 15
+#define BCM3368_IRQ_ENET0_TX_DMA 16
+#define BCM3368_IRQ_ENET1_RX_DMA 17
+#define BCM3368_IRQ_ENET1_TX_DMA 18
+#define BCM3368_IRQ_PCI 31
+
+#endif /* __DT_BINDINGS_INTERRUPT_CONTROLLER_BCM3368_H */
--
2.28.0
\
 
 \ /
  Last update: 2020-08-12 08:33    [W:0.141 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site