/*1* Hardware info about DECstation 5000/2x0 systems (otherwise known as2* 3max+) and DECsystem 5900 systems (otherwise known as bigmax) which3* differ mechanically but are otherwise identical (both are known as4* KN03).5*6* This file is subject to the terms and conditions of the GNU General Public7* License. See the file "COPYING" in the main directory of this archive8* for more details.9*10* Copyright (C) 1995,1996 by Paul M. Antoine, some code and definitions11* are by courtesy of Chris Fraser.12* Copyright (C) 2000, 2002, 2003, 2005 Maciej W. Rozycki13*/14#ifndef __ASM_MIPS_DEC_KN03_H15#define __ASM_MIPS_DEC_KN03_H1617#include <asm/dec/ecc.h>18#include <asm/dec/ioasic_addrs.h>1920#define KN03_SLOT_BASE 0x1f8000002122/*23* CPU interrupt bits.24*/25#define KN03_CPU_INR_HALT 6 /* HALT button */26#define KN03_CPU_INR_BUS 5 /* memory, I/O bus read/write errors */27#define KN03_CPU_INR_RES_4 4 /* unused */28#define KN03_CPU_INR_RTC 3 /* DS1287 RTC */29#define KN03_CPU_INR_CASCADE 2 /* I/O ASIC cascade */3031/*32* I/O ASIC interrupt bits. Star marks denote non-IRQ status bits.33*/34#define KN03_IO_INR_3MAXP 15 /* (*) 3max+/bigmax ID */35#define KN03_IO_INR_NVRAM 14 /* (*) NVRAM clear jumper */36#define KN03_IO_INR_TC2 13 /* TURBOchannel slot #2 */37#define KN03_IO_INR_TC1 12 /* TURBOchannel slot #1 */38#define KN03_IO_INR_TC0 11 /* TURBOchannel slot #0 */39#define KN03_IO_INR_NRMOD 10 /* (*) NRMOD manufacturing jumper */40#define KN03_IO_INR_ASC 9 /* ASC (NCR53C94) SCSI */41#define KN03_IO_INR_LANCE 8 /* LANCE (Am7990) Ethernet */42#define KN03_IO_INR_SCC1 7 /* SCC (Z85C30) serial #1 */43#define KN03_IO_INR_SCC0 6 /* SCC (Z85C30) serial #0 */44#define KN03_IO_INR_RTC 5 /* DS1287 RTC */45#define KN03_IO_INR_PSU 4 /* power supply unit warning */46#define KN03_IO_INR_RES_3 3 /* unused */47#define KN03_IO_INR_ASC_DATA 2 /* SCSI data ready (for PIO) */48#define KN03_IO_INR_PBNC 1 /* ~HALT button debouncer */49#define KN03_IO_INR_PBNO 0 /* HALT button debouncer */505152/*53* Memory Control Register bits.54*/55#define KN03_MCR_RES_16 (0xffff<<16) /* unused */56#define KN03_MCR_DIAGCHK (1<<15) /* diagn/norml ECC reads */57#define KN03_MCR_DIAGGEN (1<<14) /* diagn/norml ECC writes */58#define KN03_MCR_CORRECT (1<<13) /* ECC correct/check */59#define KN03_MCR_RES_11 (0x3<<12) /* unused */60#define KN03_MCR_BNK32M (1<<10) /* 32M/8M stride */61#define KN03_MCR_RES_7 (0x7<<7) /* unused */62#define KN03_MCR_CHECK (0x7f<<0) /* diagnostic check bits */6364/*65* I/O ASIC System Support Register bits.66*/67#define KN03_IO_SSR_TXDIS1 (1<<14) /* SCC1 transmit disable */68#define KN03_IO_SSR_TXDIS0 (1<<13) /* SCC0 transmit disable */69#define KN03_IO_SSR_RES_12 (1<<12) /* unused */7071#define KN03_IO_SSR_LEDS (0xff<<0) /* ~diagnostic LEDs */7273#endif /* __ASM_MIPS_DEC_KN03_H */747576