blob: aad698ddfeb8662963535e4a7c954c4156d8438b [file] [log] [blame]
Chandan Nath4ba33452011-10-14 02:58:23 +00001/*
2 * clocks_am33xx.h
3 *
4 * AM33xx clock define
5 *
Matt Porter57da6662013-03-15 10:07:04 +00006 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
Chandan Nath4ba33452011-10-14 02:58:23 +00007 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02008 * SPDX-License-Identifier: GPL-2.0+
Chandan Nath4ba33452011-10-14 02:58:23 +00009 */
10
11#ifndef _CLOCKS_AM33XX_H_
12#define _CLOCKS_AM33XX_H_
13
Tom Rini52437072013-08-30 16:28:46 -040014/* MAIN PLL Fdll supported frequencies */
15#define MPUPLL_M_1000 1000
16#define MPUPLL_M_800 800
17#define MPUPLL_M_720 720
18#define MPUPLL_M_600 600
19#define MPUPLL_M_550 550
20#define MPUPLL_M_300 300
21
Mark Jackson52b003c2013-03-04 01:27:20 +000022/* MAIN PLL Fdll = 550 MHz, by default */
23#ifndef CONFIG_SYS_MPUCLK
Tom Rini52437072013-08-30 16:28:46 -040024#define CONFIG_SYS_MPUCLK MPUPLL_M_550
Mark Jackson52b003c2013-03-04 01:27:20 +000025#endif
Chandan Nath4ba33452011-10-14 02:58:23 +000026
Heiko Schocherb21f2ac2013-07-30 10:48:54 +053027#define UART_RESET (0x1 << 1)
28#define UART_CLK_RUNNING_MASK 0x1
29#define UART_SMART_IDLE_EN (0x1 << 0x3)
30
Matt Porter57da6662013-03-15 10:07:04 +000031extern void enable_dmm_clocks(void);
Chandan Nath4ba33452011-10-14 02:58:23 +000032
33#endif /* endif _CLOCKS_AM33XX_H_ */