2014-06-23 22:15:54 +00:00
|
|
|
/*
|
2015-10-26 11:47:50 +00:00
|
|
|
* Copyright 2015 Freescale Semiconductor, Inc.
|
2014-06-23 22:15:54 +00:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2015-10-26 11:47:50 +00:00
|
|
|
#ifndef __ASM_ARCH_FSL_LAYERSCAPE_CLOCK_H_
|
|
|
|
#define __ASM_ARCH_FSL_LAYERSCAPE_CLOCK_H_
|
2014-06-23 22:15:54 +00:00
|
|
|
|
|
|
|
#include <common.h>
|
|
|
|
|
|
|
|
enum mxc_clock {
|
|
|
|
MXC_ARM_CLK = 0,
|
|
|
|
MXC_BUS_CLK,
|
|
|
|
MXC_UART_CLK,
|
|
|
|
MXC_ESDHC_CLK,
|
|
|
|
MXC_I2C_CLK,
|
2015-06-26 11:56:11 +00:00
|
|
|
MXC_DSPI_CLK,
|
2014-06-23 22:15:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
unsigned int mxc_get_clock(enum mxc_clock clk);
|
2017-05-17 14:23:06 +00:00
|
|
|
ulong get_ddr_freq(ulong);
|
|
|
|
uint get_svr(void);
|
2014-06-23 22:15:54 +00:00
|
|
|
|
2015-10-26 11:47:50 +00:00
|
|
|
#endif /* __ASM_ARCH_FSL_LAYERSCAPE_CLOCK_H_ */
|