1 /* 2 * 3 * This file is subject to the terms and conditions of the GNU General Public 4 * License. See the file "COPYING" in the main directory of this archive 5 * for more details. 6 * 7 * Copyright (c) 2001-2003 Silicon Graphics, Inc. All rights reserved. 8 */ 9 10 11 #ifndef _ASM_IA64_SN_SN2_SHUB_H 12 #define _ASM_IA64_SN_SN2_SHUB_H 13 14 #include <asm/sn/sn2/shub_mmr.h> /* shub mmr addresses and formats */ 15 #include <asm/sn/sn2/shub_md.h> 16 #include <asm/sn/sn2/shubio.h> 17 #ifndef __ASSEMBLY__ 18 #include <asm/sn/sn2/shub_mmr_t.h> /* shub mmr struct defines */ 19 #endif 20 21 /* 22 * Junk Bus Address Space 23 * The junk bus is used to access the PROM, LED's, and UART. It's 24 * accessed through the local block MMR space. The data path is 25 * 16 bits wide. This space requires address bits 31-27 to be set, and 26 * is further divided by address bits 26:15. 27 * The LED addresses are write-only. To read the LEDs, you need to use 28 * SH_JUNK_BUS_LED0-3, defined in shub_mmr.h 29 * 30 */ 31 #define SH_REAL_JUNK_BUS_LED0 0x7fed00000 32 #define SH_REAL_JUNK_BUS_LED1 0x7fed10000 33 #define SH_REAL_JUNK_BUS_LED2 0x7fed20000 34 #define SH_REAL_JUNK_BUS_LED3 0x7fed30000 35 #define SH_JUNK_BUS_UART0 0x7fed40000 36 #define SH_JUNK_BUS_UART1 0x7fed40008 37 #define SH_JUNK_BUS_UART2 0x7fed40010 38 #define SH_JUNK_BUS_UART3 0x7fed40018 39 #define SH_JUNK_BUS_UART4 0x7fed40020 40 #define SH_JUNK_BUS_UART5 0x7fed40028 41 #define SH_JUNK_BUS_UART6 0x7fed40030 42 #define SH_JUNK_BUS_UART7 0x7fed40038 43 44 #endif /* _ASM_IA64_SN_SN2_SHUB_H */ 45