xref: /openbmc/u-boot/arch/arm/include/asm/arch-ls102xa/clock.h (revision 1f4e25780a827de9526b5f60b8a574b1e4f45b9c)
1 /*
2  * Copyright 2014 Freescale Semiconductor, Inc.
3  *
4  * SPDX-License-Identifier:	GPL-2.0+
5  *
6  */
7 
8 #ifndef __ASM_ARCH_LS102XA_CLOCK_H_
9 #define __ASM_ARCH_LS102XA_CLOCK_H_
10 
11 #include <common.h>
12 
13 enum mxc_clock {
14 	MXC_ARM_CLK = 0,
15 	MXC_UART_CLK,
16 	MXC_ESDHC_CLK,
17 	MXC_I2C_CLK,
18 	MXC_DSPI_CLK,
19 };
20 
21 unsigned int mxc_get_clock(enum mxc_clock clk);
22 ulong get_ddr_freq(ulong);
23 uint get_svr(void);
24 
25 #endif /* __ASM_ARCH_LS102XA_CLOCK_H_ */
26