u-boot-brain/arch/arm/include/asm/arch-am33xx
Tero Kristo 7619badb9c ARM: AM43xx: Add support for RTC only + DDR in self-refresh mode
Kernel stores information to the RTC_SCRATCH0 and RTC_SCRATCH1 registers
for wakeup from RTC-only mode with DDR in self-refresh. Parse these
registers during SPL boot and jump to the kernel resume vector if the
device is waking up from RTC-only modewith DDR in Self-refresh.

The RTC scratch register layout used is:

SCRATCH0 : bits00-31 : kernel resume address
SCRATCH1 : bits00-15 : RTC magic value used to detect valid config
SCRATCH1 : bits16-31 : board type information populated by bootloader

During the normal boot path the SCRATCH1 : bits16-31 are updated with
the eeprom read board type data. In the rtc_only boot path the rtc
scratchpad register is read and the board type is determined and
correspondingly ddr dpll parameters are set. This is done so as to avoid
costly i2c read to eeprom.

RTC-only +DRR in self-refresh mode support is currently only enabled for
am43xx_evm_rtconly_config.
This is not to be used with epos evm builds.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
[j-keerthy@ti.com Rebased to latest u-boot master branch]
Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
2018-04-06 17:04:33 -04:00
..
chilisom.h ARM: am335x: Add support for chiliSOM 2017-01-28 14:04:36 -05:00
clk_synthesizer.h ARM: AM33xx: Add support for Clock Synthesizer 2016-05-27 15:47:52 -04:00
clock_ti81xx.h Add TI816X support 2013-08-15 18:38:37 -04:00
clock.h ARM: AM43xx: Add support for RTC only + DDR in self-refresh mode 2018-04-06 17:04:33 -04:00
clocks_am33xx.h ti816x: Rework DDR initialization sequence 2017-06-05 11:02:23 -04:00
cpu.h arm: omap: Unify get_device_type() function 2017-06-09 20:34:53 -04:00
ddr_defs.h ti816x: Rework DDR initialization sequence 2017-06-05 11:02:23 -04:00
emac_defs.h ti816x: Enable ethernet support 2017-06-28 11:43:39 -04:00
gpio.h gpio: am43xx: expand gpio support 2015-08-12 20:48:04 -04:00
hardware_am33xx.h Add UART base addresses for additional UARTs 2017-11-17 10:53:45 -05:00
hardware_am43xx.h arm: am33xx: Add support for mulitiple PLL input frequencies 2017-05-12 08:37:14 -04:00
hardware_ti814x.h Add TI816X support 2013-08-15 18:38:37 -04:00
hardware_ti816x.h ti816x: Enable ethernet support 2017-06-28 11:43:39 -04:00
hardware.h Add UART base addresses for additional UARTs 2017-11-17 10:53:45 -05:00
i2c.h Convert CONFIG_SYS_I2C_BUS_MAX to Kconfig 2017-09-01 20:44:30 -04:00
mem.h ARM: omap: clean redundant PISMO_xx macros used in OMAP3 2014-07-25 16:26:12 -04:00
mmc_host_def.h omap: Update the base address of the MMC controllers 2018-01-18 22:04:21 -05:00
mux_am33xx.h am33xx: refactor am33xx mux support and add ti814x support 2013-03-24 12:49:11 -04:00
mux_am43xx.h arm: am437x: mux: Update mux names 2015-04-23 14:56:07 -04:00
mux_ti814x.h am33xx: refactor am33xx mux support and add ti814x support 2013-03-24 12:49:11 -04:00
mux_ti816x.h Add TI816X support 2013-08-15 18:38:37 -04:00
mux.h omap3/am33xx: mux: fix several checkpatch issues 2014-10-23 11:53:02 -04:00
omap.h arm: omap: Unify get_device_type() function 2017-06-09 20:34:53 -04:00
spl.h ARM: am33xx: define BOOT_DEVICE_ONENAND 2017-05-08 11:57:25 -04:00
sys_proto.h am33xx: Add a function to query MPU voltage in uV 2017-11-17 07:43:32 -05:00