File: /usr/src/linux/include/asm-mips/dec/kn03.h
1 /*
2 * Hardware info about DEC DECstation 5000/2x0 systems (otherwise known
3 * as 3max+ or kn03.
4 *
5 * This file is subject to the terms and conditions of the GNU General Public
6 * License. See the file "COPYING" in the main directory of this archive
7 * for more details.
8 *
9 * Copyright (C) 1995,1996 by Paul M. Antoine, some code and definitions
10 * are by curteousy of Chris Fraser.
11 * Copyright (C) 2000 Maciej W. Rozycki
12 *
13 * These are addresses which have to be known early in the boot process.
14 * For other addresses refer to tc.h ioasic_addrs.h and friends.
15 */
16 #ifndef __ASM_MIPS_DEC_KN03_H
17 #define __ASM_MIPS_DEC_KN03_H
18
19 #include <asm/addrspace.h>
20
21 /*
22 * Some port addresses...
23 * FIXME: these addresses are incomplete and need tidying up!
24 */
25 #define KN03_IOASIC_BASE KSEG1ADDR(0x1f840000) /* I/O ASIC */
26 #define KN03_RTC_BASE KSEG1ADDR(0x1fa00000) /* RTC */
27 #define KN03_MCR_BASE KSEG1ADDR(0x1fac0000) /* MCR */
28
29 #define KN03_MCR_BNK32M (1<<10) /* 32M stride */
30 #define KN03_MCR_ECCEN (1<<13) /* ECC enabled */
31
32 #define KN03_IOASIC_REG(r) (KN03_IOASIC_BASE+(r))
33
34 #endif /* __ASM_MIPS_DEC_KN03_H */
35