2019-06-04 16:11:33 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2011-06-10 18:13:05 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 1996-2000 Russell King.
|
|
|
|
*
|
|
|
|
* This file contains the core hardware definitions of the EBSA-110.
|
|
|
|
*/
|
|
|
|
#ifndef CORE_H
|
|
|
|
#define CORE_H
|
|
|
|
|
|
|
|
/* Physical addresses/sizes */
|
|
|
|
#define ISAMEM_PHYS 0xe0000000
|
|
|
|
#define ISAMEM_SIZE 0x10000000
|
|
|
|
|
|
|
|
#define ISAIO_PHYS 0xf0000000
|
|
|
|
#define ISAIO_SIZE PGDIR_SIZE
|
|
|
|
|
|
|
|
#define TRICK0_PHYS 0xf2000000
|
2011-06-10 19:35:45 +08:00
|
|
|
#define TRICK0_SIZE PGDIR_SIZE
|
2011-06-10 18:13:05 +08:00
|
|
|
#define TRICK1_PHYS 0xf2400000
|
2011-06-10 19:35:45 +08:00
|
|
|
#define TRICK1_SIZE PGDIR_SIZE
|
2011-06-10 18:13:05 +08:00
|
|
|
#define TRICK2_PHYS 0xf2800000
|
|
|
|
#define TRICK3_PHYS 0xf2c00000
|
2011-06-10 19:35:45 +08:00
|
|
|
#define TRICK3_SIZE PGDIR_SIZE
|
2011-06-10 18:13:05 +08:00
|
|
|
#define TRICK4_PHYS 0xf3000000
|
2011-06-10 19:35:45 +08:00
|
|
|
#define TRICK4_SIZE PGDIR_SIZE
|
2011-06-10 18:13:05 +08:00
|
|
|
#define TRICK5_PHYS 0xf3400000
|
|
|
|
#define TRICK6_PHYS 0xf3800000
|
|
|
|
#define TRICK7_PHYS 0xf3c00000
|
|
|
|
|
|
|
|
/* Virtual addresses */
|
2012-09-15 04:11:12 +08:00
|
|
|
#define PIT_BASE IOMEM(0xfc000000) /* trick 0 */
|
|
|
|
#define SOFT_BASE IOMEM(0xfd000000) /* trick 1 */
|
|
|
|
#define IRQ_MASK IOMEM(0xfe000000) /* trick 3 - read */
|
|
|
|
#define IRQ_MSET IOMEM(0xfe000000) /* trick 3 - write */
|
|
|
|
#define IRQ_STAT IOMEM(0xff000000) /* trick 4 - read */
|
|
|
|
#define IRQ_MCLR IOMEM(0xff000000) /* trick 4 - write */
|
2011-06-10 18:13:05 +08:00
|
|
|
|
|
|
|
#endif
|