xref: /netbsd-src/sys/arch/sh3/include/cpgreg.h (revision 6d338ff407c0b6d89fda27d67bec3cc24bc29c36)
1*6d338ff4Such /*	$NetBSD: cpgreg.h,v 1.5 2002/04/28 17:10:34 uch Exp $	*/
265363da2Sitojun 
365363da2Sitojun /*-
465363da2Sitojun  * Copyright (C) 1999 SAITOH Masanobu.  All rights reserved.
565363da2Sitojun  *
665363da2Sitojun  * Redistribution and use in source and binary forms, with or without
765363da2Sitojun  * modification, are permitted provided that the following conditions
865363da2Sitojun  * are met:
965363da2Sitojun  * 1. Redistributions of source code must retain the above copyright
1065363da2Sitojun  *    notice, this list of conditions and the following disclaimer.
1165363da2Sitojun  * 2. Redistributions in binary form must reproduce the above copyright
1265363da2Sitojun  *    notice, this list of conditions and the following disclaimer in the
1365363da2Sitojun  *    documentation and/or other materials provided with the distribution.
1465363da2Sitojun  * 3. The name of the author may not be used to endorse or promote products
1565363da2Sitojun  *    derived from this software without specific prior written permission.
1665363da2Sitojun  *
1765363da2Sitojun  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1865363da2Sitojun  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1965363da2Sitojun  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2065363da2Sitojun  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2165363da2Sitojun  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2265363da2Sitojun  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2365363da2Sitojun  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2465363da2Sitojun  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2565363da2Sitojun  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2665363da2Sitojun  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2765363da2Sitojun  */
2865363da2Sitojun 
2993da9db9Such #ifndef _SH3_CPGREG_H_
3093da9db9Such #define	_SH3_CPGREG_H_
3165363da2Sitojun 
3265363da2Sitojun /*
3365363da2Sitojun  * Clock Pulse Generator
3465363da2Sitojun  */
35bbc655c4Such #define	SH3_FRQCR		0xffffff80	/* 16bit */
36bbc655c4Such #define	SH4_FRQCR		0xffc00000	/* 16bit */
3765363da2Sitojun 
3865363da2Sitojun /*
3965363da2Sitojun  * Standby Control
4065363da2Sitojun  */
41bbc655c4Such #define	SH3_STBCR		0xffffff82	/* 8bit */
42bbc655c4Such #define	SH7709_STBCR2		0xffffff88	/* 8bit */
4365363da2Sitojun 
44bbc655c4Such #define	SH4_STBCR		0xffc00004	/* 8bit */
45bbc655c4Such #define	SH4_STBCR2		0xffc00010	/* 8bit */
4665363da2Sitojun 
4793da9db9Such #endif /* !_SH3_CPGREG_H_ */
48