1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright 2018 NXP
4  */
5 
6 #ifndef __ASM_ARCH_IMX8_CLOCK_H__
7 #define __ASM_ARCH_IMX8_CLOCK_H__
8 
9 /* Mainly for compatible to imx common code. */
10 enum mxc_clock {
11 	MXC_ARM_CLK = 0,
12 	MXC_AHB_CLK,
13 	MXC_IPG_CLK,
14 	MXC_UART_CLK,
15 	MXC_CSPI_CLK,
16 	MXC_AXI_CLK,
17 	MXC_DDR_CLK,
18 	MXC_ESDHC_CLK,
19 	MXC_ESDHC2_CLK,
20 	MXC_ESDHC3_CLK,
21 	MXC_I2C_CLK,
22 	MXC_FEC_CLK,
23 };
24 
25 u32 mxc_get_clock(enum mxc_clock clk);
26 
27 #endif /* __ASM_ARCH_IMX8_CLOCK_H__ */
28