iyonixreg.h revision 1.1.4.2 1 1.1.4.2 christos /* $NetBSD: iyonixreg.h,v 1.1.4.2 2019/06/10 22:06:08 christos Exp $ */
2 1.1.4.2 christos
3 1.1.4.2 christos /*
4 1.1.4.2 christos * Copyright (c) 2002 Wasabi Systems, Inc.
5 1.1.4.2 christos * All rights reserved.
6 1.1.4.2 christos *
7 1.1.4.2 christos * Based on code written by Jason R. Thorpe for Wasabi Systems, Inc.
8 1.1.4.2 christos *
9 1.1.4.2 christos * Redistribution and use in source and binary forms, with or without
10 1.1.4.2 christos * modification, are permitted provided that the following conditions
11 1.1.4.2 christos * are met:
12 1.1.4.2 christos * 1. Redistributions of source code must retain the above copyright
13 1.1.4.2 christos * notice, this list of conditions and the following disclaimer.
14 1.1.4.2 christos * 2. Redistributions in binary form must reproduce the above copyright
15 1.1.4.2 christos * notice, this list of conditions and the following disclaimer in the
16 1.1.4.2 christos * documentation and/or other materials provided with the distribution.
17 1.1.4.2 christos * 3. All advertising materials mentioning features or use of this software
18 1.1.4.2 christos * must display the following acknowledgement:
19 1.1.4.2 christos * This product includes software developed for the NetBSD Project by
20 1.1.4.2 christos * Wasabi Systems, Inc.
21 1.1.4.2 christos * 4. The name of Wasabi Systems, Inc. may not be used to endorse
22 1.1.4.2 christos * or promote products derived from this software without specific prior
23 1.1.4.2 christos * written permission.
24 1.1.4.2 christos *
25 1.1.4.2 christos * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
26 1.1.4.2 christos * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
27 1.1.4.2 christos * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
28 1.1.4.2 christos * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC
29 1.1.4.2 christos * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30 1.1.4.2 christos * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31 1.1.4.2 christos * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32 1.1.4.2 christos * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 1.1.4.2 christos * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 1.1.4.2 christos * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 1.1.4.2 christos * POSSIBILITY OF SUCH DAMAGE.
36 1.1.4.2 christos */
37 1.1.4.2 christos
38 1.1.4.2 christos #ifndef _IYONIXREG_H_
39 1.1.4.2 christos #define _IYONIXREG_H_
40 1.1.4.2 christos
41 1.1.4.2 christos /*
42 1.1.4.2 christos * Memory map and register definitions for the Tungsten motherboard
43 1.1.4.2 christos */
44 1.1.4.2 christos
45 1.1.4.2 christos /*
46 1.1.4.2 christos * We allocate a page table for VA 0xfe400000 (4MB) and map the
47 1.1.4.2 christos * PCI I/O space (64K) and i80321 memory-mapped registers (4K) there.
48 1.1.4.2 christos */
49 1.1.4.2 christos #define IYONIX_IOPXS_VBASE 0xfe400000UL
50 1.1.4.2 christos #define IYONIX_IOW_VBASE IYONIX_IOPXS_VBASE
51 1.1.4.2 christos #define IYONIX_80321_VBASE (IYONIX_IOW_VBASE + \
52 1.1.4.2 christos VERDE_OUT_XLATE_IO_WIN_SIZE)
53 1.1.4.2 christos
54 1.1.4.2 christos #define IYONIX_UART1 0x900002f8
55 1.1.4.2 christos
56 1.1.4.2 christos /*
57 1.1.4.2 christos * The on-board devices are mapped VA==PA during bootstrap.
58 1.1.4.2 christos */
59 1.1.4.2 christos #define IYONIX_OBIO_BASE 0x90000000UL
60 1.1.4.2 christos #define IYONIX_OBIO_SIZE 0x00100000UL /* 1MB */
61 1.1.4.2 christos
62 1.1.4.2 christos #define IYONIX_FLASH_BASE 0xA0000000UL
63 1.1.4.2 christos #define IYONIX_FLASH_SIZE 0x00800000UL /* 8MB */
64 1.1.4.2 christos
65 1.1.4.2 christos #define IYONIX_MASTER_PIC 0x20
66 1.1.4.2 christos #define IYONIX_SLAVE_PIC 0xa0
67 1.1.4.2 christos
68 1.1.4.2 christos #endif /* _IYONIXREG_H_ */
69