xref: /netbsd-src/sys/arch/hpcmips/dev/plumreg.h (revision 4a418e8c7d4f091825f8ea820bcb516cb69555cb)
1*4a418e8cSmsaitoh /*	$NetBSD: plumreg.h,v 1.4 2012/08/24 09:01:22 msaitoh Exp $ */
29a758aabSuch 
358f851eeSuch /*-
458f851eeSuch  * Copyright (c) 1999 The NetBSD Foundation, Inc.
59a758aabSuch  * All rights reserved.
69a758aabSuch  *
758f851eeSuch  * This code is derived from software contributed to The NetBSD Foundation
858f851eeSuch  * by UCHIYAMA Yasushi.
958f851eeSuch  *
109a758aabSuch  * Redistribution and use in source and binary forms, with or without
119a758aabSuch  * modification, are permitted provided that the following conditions
129a758aabSuch  * are met:
139a758aabSuch  * 1. Redistributions of source code must retain the above copyright
149a758aabSuch  *    notice, this list of conditions and the following disclaimer.
1558f851eeSuch  * 2. Redistributions in binary form must reproduce the above copyright
1658f851eeSuch  *    notice, this list of conditions and the following disclaimer in the
1758f851eeSuch  *    documentation and/or other materials provided with the distribution.
189a758aabSuch  *
1958f851eeSuch  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
2058f851eeSuch  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
2158f851eeSuch  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
2258f851eeSuch  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
2358f851eeSuch  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2458f851eeSuch  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2558f851eeSuch  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2658f851eeSuch  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2758f851eeSuch  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2858f851eeSuch  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2958f851eeSuch  * POSSIBILITY OF SUCH DAMAGE.
309a758aabSuch  */
3158f851eeSuch 
329a758aabSuch /*
339a758aabSuch  *	TC6358TB(Plum2) TOSHIBA COMPANION CHIP FOR TMPR3922U
349a758aabSuch  */
359a758aabSuch 
369a758aabSuch /*
379a758aabSuch  * Revision ID register
389a758aabSuch  */
399a758aabSuch #define	PLUM_ID_REGBASE			0xb0000
409a758aabSuch #define	PLUM_ID_REGSIZE			0x4
419a758aabSuch #define	PLUM_ID_REG			0x0
429a758aabSuch #define	PLUM2_1				0x0002
439a758aabSuch #define	PLUM2_2				0x0102
449a758aabSuch 
459a758aabSuch /*
46*4a418e8cSmsaitoh  * Bus controller
479a758aabSuch  */
489a758aabSuch #define PLUM_BUS_REGBASE	0x0000
499a758aabSuch #define PLUM_BUS_REGSIZE	0x1000
50