blob: 16d0630ab252332f95d0283cc2c0bc378d4b3e78 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Lennert Buytenhek3f7e5812006-09-18 23:10:26 +01002 * linux/include/asm-arm/arch-iop32x/hardware.h
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 */
4#ifndef __ASM_ARCH_HARDWARE_H
5#define __ASM_ARCH_HARDWARE_H
6
7#include <asm/types.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-iop3xx/iop3xx-pci.c
19 */
20
21#define pcibios_assign_all_busses() 1
Lennert Buytenhek7e9740b2006-09-18 23:17:36 +010022#define PCIBIOS_MIN_IO 0x00000000
23#define PCIBIOS_MIN_MEM 0x00000000
Linus Torvalds1da177e2005-04-16 15:20:36 -070024
25
26/*
Linus Torvalds1da177e2005-04-16 15:20:36 -070027 * Generic chipset bits
28 *
29 */
30#include "iop321.h"
Linus Torvalds1da177e2005-04-16 15:20:36 -070031
32/*
33 * Board specific bits
34 */
35#include "iq80321.h"
36#include "iq31244.h"
Linus Torvalds1da177e2005-04-16 15:20:36 -070037
38#endif /* _ASM_ARCH_HARDWARE_H */