]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/arm/mach-rpc/include/mach/hardware.h
Merge tag 'powerpc-4.13-8' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[mirror_ubuntu-artful-kernel.git] / arch / arm / mach-rpc / include / mach / hardware.h
CommitLineData
1da177e4 1/*
a09e64fb 2 * arch/arm/mach-rpc/include/mach/hardware.h
1da177e4
LT
3 *
4 * Copyright (C) 1996-1999 Russell King.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * This file contains the hardware definitions of the RiscPC series machines.
11 */
12#ifndef __ASM_ARCH_HARDWARE_H
13#define __ASM_ARCH_HARDWARE_H
14
a09e64fb 15#include <mach/memory.h>
1da177e4 16
1da177e4
LT
17/*
18 * What hardware must be present
19 */
20#define HAS_IOMD
21#define HAS_VIDC20
22
23/* Hardware addresses of major areas.
24 * *_START is the physical address
25 * *_SIZE is the size of the region
26 * *_BASE is the virtual address
27 */
47589c4a
AB
28#define RPC_RAM_SIZE 0x10000000
29#define RPC_RAM_START 0x10000000
1da177e4
LT
30
31#define EASI_SIZE 0x08000000 /* EASI I/O */
32#define EASI_START 0x08000000
5e4cdb83 33#define EASI_BASE IOMEM(0xe5000000)
1da177e4
LT
34
35#define IO_START 0x03000000 /* I/O */
36#define IO_SIZE 0x01000000
37#define IO_BASE IOMEM(0xe0000000)
38
39#define SCREEN_START 0x02000000 /* VRAM */
40#define SCREEN_END 0xdfc00000
41#define SCREEN_BASE 0xdf800000
42
c94e4ad2 43#define UNCACHEABLE_ADDR (FLUSH_BASE + 0x10000)
1da177e4
LT
44
45/*
46 * IO Addresses
47 */
5e4cdb83 48#define ECARD_EASI_BASE (EASI_BASE)
d0a84e72
RK
49#define VIDC_BASE (IO_BASE + 0x00400000)
50#define EXPMASK_BASE (IO_BASE + 0x00360000)
06cf0b54
RK
51#define ECARD_IOC4_BASE (IO_BASE + 0x00270000)
52#define ECARD_IOC_BASE (IO_BASE + 0x00240000)
d0a84e72
RK
53#define IOMD_BASE (IO_BASE + 0x00200000)
54#define IOC_BASE (IO_BASE + 0x00200000)
06cf0b54 55#define ECARD_MEMC8_BASE (IO_BASE + 0x0002b000)
d0a84e72
RK
56#define FLOPPYDMA_BASE (IO_BASE + 0x0002a000)
57#define PCIO_BASE (IO_BASE + 0x00010000)
06cf0b54 58#define ECARD_MEMC_BASE (IO_BASE + 0x00000000)
1da177e4 59
1da177e4
LT
60#define vidc_writel(val) __raw_writel(val, VIDC_BASE)
61
1da177e4
LT
62#define NETSLOT_BASE 0x0302b000
63#define NETSLOT_SIZE 0x00001000
64
65#define PODSLOT_IOC0_BASE 0x03240000
66#define PODSLOT_IOC4_BASE 0x03270000
67#define PODSLOT_IOC_SIZE (1 << 14)
68#define PODSLOT_MEMC_BASE 0x03000000
69#define PODSLOT_MEMC_SIZE (1 << 14)
70#define PODSLOT_EASI_BASE 0x08000000
71#define PODSLOT_EASI_SIZE (1 << 24)
72
73#define EXPMASK_STATUS (EXPMASK_BASE + 0x00)
74#define EXPMASK_ENABLE (EXPMASK_BASE + 0x04)
75
76#endif