blob: 572d573ce66b894409bbb93e2e68bb64b16197b2 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Ian Moltonc316f102008-07-10 20:01:07 +01002/*
3 * eseries-irq.h
4 *
5 * Copyright (C) Ian Molton <spyro@f2s.com>
Ian Moltonc316f102008-07-10 20:01:07 +01006 */
7
8#define ANGELX_IRQ_BASE (IRQ_BOARD_START+8)
9#define IRQ_ANGELX(n) (ANGELX_IRQ_BASE + (n))
10
11#define ANGELX_RDY0_IRQ IRQ_ANGELX(0)
12#define ANGELX_ST0_IRQ IRQ_ANGELX(1)
13#define ANGELX_CD0_IRQ IRQ_ANGELX(2)
14#define ANGELX_RDY1_IRQ IRQ_ANGELX(3)
15#define ANGELX_ST1_IRQ IRQ_ANGELX(4)
16#define ANGELX_CD1_IRQ IRQ_ANGELX(5)
17
18#define TMIO_IRQ_BASE (IRQ_BOARD_START+0)
19#define IRQ_TMIO(n) (TMIO_IRQ_BASE + (n))
20
21#define TMIO_SD_IRQ IRQ_TMIO(1)
22#define TMIO_USB_IRQ IRQ_TMIO(2)
23
Haojian Zhuang6ac6b812010-08-20 15:23:59 +080024#define ESERIES_NR_IRQS (IRQ_BOARD_START + 16)