blob: afe137ee172eb63026cafa34ca15823ff93dcc3a [file] [log] [blame]
Russell Kingbcbbf902011-06-10 11:13:05 +01001/*
2 * Copyright (C) 1996-2000 Russell King.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * This file contains the core hardware definitions of the EBSA-110.
9 */
10#ifndef CORE_H
11#define CORE_H
12
13/* Physical addresses/sizes */
14#define ISAMEM_PHYS 0xe0000000
15#define ISAMEM_SIZE 0x10000000
16
17#define ISAIO_PHYS 0xf0000000
18#define ISAIO_SIZE PGDIR_SIZE
19
20#define TRICK0_PHYS 0xf2000000
Russell King5eca8f32011-06-10 12:35:45 +010021#define TRICK0_SIZE PGDIR_SIZE
Russell Kingbcbbf902011-06-10 11:13:05 +010022#define TRICK1_PHYS 0xf2400000
Russell King5eca8f32011-06-10 12:35:45 +010023#define TRICK1_SIZE PGDIR_SIZE
Russell Kingbcbbf902011-06-10 11:13:05 +010024#define TRICK2_PHYS 0xf2800000
25#define TRICK3_PHYS 0xf2c00000
Russell King5eca8f32011-06-10 12:35:45 +010026#define TRICK3_SIZE PGDIR_SIZE
Russell Kingbcbbf902011-06-10 11:13:05 +010027#define TRICK4_PHYS 0xf3000000
Russell King5eca8f32011-06-10 12:35:45 +010028#define TRICK4_SIZE PGDIR_SIZE
Russell Kingbcbbf902011-06-10 11:13:05 +010029#define TRICK5_PHYS 0xf3400000
30#define TRICK6_PHYS 0xf3800000
31#define TRICK7_PHYS 0xf3c00000
32
33/* Virtual addresses */
Arnd Bergmanna21e5e22012-09-14 20:11:12 +000034#define PIT_BASE IOMEM(0xfc000000) /* trick 0 */
35#define SOFT_BASE IOMEM(0xfd000000) /* trick 1 */
36#define IRQ_MASK IOMEM(0xfe000000) /* trick 3 - read */
37#define IRQ_MSET IOMEM(0xfe000000) /* trick 3 - write */
38#define IRQ_STAT IOMEM(0xff000000) /* trick 4 - read */
39#define IRQ_MCLR IOMEM(0xff000000) /* trick 4 - write */
Russell Kingbcbbf902011-06-10 11:13:05 +010040
41#endif