11.1Srin/*	$NetBSD: dht.h,v 1.1 2021/04/02 07:00:33 rin Exp $	*/
21.1Srin
31.1Srin/*
41.1Srin * Copyright (c) 2021 The NetBSD Foundation, Inc.
51.1Srin * All rights reserved.
61.1Srin *
71.1Srin * This code is derived from software contributed to The NetBSD Foundation
81.1Srin * by Rin Okuyama.
91.1Srin *
101.1Srin * Redistribution and use in source and binary forms, with or without
111.1Srin * modification, are permitted provided that the following conditions
121.1Srin * are met:
131.1Srin * 1. Redistributions of source code must retain the above copyright
141.1Srin *    notice, this list of conditions and the following disclaimer.
151.1Srin * 2. Redistributions in binary form must reproduce the above copyright
161.1Srin *    notice, this list of conditions and the following disclaimer in the
171.1Srin *    documentation and/or other materials provided with the distribution.
181.1Srin *
191.1Srin * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
201.1Srin * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
211.1Srin * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
221.1Srin * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
231.1Srin * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
241.1Srin * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
251.1Srin * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
261.1Srin * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
271.1Srin * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
281.1Srin * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
291.1Srin * POSSIBILITY OF SUCH DAMAGE.
301.1Srin */
311.1Srin
321.1Srin#ifndef	_EVBPPC_DHT_H_
331.1Srin#define	_EVBPPC_DHT_H_
341.1Srin
351.1Srin#include <dev/ic/comreg.h>
361.1Srin
371.1Srin#define	DHT_CPU_FREQ	266666666
381.1Srin#define	DHT_COM_FREQ	(6 * COM_FREQ)
391.1Srin
401.1Srin#endif	/* _EVBPPC_DHT_H_ */
41