2 * linux/include/asm-arm/arch-cl7500/hardware.h
4 * Copyright (C) 1996-1999 Russell King.
5 * Copyright (C) 1999 Nexus Electronics Ltd.
7 * This file contains the hardware definitions of the
8 * CL7500 evaluation board.
10 #ifndef __ASM_ARCH_HARDWARE_H
11 #define __ASM_ARCH_HARDWARE_H
13 #include <asm/arch/memory.h>
14 #include <asm/hardware/iomd.h>
19 #define IOMEM(x) ((void __iomem *)(x))
23 * What hardware must be present
28 /* Hardware addresses of major areas.
29 * *_START is the physical address
30 * *_SIZE is the size of the region
31 * *_BASE is the virtual address
34 #define IO_START 0x03000000 /* I/O */
35 #define IO_SIZE 0x01000000
36 #define IO_BASE IOMEM(0xe0000000)
38 #define ISA_START 0x0c000000 /* ISA */
39 #define ISA_SIZE 0x00010000
40 #define ISA_BASE 0xe1000000
42 #define FLASH_START 0x01000000 /* XXX */
43 #define FLASH_SIZE 0x01000000
44 #define FLASH_BASE 0xe2000000
46 #define LED_START 0x0302B000
47 #define LED_SIZE 0x00001000
48 #define LED_BASE 0xe3000000
49 #define LED_ADDRESS (LED_BASE + 0xa00)
51 /* Let's define SCREEN_START for CL7500, even though it's a lie. */
52 #define SCREEN_START 0x02000000 /* VRAM */
53 #define SCREEN_END 0xdfc00000
54 #define SCREEN_BASE 0xdf800000
56 #define FLUSH_BASE 0xdf000000
58 #define VIDC_BASE (void __iomem *)0xe0400000
59 #define IOMD_BASE IOMEM(0xe0200000)
60 #define IOC_BASE IOMEM(0xe0200000)
61 #define FLOPPYDMA_BASE IOMEM(0xe002a000)
62 #define PCIO_BASE IOMEM(0xe0010000)
64 #define FLUSH_BASE_PHYS 0x00000000 /* ROM */
66 #define vidc_writel(val) __raw_writel(val, VIDC_BASE)
68 /* in/out bias for the ISA slot region */
69 #define ISASLOT_IO 0x80400000