mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-07 13:23:20 +09:00
![Stefan Roese](/assets/img/avatar_default.png)
This patch adds a simple clock driver for the Marvell Octeon MIPS SoC family. Its for IO clock rate passing via DT in some of the Octeon driver, like I2C. So that we don't need to use the non-mainline API octeon_get_io_clock(). Signed-off-by: Stefan Roese <sr@denx.de> Cc: Lukasz Majewski <lukma@denx.de>
13 lines
284 B
C
13 lines
284 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2020 Stefan Roese <sr@denx.de>
|
|
*/
|
|
|
|
#ifndef __DT_BINDINGS_CLOCK_OCTEON_CLOCK_H
|
|
#define __DT_BINDINGS_CLOCK_OCTEON_CLOCK_H
|
|
|
|
#define OCTEON_CLK_CORE 0
|
|
#define OCTEON_CLK_IO 1
|
|
|
|
#endif /* __DT_BINDINGS_CLOCK_OCTEON_CLOCK_H */
|