xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/hip04-clock.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-or-later */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * Copyright (c) 2013-2014 Hisilicon Limited.
4*c66ec88fSEmmanuel Vadot  * Copyright (c) 2013-2014 Linaro Limited.
5*c66ec88fSEmmanuel Vadot  *
6*c66ec88fSEmmanuel Vadot  * Author: Haojian Zhuang <haojian.zhuang@linaro.org>
7*c66ec88fSEmmanuel Vadot  */
8*c66ec88fSEmmanuel Vadot 
9*c66ec88fSEmmanuel Vadot #ifndef __DTS_HIP04_CLOCK_H
10*c66ec88fSEmmanuel Vadot #define __DTS_HIP04_CLOCK_H
11*c66ec88fSEmmanuel Vadot 
12*c66ec88fSEmmanuel Vadot #define HIP04_NONE_CLOCK	0
13*c66ec88fSEmmanuel Vadot 
14*c66ec88fSEmmanuel Vadot /* fixed rate & fixed factor clocks */
15*c66ec88fSEmmanuel Vadot #define HIP04_OSC50M		1
16*c66ec88fSEmmanuel Vadot #define HIP04_CLK_50M		2
17*c66ec88fSEmmanuel Vadot #define HIP04_CLK_168M		3
18*c66ec88fSEmmanuel Vadot 
19*c66ec88fSEmmanuel Vadot #define HIP04_NR_CLKS		64
20*c66ec88fSEmmanuel Vadot 
21*c66ec88fSEmmanuel Vadot #endif	/* __DTS_HIP04_CLOCK_H */
22