]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/linux/openslug-kernel-2.6.11.2/nslu2.h
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / linux / openslug-kernel-2.6.11.2 / nslu2.h
1 /*
2  * include/asm-arm/arch-ixp4xx/nslu2.h
3  *
4  * NSLU2 platform specific definitions
5  *
6  * Author: Mark Rakes <mrakes AT mac.com>
7  * Maintainers: http://www.nslu2-linux.org
8  *
9  * based on ixdp425.h:
10  *      Copyright 2004 (c) MontaVista, Software, Inc.
11  *
12  * This file is licensed under  the terms of the GNU General Public
13  * License version 2. This program is licensed "as is" without any
14  * warranty of any kind, whether express or implied.
15  */
16
17 // GPIO 8 is used as the power input so is not free for use as a PCI IRQ
18 // kas11 11-2-04
19
20 #ifndef __ASM_ARCH_HARDWARE_H__
21 #error "Do not include this directly, instead #include <asm/hardware.h>"
22 #endif
23
24 #define NSLU2_FLASH_BASE        IXP4XX_EXP_BUS_CS0_BASE_PHYS
25 #define NSLU2_FLASH_SIZE        IXP4XX_EXP_BUS_CSX_REGION_SIZE
26
27 #define NSLU2_SDA_PIN           7
28 #define NSLU2_SCL_PIN           6
29
30 /*
31  * NSLU2 PCI IRQs
32  */
33 #define NSLU2_PCI_MAX_DEV       3
34 #define NSLU2_PCI_IRQ_LINES     3
35
36
37 /* PCI controller GPIO to IRQ pin mappings */
38 #define NSLU2_PCI_INTA_PIN      11
39 #define NSLU2_PCI_INTB_PIN      10
40 #define NSLU2_PCI_INTC_PIN      9
41 //#define       NSLU2_PCI_INTD_PIN      8
42
43