blob: bf67df561a0da31a79a6c9f842a58170cf06c7af [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Wang Huan8ce6bec2014-09-05 13:52:34 +08002/*
3 * Copyright 2014 Freescale Semiconductor, Inc.
4 *
Wang Huan8ce6bec2014-09-05 13:52:34 +08005 */
6
7#ifndef __ASM_ARCH_LS102XA_CLOCK_H_
8#define __ASM_ARCH_LS102XA_CLOCK_H_
9
10#include <common.h>
11
12enum mxc_clock {
13 MXC_ARM_CLK = 0,
14 MXC_UART_CLK,
15 MXC_ESDHC_CLK,
16 MXC_I2C_CLK,
17 MXC_DSPI_CLK,
18};
19
20unsigned int mxc_get_clock(enum mxc_clock clk);
Simon Glass89e0a3a2017-05-17 08:23:10 -060021ulong get_ddr_freq(ulong);
Simon Glass243182c2017-05-17 08:23:06 -060022uint get_svr(void);
Wang Huan8ce6bec2014-09-05 13:52:34 +080023
24#endif /* __ASM_ARCH_LS102XA_CLOCK_H_ */