18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2013-2014 Hisilicon Limited.
48c2ecf20Sopenharmony_ci * Copyright (c) 2013-2014 Linaro Limited.
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * Author: Haojian Zhuang <haojian.zhuang@linaro.org>
78c2ecf20Sopenharmony_ci */
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#ifndef __DTS_HIP04_CLOCK_H
108c2ecf20Sopenharmony_ci#define __DTS_HIP04_CLOCK_H
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#define HIP04_NONE_CLOCK	0
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci/* fixed rate & fixed factor clocks */
158c2ecf20Sopenharmony_ci#define HIP04_OSC50M		1
168c2ecf20Sopenharmony_ci#define HIP04_CLK_50M		2
178c2ecf20Sopenharmony_ci#define HIP04_CLK_168M		3
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci#define HIP04_NR_CLKS		64
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci#endif	/* __DTS_HIP04_CLOCK_H */
22