1205354Simp/* $NetBSD: s3c24x0var.h,v 1.1 2003/07/31 19:49:44 bsh Exp $ */
2205354Simp
3205354Simp/*-
4205354Simp * Copyright (c) 2003  Genetec corporation.  All rights reserved.
5205354Simp * Written by Hiroyuki Bessho for Genetec corporation.
6205354Simp *
7205354Simp * Redistribution and use in source and binary forms, with or without
8205354Simp * modification, are permitted provided that the following conditions
9205354Simp * are met:
10205354Simp * 1. Redistributions of source code must retain the above copyright
11205354Simp *    notice, this list of conditions and the following disclaimer.
12205354Simp * 2. Redistributions in binary form must reproduce the above copyright
13205354Simp *    notice, this list of conditions and the following disclaimer in the
14205354Simp *    documentation and/or other materials provided with the distribution.
15205354Simp * 3. The name of Genetec corporation may not be used to endorse
16205354Simp *    or promote products derived from this software without specific prior
17205354Simp *    written permission.
18205354Simp *
19205354Simp * THIS SOFTWARE IS PROVIDED BY GENETEC CORP. ``AS IS'' AND
20205354Simp * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21205354Simp * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22205354Simp * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL GENETEC CORP.
23205354Simp * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24205354Simp * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25205354Simp * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26205354Simp * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27205354Simp * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28205354Simp * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29205354Simp * POSSIBILITY OF SUCH DAMAGE.
30205354Simp *
31205354Simp * $FreeBSD$
32205354Simp */
33205354Simp
34205354Simp#ifndef _ARM_S3C24X0VAR_H_
35205354Simp#define _ARM_S3C24X0VAR_H_
36205354Simp
37205354Simp#include <arm/s3c2xx0/s3c2xx0var.h>
38205354Simp
39205354Simpstruct s3c24x0_softc {
40205354Simp	struct s3c2xx0_softc  sc_sx;
41205354Simp
42205354Simp	bus_space_handle_t  sc_timer_ioh; /* Timer control registers */
43205354Simp};
44205354Simp
45205354Simpvoid	s3c24x0_clock_freq(struct s3c2xx0_softc *);
46205354Simpvoid	s3c2410_clock_freq2(vm_offset_t, int *, int *, int *);
47205354Simpvoid	s3c2440_clock_freq2(vm_offset_t, int *, int *, int *);
48205354Simp
49205354Simpvoid	s3c24x0_sleep(int);
50205354Simp
51205354Simp#endif /* _ARM_S3C24X0VAR_H_ */
52