xref: /netbsd-src/sys/arch/evbppc/include/dht.h (revision 3332664a598bc35d5c3ba42e85ee282d9b22e1a7)
1*3332664aSrin /*	$NetBSD: dht.h,v 1.1 2021/04/02 07:00:33 rin Exp $	*/
2*3332664aSrin 
3*3332664aSrin /*
4*3332664aSrin  * Copyright (c) 2021 The NetBSD Foundation, Inc.
5*3332664aSrin  * All rights reserved.
6*3332664aSrin  *
7*3332664aSrin  * This code is derived from software contributed to The NetBSD Foundation
8*3332664aSrin  * by Rin Okuyama.
9*3332664aSrin  *
10*3332664aSrin  * Redistribution and use in source and binary forms, with or without
11*3332664aSrin  * modification, are permitted provided that the following conditions
12*3332664aSrin  * are met:
13*3332664aSrin  * 1. Redistributions of source code must retain the above copyright
14*3332664aSrin  *    notice, this list of conditions and the following disclaimer.
15*3332664aSrin  * 2. Redistributions in binary form must reproduce the above copyright
16*3332664aSrin  *    notice, this list of conditions and the following disclaimer in the
17*3332664aSrin  *    documentation and/or other materials provided with the distribution.
18*3332664aSrin  *
19*3332664aSrin  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20*3332664aSrin  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21*3332664aSrin  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22*3332664aSrin  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23*3332664aSrin  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24*3332664aSrin  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25*3332664aSrin  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26*3332664aSrin  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27*3332664aSrin  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28*3332664aSrin  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29*3332664aSrin  * POSSIBILITY OF SUCH DAMAGE.
30*3332664aSrin  */
31*3332664aSrin 
32*3332664aSrin #ifndef	_EVBPPC_DHT_H_
33*3332664aSrin #define	_EVBPPC_DHT_H_
34*3332664aSrin 
35*3332664aSrin #include <dev/ic/comreg.h>
36*3332664aSrin 
37*3332664aSrin #define	DHT_CPU_FREQ	266666666
38*3332664aSrin #define	DHT_COM_FREQ	(6 * COM_FREQ)
39*3332664aSrin 
40*3332664aSrin #endif	/* _EVBPPC_DHT_H_ */
41