xref: /netbsd-src/sys/arch/evbppc/include/obs200.h (revision 2a7d2f9aed1e388d76a575f9224d3700a9f4937a)
1*2a7d2f9aSrin /*	$NetBSD: obs200.h,v 1.4 2021/03/30 04:08:02 rin Exp $	*/
2a38e26c7Sshige 
3a38e26c7Sshige /*
4a38e26c7Sshige  * Copyright 2004 Shigeyuki Fukushima.
5a38e26c7Sshige  * All rights reserved.
6a38e26c7Sshige  *
7a38e26c7Sshige  * Written by Shigeyuki Fukushima for The NetBSD Project.
8a38e26c7Sshige  *
9a38e26c7Sshige  * Redistribution and use in source and binary forms, with or without
10a38e26c7Sshige  * modification, are permitted provided that the following conditions
11a38e26c7Sshige  * are met:
12a38e26c7Sshige  * 1. Redistributions of source code must retain the above copyright
13a38e26c7Sshige  *    notice, this list of conditions and the following disclaimer.
14a38e26c7Sshige  * 2. Redistributions in binary form must reproduce the above
15a38e26c7Sshige  *    copyright notice, this list of conditions and the following
16a38e26c7Sshige  *    disclaimer in the documentation and/or other materials provided
17a38e26c7Sshige  *    with the distribution.
18a38e26c7Sshige  * 3. The name of the author may not be used to endorse or promote
19a38e26c7Sshige  *    products derived from this software without specific prior
20a38e26c7Sshige  *    written permission.
21a38e26c7Sshige  *
22a38e26c7Sshige  * THIS SOFTWARE IS PROVIDED THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
23a38e26c7Sshige  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
24a38e26c7Sshige  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
25a38e26c7Sshige  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE
26a38e26c7Sshige  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27a38e26c7Sshige  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
28a38e26c7Sshige  * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
29a38e26c7Sshige  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
30a38e26c7Sshige  * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31a38e26c7Sshige  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
32a38e26c7Sshige  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
33a38e26c7Sshige  * DAMAGE.
34a38e26c7Sshige  */
35a38e26c7Sshige 
36a38e26c7Sshige #ifndef	_EVBPPC_OBS200_H_
37a38e26c7Sshige #define	_EVBPPC_OBS200_H_
38a38e26c7Sshige 
39*2a7d2f9aSrin #include <dev/ic/comreg.h>
40*2a7d2f9aSrin 
41a38e26c7Sshige /*
42a38e26c7Sshige  * Device Properties for OpenBlockS S/R (IBM405GP 200MHz)
43a38e26c7Sshige  */
44a38e26c7Sshige 
45a38e26c7Sshige /* UART Clock */
46a38e26c7Sshige #define OBS200_COM_FREQ		(COM_FREQ * 4)	/* UART CLK 7.3728 MHz */
47a38e26c7Sshige 
48a38e26c7Sshige /*
49a38e26c7Sshige  * extern variables and functions
50a38e26c7Sshige  */
51a38e26c7Sshige 
52a38e26c7Sshige #endif	/* _EVBPPC_OBS200_H_ */
53