1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 3 * Copyright 2014 Freescale Semiconductor, Inc. 4 * 5 */ 6 7 #ifndef __ASM_ARCH_LS102XA_CLOCK_H_ 8 #define __ASM_ARCH_LS102XA_CLOCK_H_ 9 10 enum mxc_clock { 11 MXC_ARM_CLK = 0, 12 MXC_UART_CLK, 13 MXC_I2C_CLK, 14 MXC_DSPI_CLK, 15 }; 16 17 unsigned int mxc_get_clock(enum mxc_clock clk); 18 ulong get_ddr_freq(ulong); 19 uint get_svr(void); 20 21 #endif /* __ASM_ARCH_LS102XA_CLOCK_H_ */ 22