• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  *  tb0226.h, Include file for TANBAC TB0226.
4  *
5  *  Copyright (C) 2002-2004  Yoichi Yuasa <yuasa@linux-mips.org>
6  */
7 #ifndef __TANBAC_TB0226_H
8 #define __TANBAC_TB0226_H
9 
10 #include <asm/vr41xx/irq.h>
11 
12 /*
13  * General-Purpose I/O Pin Number
14  */
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
20 
21 /*
22  * Interrupt Number
23  */
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)
29 
30 #endif /* __TANBAC_TB0226_H */
31