18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci *  Copyright (C) 1996-2000 Russell King.
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * This file contains the core hardware definitions of the EBSA-110.
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci#ifndef CORE_H
88c2ecf20Sopenharmony_ci#define CORE_H
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci/* Physical addresses/sizes */
118c2ecf20Sopenharmony_ci#define ISAMEM_PHYS		0xe0000000
128c2ecf20Sopenharmony_ci#define ISAMEM_SIZE		0x10000000
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#define ISAIO_PHYS		0xf0000000
158c2ecf20Sopenharmony_ci#define ISAIO_SIZE		PGDIR_SIZE
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci#define TRICK0_PHYS		0xf2000000
188c2ecf20Sopenharmony_ci#define TRICK0_SIZE		PGDIR_SIZE
198c2ecf20Sopenharmony_ci#define TRICK1_PHYS		0xf2400000
208c2ecf20Sopenharmony_ci#define TRICK1_SIZE		PGDIR_SIZE
218c2ecf20Sopenharmony_ci#define TRICK2_PHYS		0xf2800000
228c2ecf20Sopenharmony_ci#define TRICK3_PHYS		0xf2c00000
238c2ecf20Sopenharmony_ci#define TRICK3_SIZE		PGDIR_SIZE
248c2ecf20Sopenharmony_ci#define TRICK4_PHYS		0xf3000000
258c2ecf20Sopenharmony_ci#define TRICK4_SIZE		PGDIR_SIZE
268c2ecf20Sopenharmony_ci#define TRICK5_PHYS		0xf3400000
278c2ecf20Sopenharmony_ci#define TRICK6_PHYS		0xf3800000
288c2ecf20Sopenharmony_ci#define TRICK7_PHYS		0xf3c00000
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci/* Virtual addresses */
318c2ecf20Sopenharmony_ci#define PIT_BASE		IOMEM(0xfc000000)	/* trick 0 */
328c2ecf20Sopenharmony_ci#define SOFT_BASE		IOMEM(0xfd000000)	/* trick 1 */
338c2ecf20Sopenharmony_ci#define IRQ_MASK		IOMEM(0xfe000000)	/* trick 3 - read */
348c2ecf20Sopenharmony_ci#define IRQ_MSET		IOMEM(0xfe000000)	/* trick 3 - write */
358c2ecf20Sopenharmony_ci#define IRQ_STAT		IOMEM(0xff000000)	/* trick 4 - read */
368c2ecf20Sopenharmony_ci#define IRQ_MCLR		IOMEM(0xff000000)	/* trick 4 - write */
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ci#endif
39