mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-05 20:54:31 +00:00
52f7d8442e
In Errata 1.0.24, if the board is running at OPP50 and has a warm reset, the boot ROM sets the frequencies for OPP100. This patch attempts to drop the frequencies back to OPP50 as soon as possible in the SPL. Then later the voltages and frequencies up set higher. Cc: Enric Balletbo i Serra <eballetbo@iseebcn.com> Cc: Lars Poeschel <poeschel@lemonage.de> Signed-off-by: Steve Kipisz <s-kipisz2@ti.com> [trini: Adapt to current framework] Signed-off-by: Tom Rini <trini@ti.com>
35 lines
807 B
C
35 lines
807 B
C
/*
|
|
* clocks_am33xx.h
|
|
*
|
|
* AM33xx clock define
|
|
*
|
|
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _CLOCKS_AM33XX_H_
|
|
#define _CLOCKS_AM33XX_H_
|
|
|
|
/* 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
|
|
#define MPUPLL_M_550 550
|
|
#define MPUPLL_M_300 300
|
|
|
|
/* MAIN PLL Fdll = 550 MHz, by default */
|
|
#ifndef CONFIG_SYS_MPUCLK
|
|
#define CONFIG_SYS_MPUCLK MPUPLL_M_550
|
|
#endif
|
|
|
|
#define UART_RESET (0x1 << 1)
|
|
#define UART_CLK_RUNNING_MASK 0x1
|
|
#define UART_SMART_IDLE_EN (0x1 << 0x3)
|
|
|
|
extern void enable_dmm_clocks(void);
|
|
extern const struct dpll_params dpll_core_opp100;
|
|
extern struct dpll_params dpll_mpu_opp100;
|
|
|
|
#endif /* endif _CLOCKS_AM33XX_H_ */
|