xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/clock/hip04-clock.h (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1 /*	$NetBSD: hip04-clock.h,v 1.1.1.1 2017/06/15 20:14:23 jmcneill Exp $	*/
2 
3 /*
4  * Copyright (c) 2013-2014 Hisilicon Limited.
5  * Copyright (c) 2013-2014 Linaro Limited.
6  *
7  * Author: Haojian Zhuang <haojian.zhuang@linaro.org>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License along
20  * with this program; if not, write to the Free Software Foundation, Inc.,
21  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22  *
23  */
24 
25 #ifndef __DTS_HIP04_CLOCK_H
26 #define __DTS_HIP04_CLOCK_H
27 
28 #define HIP04_NONE_CLOCK	0
29 
30 /* fixed rate & fixed factor clocks */
31 #define HIP04_OSC50M		1
32 #define HIP04_CLK_50M		2
33 #define HIP04_CLK_168M		3
34 
35 #define HIP04_NR_CLKS		64
36 
37 #endif	/* __DTS_HIP04_CLOCK_H */
38