ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-ia64 / sn / sn2 / 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-2003 Silicon Graphics, Inc.  All rights reserved.
7  */
8
9
10 #ifndef _ASM_IA64_SN_SN2_SHUB_H
11 #define _ASM_IA64_SN_SN2_SHUB_H
12
13 /*
14  * Junk Bus Address Space
15  *   The junk bus is used to access the PROM, LED's, and UART. It's 
16  *   accessed through the local block MMR space. The data path is
17  *   16 bits wide. This space requires address bits 31-27 to be set, and
18  *   is further divided by address bits 26:15.
19  *   The LED addresses are write-only. To read the LEDs, you need to use
20  *   SH_JUNK_BUS_LED0-3, defined in shub_mmr.h
21  *              
22  */
23 #define SH_REAL_JUNK_BUS_LED0           0x7fed00000
24 #define SH_REAL_JUNK_BUS_LED1           0x7fed10000
25 #define SH_REAL_JUNK_BUS_LED2           0x7fed20000
26 #define SH_REAL_JUNK_BUS_LED3           0x7fed30000
27 #define SH_JUNK_BUS_UART0               0x7fed40000
28 #define SH_JUNK_BUS_UART1               0x7fed40008
29 #define SH_JUNK_BUS_UART2               0x7fed40010
30 #define SH_JUNK_BUS_UART3               0x7fed40018
31 #define SH_JUNK_BUS_UART4               0x7fed40020
32 #define SH_JUNK_BUS_UART5               0x7fed40028
33 #define SH_JUNK_BUS_UART6               0x7fed40030
34 #define SH_JUNK_BUS_UART7               0x7fed40038
35
36 #endif /* _ASM_IA64_SN_SN2_SHUB_H */