Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Wang Huan | 8ce6bec | 2014-09-05 13:52:34 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2014 Freescale Semiconductor, Inc. |
| 4 | * |
Wang Huan | 8ce6bec | 2014-09-05 13:52:34 +0800 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __ASM_ARCH_LS102XA_CLOCK_H_ |
| 8 | #define __ASM_ARCH_LS102XA_CLOCK_H_ |
| 9 | |
Wang Huan | 8ce6bec | 2014-09-05 13:52:34 +0800 | [diff] [blame] | 10 | enum mxc_clock { |
| 11 | MXC_ARM_CLK = 0, |
| 12 | MXC_UART_CLK, |
Wang Huan | 8ce6bec | 2014-09-05 13:52:34 +0800 | [diff] [blame] | 13 | MXC_I2C_CLK, |
| 14 | MXC_DSPI_CLK, |
| 15 | }; |
| 16 | |
| 17 | unsigned int mxc_get_clock(enum mxc_clock clk); |
Simon Glass | 89e0a3a | 2017-05-17 08:23:10 -0600 | [diff] [blame] | 18 | ulong get_ddr_freq(ulong); |
Simon Glass | 243182c | 2017-05-17 08:23:06 -0600 | [diff] [blame] | 19 | uint get_svr(void); |
Wang Huan | 8ce6bec | 2014-09-05 13:52:34 +0800 | [diff] [blame] | 20 | |
| 21 | #endif /* __ASM_ARCH_LS102XA_CLOCK_H_ */ |