1 /*
2  * FILE NAME
3  *	include/asm-mips/vr41xx/workpad.h
4  *
5  * BRIEF MODULE DESCRIPTION
6  *	Include file for IBM WorkPad z50.
7  *
8  * Copyright 2002 Yoichi Yuasa
9  *                yuasa@hh.iij4u.or.jp
10  *
11  *  This program is free software; you can redistribute it and/or modify it
12  *  under the terms of the GNU General Public License as published by the
13  *  Free Software Foundation; either version 2 of the License, or (at your
14  *  option) any later version.
15  */
16 #ifndef __IBM_WORKPAD_H
17 #define __IBM_WORKPAD_H
18 
19 #include <asm/addrspace.h>
20 #include <asm/vr41xx/vr41xx.h>
21 
22 /*
23  * Board specific address mapping
24  */
25 #define VR41XX_ISA_MEM_BASE		0x10000000
26 #define VR41XX_ISA_MEM_SIZE		0x04000000
27 
28 /* VR41XX_ISA_IO_BASE includes offset from real base. */
29 #define VR41XX_ISA_IO_BASE		0x15000000
30 #define VR41XX_ISA_IO_SIZE		0x03000000
31 
32 #define IO_PORT_BASE			KSEG1ADDR(VR41XX_ISA_IO_BASE)
33 #define IO_PORT_RESOURCE_START		0
34 #define IO_PORT_RESOURCE_END		VR41XX_ISA_IO_SIZE
35 #define IO_MEM_RESOURCE_START		VR41XX_ISA_MEM_BASE
36 #define IO_MEM_RESOURCE_END		(VR41XX_ISA_MEM_BASE + VR41XX_ISA_MEM_SIZE)
37 
38 #endif /* __IBM_WORKPAD_H */
39