blob: e66e57f7598cec1df4f1d23882595c60bbb2ac8e [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,
Wang Huan8ce6bec2014-09-05 13:52:34 +080015 MXC_I2C_CLK,
16 MXC_DSPI_CLK,
17};
18
19unsigned int mxc_get_clock(enum mxc_clock clk);
Simon Glass89e0a3a2017-05-17 08:23:10 -060020ulong get_ddr_freq(ulong);
Simon Glass243182c2017-05-17 08:23:06 -060021uint get_svr(void);
Wang Huan8ce6bec2014-09-05 13:52:34 +080022
23#endif /* __ASM_ARCH_LS102XA_CLOCK_H_ */