Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-arm / arch-epxa10db / hardware.h
blobb992c2924a772ecf8e61b22fcbc197bc111a7cbc
1 /*
2 * linux/include/asm-arm/arch-epxa10/hardware.h
4 * This file contains the hardware definitions of the Integrator.
6 * Copyright (C) 1999 ARM Limited.
7 * Copyright (C) 2001 Altera Corporation
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #ifndef __ASM_ARCH_HARDWARE_H
24 #define __ASM_ARCH_HARDWARE_H
26 #include <asm/arch/platform.h>
29 * Where in virtual memory the IO devices (timers, system controllers
30 * and so on)
32 #define IO_BASE 0xf0000000 // VA of IO
33 #define IO_SIZE 0x10000000 // How much?
34 #define IO_START EXC_REGISTERS_BASE // PA of IO
35 /* macro to get at IO space when running virtually */
36 #define IO_ADDRESS(x) ((x) | 0xf0000000)
38 #define FLASH_VBASE 0xFE000000
39 #define FLASH_SIZE 0x01000000
40 #define FLASH_START EXC_EBI_BLOCK0_BASE
41 #define FLASH_VADDR(x) ((x)|0xFE000000)
43 * Similar to above, but for PCI addresses (memory, IO, Config and the
44 * V3 chip itself). WARNING: this has to mirror definitions in platform.h
46 #if 0
47 #define PCI_MEMORY_VADDR 0xe8000000
48 #define PCI_CONFIG_VADDR 0xec000000
49 #define PCI_V3_VADDR 0xed000000
50 #define PCI_IO_VADDR 0xee000000
52 #define PCIO_BASE PCI_IO_VADDR
53 #define PCIMEM_BASE PCI_MEMORY_VADDR
56 #define pcibios_assign_all_busses() 1
58 #define PCIBIOS_MIN_IO 0x6000
59 #define PCIBIOS_MIN_MEM 0x00100000
60 #endif
63 #endif