NetBSD/sys/arch/hpcmips/vr/vripunit.h
igy f8bc001484 Support for Laser5's L-Card+ Embedded CPU Board
===============================================

This code enables NetBSD to support for NEC VR4181 CPU and some
devices on L-Card+ board.

NEC VR4181
----------

NEC VR4181 is a embedded CPU which has MIPS processor core and
integrated I/O devices within a package.  The basic architecture of
VR4181 is similar to other VR41xx family CPU.  Some integrated devices
are compatible to another VR41xx series CPU and some are not.

VR4181 has integrated devices listed bellow:

	- Two of 16550 compatible UART
	- Compact Flash controller
	- ISA bus controller
	- Audio CODEC
	- A/D converters
	- LCD driver
	- Touch panel controller
	- General purpose I/O


L-Card+ Embedded CPU Board
--------------------------

L-Card+ is name card sized CPU board for embedded system.  It is soled
by Laser5 (http://www.laser5.co.jp/) with Linux installed.

L-Card+ has following devices:

	- 16Mbyte flash memory (Intel 28F128)
	- 16Mbyte SDRAM
	- CS8900A Ethernet controller and RJ45 port
	- RS232C line driver and external connector
	- Compact Flash socket
	- A pair of Mezzanine connector for extension board
	- Some on-board LEDs


Current Feature of This Code
----------------------------

Following devices are supported:

	- UART (used for console)
	- wi on Compact Flash socket
	- cs (CS8900A)
	- Flash memory (Intel 28F128 and Fujitsu MBM29LV160)
	- Audio Coder (limited support)

--
Naoto Shimazaki
2003-05-01 07:01:58 +00:00

87 lines
2.8 KiB
C

/* $NetBSD: vripunit.h,v 1.5 2003/05/01 07:02:06 igy Exp $ */
/*-
* Copyright (c) 2002 TAKEMURA Shin
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the project nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
*/
#ifndef _VRIPUNIT_H_
#define _VRIPUNIT_H_
enum vrip_unit_id {
VRIP_UNIT_PMU,
VRIP_UNIT_RTC,
VRIP_UNIT_PIU,
VRIP_UNIT_KIU,
VRIP_UNIT_SIU,
VRIP_UNIT_GIU,
VRIP_UNIT_LED,
VRIP_UNIT_AIU,
VRIP_UNIT_FIR,
VRIP_UNIT_DSIU,
VRIP_UNIT_PCIU,
VRIP_UNIT_SCU,
VRIP_UNIT_CSI,
VRIP_UNIT_BCU,
VRIP_UNIT_DMAAU,
VRIP_UNIT_DCU,
VRIP_UNIT_PS2U0,
VRIP_UNIT_PS2U1,
VRIP_UNIT_USBU,
VRIP_UNIT_CARDU0,
VRIP_UNIT_CARDU1,
VRIP_UNIT_ECU,
};
#ifdef VRIPUNIT_DEFINE_UNIT_NICKNAME
#define VRPMU VRIP_UNIT_PMU
#define VRRTC VRIP_UNIT_RTC
#define VRPIU VRIP_UNIT_PIU
#define VRKIU VRIP_UNIT_KIU
#define VRSIU VRIP_UNIT_SIU
#define VRGIU VRIP_UNIT_GIU
#define VRLED VRIP_UNIT_LED
#define VRAIU VRIP_UNIT_AIU
#define VRFIR VRIP_UNIT_FIR
#define VRDSIU VRIP_UNIT_DSIU
#define VRPCIU VRIP_UNIT_PCIU
#define VRSCU VRIP_UNIT_SCU
#define VRCSI VRIP_UNIT_CSI
#define VRBCU VRIP_UNIT_BCU
#define VRDMAAU VRIP_UNIT_DMAAU
#define VRDCU VRIP_UNIT_DCU
#define VRPS2U0 VRIP_UNIT_PS2U0
#define VRPS2U1 VRIP_UNIT_PS2U1
#define VRUSBU VRIP_UNIT_USBU
#define VRCARDU0 VRIP_UNIT_CARDU0
#define VRCARDU1 VRIP_UNIT_CARDU1
#define VRECU VRIP_UNIT_ECU
#endif /* VRIPUNIT_DEFINE_UNIT_NICKNAME */
#endif /* _VRIPUNIT_H_ */