summaryrefslogtreecommitdiff
path: root/linux/arch/sh/include/mach-common/mach/titan.h
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2016-04-25 10:00:44 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2016-04-25 10:00:44 -0400
commita1df417e74aa6dae7352dc8cbb0ad471af5b7c69 (patch)
treec34b2311e37ea31db153c90cb8f4570374d05e78 /linux/arch/sh/include/mach-common/mach/titan.h
initial Olimex linux tree from Daniel, originally Feb 3, 2016
Diffstat (limited to 'linux/arch/sh/include/mach-common/mach/titan.h')
-rw-r--r--linux/arch/sh/include/mach-common/mach/titan.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/linux/arch/sh/include/mach-common/mach/titan.h b/linux/arch/sh/include/mach-common/mach/titan.h
new file mode 100644
index 00000000..fa3cd801
--- /dev/null
+++ b/linux/arch/sh/include/mach-common/mach/titan.h
@@ -0,0 +1,19 @@
+/*
+ * Platform definitions for Titan
+ */
+#ifndef _ASM_SH_TITAN_H
+#define _ASM_SH_TITAN_H
+
+#include <linux/sh_intc.h>
+
+#define __IO_PREFIX titan
+#include <asm/io_generic.h>
+
+/* IRQ assignments */
+#define TITAN_IRQ_WAN evt2irq(0x240) /* eth0 (WAN) */
+#define TITAN_IRQ_LAN evt2irq(0x2a0) /* eth1 (LAN) */
+#define TITAN_IRQ_MPCIA evt2irq(0x300) /* mPCI A */
+#define TITAN_IRQ_MPCIB evt2irq(0x360) /* mPCI B */
+#define TITAN_IRQ_USB evt2irq(0x360) /* USB */
+
+#endif /* __ASM_SH_TITAN_H */