b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * Platform definitions for Titan |
| 4 | */ |
| 5 | #ifndef _ASM_SH_TITAN_H |
| 6 | #define _ASM_SH_TITAN_H |
| 7 | |
| 8 | #include <linux/sh_intc.h> |
| 9 | |
| 10 | #define __IO_PREFIX titan |
| 11 | #include <asm/io_generic.h> |
| 12 | |
| 13 | /* IRQ assignments */ |
| 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 */ |
| 19 | |
| 20 | #endif /* __ASM_SH_TITAN_H */ |