Fedora Core 2.6.12-1.1398_FC4 kernel
[linux-2.6.git] / arch / ia64 / sn / include / shub.h
1 /*
2  * This file is subject to the terms and conditions of the GNU General Public
3  * License.  See the file "COPYING" in the main directory of this archive
4  * for more details.
5  *
6  * Copyright (c) 2001-2004 Silicon Graphics, Inc.  All rights reserved.
7  */
8
9 #ifndef _ASM_IA64_SN_SHUB_H
10 #define _ASM_IA64_SN_SHUB_H
11
12
13 #define MD_MEM_BANKS            4
14
15
16 /*
17  * Junk Bus Address Space
18  *   The junk bus is used to access the PROM, LED's, and UART. It's 
19  *   accessed through the local block MMR space. The data path is
20  *   16 bits wide. This space requires address bits 31-27 to be set, and
21  *   is further divided by address bits 26:15.
22  *   The LED addresses are write-only. To read the LEDs, you need to use
23  *   SH_JUNK_BUS_LED0-3, defined in shub_mmr.h
24  *              
25  */
26 #define SH_REAL_JUNK_BUS_LED0           0x7fed00000UL
27 #define SH_REAL_JUNK_BUS_LED1           0x7fed10000UL
28 #define SH_REAL_JUNK_BUS_LED2           0x7fed20000UL
29 #define SH_REAL_JUNK_BUS_LED3           0x7fed30000UL
30 #define SH_JUNK_BUS_UART0               0x7fed40000UL
31 #define SH_JUNK_BUS_UART1               0x7fed40008UL
32 #define SH_JUNK_BUS_UART2               0x7fed40010UL
33 #define SH_JUNK_BUS_UART3               0x7fed40018UL
34 #define SH_JUNK_BUS_UART4               0x7fed40020UL
35 #define SH_JUNK_BUS_UART5               0x7fed40028UL
36 #define SH_JUNK_BUS_UART6               0x7fed40030UL
37 #define SH_JUNK_BUS_UART7               0x7fed40038UL
38
39 #endif /* _ASM_IA64_SN_SHUB_H */