Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Jamie Lenehan | a09749d | 2006-09-27 15:05:39 +0900 | [diff] [blame] | 2 | /* |
Adam Buchbinder | 6070d81 | 2009-12-04 15:47:01 -0500 | [diff] [blame] | 3 | * Platform definitions for Titan |
Jamie Lenehan | a09749d | 2006-09-27 15:05:39 +0900 | [diff] [blame] | 4 | */ |
Jamie Lenehan | ea0f8fe | 2006-12-06 12:05:02 +0900 | [diff] [blame] | 5 | #ifndef _ASM_SH_TITAN_H |
| 6 | #define _ASM_SH_TITAN_H |
Jamie Lenehan | a09749d | 2006-09-27 15:05:39 +0900 | [diff] [blame] | 7 | |
Paul Mundt | 58796ce | 2012-05-18 17:42:29 +0900 | [diff] [blame] | 8 | #include <linux/sh_intc.h> |
| 9 | |
Jamie Lenehan | a09749d | 2006-09-27 15:05:39 +0900 | [diff] [blame] | 10 | #define __IO_PREFIX titan |
| 11 | #include <asm/io_generic.h> |
| 12 | |
| 13 | /* IRQ assignments */ |
Paul Mundt | 58796ce | 2012-05-18 17:42:29 +0900 | [diff] [blame] | 14 | #define TITAN_IRQ_WAN evt2irq(0x240) /* eth0 (WAN) */ |
| 15 | #define TITAN_IRQ_LAN evt2irq(0x2a0) /* eth1 (LAN) */ |
| 16 | #define TITAN_IRQ_MPCIA evt2irq(0x300) /* mPCI A */ |
| 17 | #define TITAN_IRQ_MPCIB evt2irq(0x360) /* mPCI B */ |
| 18 | #define TITAN_IRQ_USB evt2irq(0x360) /* USB */ |
Jamie Lenehan | a09749d | 2006-09-27 15:05:39 +0900 | [diff] [blame] | 19 | |
Jamie Lenehan | ea0f8fe | 2006-12-06 12:05:02 +0900 | [diff] [blame] | 20 | #endif /* __ASM_SH_TITAN_H */ |