2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2011-10-14 02:58:23 +00:00
|
|
|
/*
|
|
|
|
* clocks_am33xx.h
|
|
|
|
*
|
|
|
|
* AM33xx clock define
|
|
|
|
*
|
2023-11-01 20:56:03 +00:00
|
|
|
* Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
|
2011-10-14 02:58:23 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CLOCKS_AM33XX_H_
|
|
|
|
#define _CLOCKS_AM33XX_H_
|
|
|
|
|
2013-08-30 20:28:46 +00:00
|
|
|
/* MAIN PLL Fdll supported frequencies */
|
|
|
|
#define MPUPLL_M_1000 1000
|
|
|
|
#define MPUPLL_M_800 800
|
|
|
|
#define MPUPLL_M_720 720
|
|
|
|
#define MPUPLL_M_600 600
|
2017-05-05 07:29:08 +00:00
|
|
|
#define MPUPLL_M_500 500
|
2013-08-30 20:28:46 +00:00
|
|
|
#define MPUPLL_M_300 300
|
|
|
|
|
2013-07-30 05:18:54 +00:00
|
|
|
#define UART_RESET (0x1 << 1)
|
|
|
|
#define UART_CLK_RUNNING_MASK 0x1
|
|
|
|
#define UART_SMART_IDLE_EN (0x1 << 0x3)
|
|
|
|
|
2013-12-10 09:32:22 +00:00
|
|
|
#define CM_DLL_CTRL_NO_OVERRIDE 0x0
|
|
|
|
#define CM_DLL_READYST 0x4
|
|
|
|
|
2017-05-05 07:29:10 +00:00
|
|
|
#define NUM_OPPS 6
|
|
|
|
|
2013-03-15 10:07:04 +00:00
|
|
|
extern void enable_dmm_clocks(void);
|
2017-05-16 18:46:35 +00:00
|
|
|
extern void enable_emif_clocks(void);
|
2013-08-14 14:51:31 +00:00
|
|
|
extern const struct dpll_params dpll_core_opp100;
|
|
|
|
extern struct dpll_params dpll_mpu_opp100;
|
2011-10-14 02:58:23 +00:00
|
|
|
|
|
|
|
#endif /* endif _CLOCKS_AM33XX_H_ */
|