Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Lennert Buytenhek | c852ac8 | 2006-09-18 23:26:25 +0100 | [diff] [blame] | 2 | * include/asm-arm/arch-iop32x/hardware.h |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | */ |
Lennert Buytenhek | c852ac8 | 2006-09-18 23:26:25 +0100 | [diff] [blame] | 4 | |
| 5 | #ifndef __HARDWARE_H |
| 6 | #define __HARDWARE_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
| 8 | #include <asm/types.h> |
| 9 | |
| 10 | /* |
| 11 | * Note about PCI IO space mappings |
| 12 | * |
| 13 | * To make IO space accesses efficient, we store virtual addresses in |
| 14 | * the IO resources. |
| 15 | * |
| 16 | * The PCI IO space is located at virtual 0xfe000000 from physical |
Lennert Buytenhek | c852ac8 | 2006-09-18 23:26:25 +0100 | [diff] [blame] | 17 | * 0x90000000. The PCI BARs must be programmed with physical addresses, |
| 18 | * but when we read them, we convert them to virtual addresses. See |
| 19 | * arch/arm/plat-iop/pci.c. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | #define pcibios_assign_all_busses() 1 |
Lennert Buytenhek | 7e9740b | 2006-09-18 23:17:36 +0100 | [diff] [blame] | 22 | #define PCIBIOS_MIN_IO 0x00000000 |
| 23 | #define PCIBIOS_MIN_MEM 0x00000000 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | |
Lennert Buytenhek | c852ac8 | 2006-09-18 23:26:25 +0100 | [diff] [blame] | 25 | #ifndef __ASSEMBLY__ |
| 26 | void iop32x_init_irq(void); |
| 27 | #endif |
| 28 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | |
| 30 | /* |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | * Generic chipset bits |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 | */ |
Lennert Buytenhek | c852ac8 | 2006-09-18 23:26:25 +0100 | [diff] [blame] | 33 | #include "iop32x.h" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 34 | |
| 35 | /* |
| 36 | * Board specific bits |
| 37 | */ |
Lennert Buytenhek | 0c92e83 | 2006-09-21 02:46:03 +0100 | [diff] [blame] | 38 | #include "glantank.h" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 39 | #include "iq80321.h" |
| 40 | #include "iq31244.h" |
Lennert Buytenhek | e60d07b | 2006-09-21 02:42:12 +0100 | [diff] [blame] | 41 | #include "n2100.h" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 42 | |
Lennert Buytenhek | c852ac8 | 2006-09-18 23:26:25 +0100 | [diff] [blame] | 43 | |
| 44 | #endif |