1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * clocks_am33xx.h
4  *
5  * AM33xx clock define
6  *
7  * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
8  */
9 
10 #ifndef _CLOCKS_AM33XX_H_
11 #define _CLOCKS_AM33XX_H_
12 
13 /* MAIN PLL Fdll supported frequencies */
14 #define MPUPLL_M_1000	1000
15 #define MPUPLL_M_800	800
16 #define MPUPLL_M_720	720
17 #define MPUPLL_M_600	600
18 #define MPUPLL_M_500	500
19 #define MPUPLL_M_300	300
20 
21 #define UART_RESET		(0x1 << 1)
22 #define UART_CLK_RUNNING_MASK	0x1
23 #define UART_SMART_IDLE_EN	(0x1 << 0x3)
24 
25 #define CM_DLL_CTRL_NO_OVERRIDE	0x0
26 #define CM_DLL_READYST		0x4
27 
28 #define NUM_OPPS	6
29 
30 extern void enable_dmm_clocks(void);
31 extern void enable_emif_clocks(void);
32 extern const struct dpll_params dpll_core_opp100;
33 extern struct dpll_params dpll_mpu_opp100;
34 
35 #endif	/* endif _CLOCKS_AM33XX_H_ */
36