blob: 3ebfdc6fea9965b26ceecdee7b84bc49fa08de71 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Lennert Buytenhek3f7e5812006-09-18 23:10:26 +01002 * linux/include/asm-arm/arch-iop33x/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
Lennert Buytenhek3f7e5812006-09-18 23:10:26 +010018 * arch/arm/mach-iop33x/pci.c
Linus Torvalds1da177e2005-04-16 15:20:36 -070019 */
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
Lennert Buytenhekc680b772006-09-18 23:24:52 +010025#ifndef __ASSEMBLY__
26extern struct platform_device iop33x_uart0_device;
27extern struct platform_device iop33x_uart1_device;
28#endif
29
Linus Torvalds1da177e2005-04-16 15:20:36 -070030
31/*
Linus Torvalds1da177e2005-04-16 15:20:36 -070032 * Generic chipset bits
33 *
34 */
Linus Torvalds1da177e2005-04-16 15:20:36 -070035#include "iop331.h"
36
37/*
38 * Board specific bits
39 */
Linus Torvalds1da177e2005-04-16 15:20:36 -070040#include "iq80331.h"
41#include "iq80332.h"
42
43#endif /* _ASM_ARCH_HARDWARE_H */