mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-15 15:53:26 +08:00
b113c9b570
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 */
|