ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-arm / arch-iop3xx / hardware.h
1 /*
2  * linux/include/asm-arm/arch-iop80310/hardware.h
3  */
4 #ifndef __ASM_ARCH_HARDWARE_H
5 #define __ASM_ARCH_HARDWARE_H
6
7 #include <linux/config.h>
8
9 /*
10  * Note about PCI IO space mappings
11  *
12  * To make IO space accesses efficient, we store virtual addresses in
13  * the IO resources.
14  *
15  * The PCI IO space is located at virtual 0xfe000000 from physical
16  * 0x90000000.  The PCI BARs must be programmed with physical addresses,
17  * but when we read them, we convert them to virtual addresses.  See
18  * arch/arm/mach-iop310/iop310-pci.c
19  */
20
21 #define pcibios_assign_all_busses() 1
22
23 #ifdef CONFIG_ARCH_IOP310
24 /*
25  * these are the values for the secondary PCI bus on the 80312 chip.  I will
26  * have to do some fixup in the bus/dev fixup code
27  */
28 #define PCIBIOS_MIN_IO      0
29 #define PCIBIOS_MIN_MEM     0x88000000
30
31 // Generic chipset bits
32 #include "iop310.h"
33
34 // Board specific
35 #if defined(CONFIG_ARCH_IQ80310)
36 #include "iq80310.h"
37 #endif
38 #endif
39
40 #ifdef CONFIG_ARCH_IOP321
41
42 #define PCIBIOS_MIN_IO          0x90000000
43 #define PCIBIOS_MIN_MEM         0x80000000
44
45 #include "iop321.h"
46
47 #ifdef CONFIG_ARCH_IQ80321
48 #include "iq80321.h"
49 #endif
50 #endif
51
52
53
54
55 #endif  /* _ASM_ARCH_HARDWARE_H */