blob: 6556ed5eee31c406d11960c75b11cfd68126493b [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 */
Lennert Buytenhek0c92e832006-09-21 02:46:03 +010038#include "glantank.h"
Linus Torvalds1da177e2005-04-16 15:20:36 -070039#include "iq80321.h"
40#include "iq31244.h"
Lennert Buytenheke60d07b2006-09-21 02:42:12 +010041#include "n2100.h"
Linus Torvalds1da177e2005-04-16 15:20:36 -070042
Lennert Buytenhekc852ac82006-09-18 23:26:25 +010043
44#endif