blob: c6f58b91ddbc7d2d6848a2c7fa58aaa3687f73a2 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Lennert Buytenhekc852ac82006-09-18 23:26:25 +01002 * include/asm-arm/arch-iop32x/hardware.h
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 */
Lennert Buytenhekc852ac82006-09-18 23:26:25 +01004
5#ifndef __HARDWARE_H
6#define __HARDWARE_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
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 Buytenhekc852ac82006-09-18 23:26:25 +010017 * 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 Torvalds1da177e2005-04-16 15:20:36 -070020 */
Linus Torvalds1da177e2005-04-16 15:20:36 -070021#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 Buytenhekc852ac82006-09-18 23:26:25 +010025#ifndef __ASSEMBLY__
26void iop32x_init_irq(void);
27#endif
28
Linus Torvalds1da177e2005-04-16 15:20:36 -070029
30/*
Linus Torvalds1da177e2005-04-16 15:20:36 -070031 * Generic chipset bits
Linus Torvalds1da177e2005-04-16 15:20:36 -070032 */
Lennert Buytenhekc852ac82006-09-18 23:26:25 +010033#include "iop32x.h"
Linus Torvalds1da177e2005-04-16 15:20:36 -070034
35/*
36 * Board specific bits
37 */
38#include "iq80321.h"
39#include "iq31244.h"
Lennert Buytenheke60d07b2006-09-21 02:42:12 +010040#include "n2100.h"
Linus Torvalds1da177e2005-04-16 15:20:36 -070041
Lennert Buytenhekc852ac82006-09-18 23:26:25 +010042
43#endif