clk: boston: Providea simple driver for Boston board clocks

Add a simple driver for the clocks provided by the MIPS Boston
development board. The system provides information about 2 clocks whose
rates are fixed by the bitfile flashed in the boards FPGA, and this
driver simply reads the rates of these 2 clocks.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Paul Burton
2016-09-08 07:47:38 +01:00
committed by Daniel Schwierzeck
parent 8291bc8747
commit dd7c749474
4 changed files with 119 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
/*
* Copyright (C) 2016 Imagination Technologies
*
* SPDX-License-Identifier: GPL-2.0
*/
#ifndef __DT_BINDINGS_CLOCK_BOSTON_CLOCK_H__
#define __DT_BINDINGS_CLOCK_BOSTON_CLOCK_H__
#define BOSTON_CLK_SYS 0
#define BOSTON_CLK_CPU 1
#endif /* __DT_BINDINGS_CLOCK_BOSTON_CLOCK_H__ */