1/*
2 *	include/asm-mips/dec/kn02ca.h
3 *
4 *	Personal DECstation 5000/xx (Maxine or KN02-CA) 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_KN02CA_H
14#define __ASM_MIPS_DEC_KN02CA_H
15
16#include <asm/dec/kn02xa.h>		/* For common definitions. */
17
18/*
19 * Some port addresses...
20 */
21#define KN02CA_IOASIC_BASE	KN02XA_IOASIC_BASE	/* I/O ASIC */
22#define KN02CA_RTC_BASE		KN02XA_RTC_BASE		/* RTC */
23
24/*
25 * CPU interrupt bits.
26 */
27#define KN02CA_CPU_INR_HALT	6	/* HALT from ACCESS.Bus */
28#define KN02CA_CPU_INR_CASCADE	5	/* I/O ASIC cascade */
29#define KN02CA_CPU_INR_MEMORY	4	/* memory, I/O bus write errors */
30#define KN02CA_CPU_INR_RTC	3	/* DS1287 RTC */
31#define KN02CA_CPU_INR_TIMER	2	/* ARC periodic timer */
32
33/*
34 * I/O ASIC interrupt bits.  Star marks denote non-IRQ status bits.
35 */
36#define KN02CA_IO_INR_FLOPPY	15	/* 82077 FDC */
37#define KN02CA_IO_INR_NVRAM	14	/* (*) NVRAM clear jumper */
38#define KN02CA_IO_INR_POWERON	13	/* (*) power-on reset */
39#define KN02CA_IO_INR_TC0	12	/* TURBOchannel slot #0 */
40#define KN02CA_IO_INR_ISDN	11	/* Am79C30A ISDN */
41#define KN02CA_IO_INR_NRMOD	10	/* (*) NRMOD manufacturing jumper */
42#define KN02CA_IO_INR_ASC	9	/* ASC (NCR53C94) SCSI */
43#define KN02CA_IO_INR_LANCE	8	/* LANCE (Am7990) Ethernet */
44#define KN02CA_IO_INR_HDFLOPPY	7	/* (*) HD (1.44MB) floppy status */
45#define KN02CA_IO_INR_SCC0	6	/* SCC (Z85C30) serial #0 */
46#define KN02CA_IO_INR_TC1	5	/* TURBOchannel slot #1 */
47#define KN02CA_IO_INR_XDFLOPPY	4	/* (*) XD (2.88MB) floppy status */
48#define KN02CA_IO_INR_VIDEO	3	/* framebuffer */
49#define KN02CA_IO_INR_XVIDEO	2	/* ~framebuffer */
50#define KN02CA_IO_INR_AB_XMIT	1	/* ACCESS.bus transmit */
51#define KN02CA_IO_INR_AB_RECV	0	/* ACCESS.bus receive */
52
53#endif /* __ASM_MIPS_DEC_KN02CA_H */
54