1/*
2 *	include/asm-mips/dec/kn02ba.h
3 *
4 *	DECstation 5000/1xx (3min or KN02-BA) definitions.
5 *
6 *	Copyright (C) 2002  Maciej W. Rozycki
7 *
8 *	This program is free software; you can redistribute it and/or
9 *	modify it under the terms of the GNU General Public License
10 *	as published by the Free Software Foundation; either version
11 *	2 of the License, or (at your option) any later version.
12 */
13#ifndef __ASM_MIPS_DEC_KN02BA_H
14#define __ASM_MIPS_DEC_KN02BA_H
15
16#include <asm/dec/kn02xa.h>		/* For common definitions. */
17
18/*
19 * Some port addresses...
20 */
21#define KN02BA_IOASIC_BASE	KN02XA_IOASIC_BASE	/* I/O ASIC */
22#define KN02BA_RTC_BASE		KN02XA_RTC_BASE		/* RTC */
23
24/*
25 * CPU interrupt bits.
26 */
27#define KN02BA_CPU_INR_HALT	6	/* HALT button */
28#define KN02BA_CPU_INR_CASCADE	5	/* I/O ASIC cascade */
29#define KN02BA_CPU_INR_TC2	4	/* TURBOchannel slot #2 */
30#define KN02BA_CPU_INR_TC1	3	/* TURBOchannel slot #1 */
31#define KN02BA_CPU_INR_TC0	2	/* TURBOchannel slot #0 */
32
33/*
34 * I/O ASIC interrupt bits.  Star marks denote non-IRQ status bits.
35 */
36#define KN02BA_IO_INR_RES_15	15	/* unused */
37#define KN02BA_IO_INR_NVRAM	14	/* (*) NVRAM clear jumper */
38#define KN02BA_IO_INR_RES_13	13	/* unused */
39#define KN02BA_IO_INR_MEMORY	12	/* memory, I/O bus write errors */
40#define KN02BA_IO_INR_RES_11	11	/* unused */
41#define KN02BA_IO_INR_NRMOD	10	/* (*) NRMOD manufacturing jumper */
42#define KN02BA_IO_INR_ASC	9	/* ASC (NCR53C94) SCSI */
43#define KN02BA_IO_INR_LANCE	8	/* LANCE (Am7990) Ethernet */
44#define KN02BA_IO_INR_SCC1	7	/* SCC (Z85C30) serial #1 */
45#define KN02BA_IO_INR_SCC0	6	/* SCC (Z85C30) serial #0 */
46#define KN02BA_IO_INR_RTC	5	/* DS1287 RTC */
47#define KN02BA_IO_INR_PSU	4	/* power supply unit warning */
48#define KN02BA_IO_INR_RES_3	3	/* unused */
49#define KN02BA_IO_INR_ASC_DATA	2	/* SCSI data ready (discouraged?) */
50#define KN02BA_IO_INR_PBNC	1	/* HALT button debouncer */
51#define KN02BA_IO_INR_PBNO	0	/* ~HALT button debouncer */
52
53#endif /* __ASM_MIPS_DEC_KN02BA_H */
54