1*2874c5fdSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */ 2384740dcSRalf Baechle /* 3384740dcSRalf Baechle * include/asm-mips/dec/kn02ba.h 4384740dcSRalf Baechle * 5384740dcSRalf Baechle * DECstation 5000/1xx (3min or KN02-BA) definitions. 6384740dcSRalf Baechle * 7384740dcSRalf Baechle * Copyright (C) 2002, 2003 Maciej W. Rozycki 8384740dcSRalf Baechle */ 9384740dcSRalf Baechle #ifndef __ASM_MIPS_DEC_KN02BA_H 10384740dcSRalf Baechle #define __ASM_MIPS_DEC_KN02BA_H 11384740dcSRalf Baechle 12384740dcSRalf Baechle #include <asm/dec/kn02xa.h> /* For common definitions. */ 13384740dcSRalf Baechle 14384740dcSRalf Baechle /* 15384740dcSRalf Baechle * CPU interrupt bits. 16384740dcSRalf Baechle */ 17384740dcSRalf Baechle #define KN02BA_CPU_INR_HALT 6 /* HALT button */ 18384740dcSRalf Baechle #define KN02BA_CPU_INR_CASCADE 5 /* I/O ASIC cascade */ 19384740dcSRalf Baechle #define KN02BA_CPU_INR_TC2 4 /* TURBOchannel slot #2 */ 20384740dcSRalf Baechle #define KN02BA_CPU_INR_TC1 3 /* TURBOchannel slot #1 */ 21384740dcSRalf Baechle #define KN02BA_CPU_INR_TC0 2 /* TURBOchannel slot #0 */ 22384740dcSRalf Baechle 23384740dcSRalf Baechle /* 24384740dcSRalf Baechle * I/O ASIC interrupt bits. Star marks denote non-IRQ status bits. 25384740dcSRalf Baechle */ 26384740dcSRalf Baechle #define KN02BA_IO_INR_RES_15 15 /* unused */ 27384740dcSRalf Baechle #define KN02BA_IO_INR_NVRAM 14 /* (*) NVRAM clear jumper */ 28384740dcSRalf Baechle #define KN02BA_IO_INR_RES_13 13 /* unused */ 29384740dcSRalf Baechle #define KN02BA_IO_INR_BUS 12 /* memory, I/O bus read/write errors */ 30384740dcSRalf Baechle #define KN02BA_IO_INR_RES_11 11 /* unused */ 31384740dcSRalf Baechle #define KN02BA_IO_INR_NRMOD 10 /* (*) NRMOD manufacturing jumper */ 32384740dcSRalf Baechle #define KN02BA_IO_INR_ASC 9 /* ASC (NCR53C94) SCSI */ 33384740dcSRalf Baechle #define KN02BA_IO_INR_LANCE 8 /* LANCE (Am7990) Ethernet */ 34384740dcSRalf Baechle #define KN02BA_IO_INR_SCC1 7 /* SCC (Z85C30) serial #1 */ 35384740dcSRalf Baechle #define KN02BA_IO_INR_SCC0 6 /* SCC (Z85C30) serial #0 */ 36384740dcSRalf Baechle #define KN02BA_IO_INR_RTC 5 /* DS1287 RTC */ 37384740dcSRalf Baechle #define KN02BA_IO_INR_PSU 4 /* power supply unit warning */ 38384740dcSRalf Baechle #define KN02BA_IO_INR_RES_3 3 /* unused */ 39384740dcSRalf Baechle #define KN02BA_IO_INR_ASC_DATA 2 /* SCSI data ready (for PIO) */ 40384740dcSRalf Baechle #define KN02BA_IO_INR_PBNC 1 /* ~HALT button debouncer */ 41384740dcSRalf Baechle #define KN02BA_IO_INR_PBNO 0 /* HALT button debouncer */ 42384740dcSRalf Baechle 43384740dcSRalf Baechle 44384740dcSRalf Baechle /* 45384740dcSRalf Baechle * Memory Error Register bits. 46384740dcSRalf Baechle */ 47384740dcSRalf Baechle #define KN02BA_MER_RES_27 (1<<27) /* unused */ 48384740dcSRalf Baechle 49384740dcSRalf Baechle /* 50384740dcSRalf Baechle * Memory Size Register bits. 51384740dcSRalf Baechle */ 52384740dcSRalf Baechle #define KN02BA_MSR_RES_17 (0x3ff<<17) /* unused */ 53384740dcSRalf Baechle 54384740dcSRalf Baechle /* 55384740dcSRalf Baechle * I/O ASIC System Support Register bits. 56384740dcSRalf Baechle */ 57384740dcSRalf Baechle #define KN02BA_IO_SSR_TXDIS1 (1<<14) /* SCC1 transmit disable */ 58384740dcSRalf Baechle #define KN02BA_IO_SSR_TXDIS0 (1<<13) /* SCC0 transmit disable */ 59384740dcSRalf Baechle #define KN02BA_IO_SSR_RES_12 (1<<12) /* unused */ 60384740dcSRalf Baechle 61384740dcSRalf Baechle #define KN02BA_IO_SSR_LEDS (0xff<<0) /* ~diagnostic LEDs */ 62384740dcSRalf Baechle 63384740dcSRalf Baechle #endif /* __ASM_MIPS_DEC_KN02BA_H */ 64