1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * tb0226.h, Include file for TANBAC TB0226.
5 * Copyright (C) 2002-2004 Yoichi Yuasa <yuasa@linux-mips.org>
7 #ifndef __TANBAC_TB0226_H
8 #define __TANBAC_TB0226_H
10 #include <asm/vr41xx/irq.h>
13 * General-Purpose I/O Pin Number
15 #define GD82559_1_PIN 2
16 #define GD82559_2_PIN 3
17 #define UPD720100_INTA_PIN 4
18 #define UPD720100_INTB_PIN 8
19 #define UPD720100_INTC_PIN 13
24 #define GD82559_1_IRQ GIU_IRQ(GD82559_1_PIN)
25 #define GD82559_2_IRQ GIU_IRQ(GD82559_2_PIN)
26 #define UPD720100_INTA_IRQ GIU_IRQ(UPD720100_INTA_PIN)
27 #define UPD720100_INTB_IRQ GIU_IRQ(UPD720100_INTB_PIN)
28 #define UPD720100_INTC_IRQ GIU_IRQ(UPD720100_INTC_PIN)
30 #endif /* __TANBAC_TB0226_H */