hip04-clock.h revision 270866
1270866Simp/* 2270866Simp * Copyright (c) 2013-2014 Hisilicon Limited. 3270866Simp * Copyright (c) 2013-2014 Linaro Limited. 4270866Simp * 5270866Simp * Author: Haojian Zhuang <haojian.zhuang@linaro.org> 6270866Simp * 7270866Simp * This program is free software; you can redistribute it and/or modify 8270866Simp * it under the terms of the GNU General Public License as published by 9270866Simp * the Free Software Foundation; either version 2 of the License, or 10270866Simp * (at your option) any later version. 11270866Simp * 12270866Simp * This program is distributed in the hope that it will be useful, 13270866Simp * but WITHOUT ANY WARRANTY; without even the implied warranty of 14270866Simp * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15270866Simp * GNU General Public License for more details. 16270866Simp * 17270866Simp * You should have received a copy of the GNU General Public License along 18270866Simp * with this program; if not, write to the Free Software Foundation, Inc., 19270866Simp * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 20270866Simp * 21270866Simp */ 22270866Simp 23270866Simp#ifndef __DTS_HIP04_CLOCK_H 24270866Simp#define __DTS_HIP04_CLOCK_H 25270866Simp 26270866Simp#define HIP04_NONE_CLOCK 0 27270866Simp 28270866Simp/* fixed rate & fixed factor clocks */ 29270866Simp#define HIP04_OSC50M 1 30270866Simp#define HIP04_CLK_50M 2 31270866Simp#define HIP04_CLK_168M 3 32270866Simp 33270866Simp#define HIP04_NR_CLKS 64 34270866Simp 35270866Simp#endif /* __DTS_HIP04_CLOCK_H */ 36