u-boot/arch/arm/mach-omap2/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
..
board.c ARM: AM43xx: Add support for RTC only + DDR in self-refresh mode 2018-04-06 17:04:33 -04:00
chilisom.c ARM: am335x: Add support for chiliSOM 2017-01-28 14:04:36 -05:00
clk_synthesizer.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
clock.c ARM: AM43xx: Add support for RTC only + DDR in self-refresh mode 2018-04-06 17:04:33 -04:00
clock_am33xx.c arm: am33xx: Avoid writing into reserved DPLL divider 2018-01-19 15:49:24 -05:00
clock_am43xx.c ARM: AM43xx: Add support for RTC only + DDR in self-refresh mode 2018-04-06 17:04:33 -04:00
clock_ti814x.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
clock_ti816x.c ARM: ti816x: Fix enabling GPIO0, enable GPIO1 as well 2017-07-11 22:41:56 -04:00
ddr.c ti816x: Rework DDR initialization sequence 2017-06-05 11:02:23 -04:00
emif4.c ti816x: Rework DDR initialization sequence 2017-06-05 11:02:23 -04:00
fdt.c libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
hw_data.c arm: omap: Unify get_device_type() function 2017-06-09 20:34:53 -04:00
Kconfig ARM: AM43xx: Add support for RTC only + DDR in self-refresh mode 2018-04-06 17:04:33 -04:00
Makefile arm: mach-omap2: am33xx: Add FDT fixup suport for AM33xx/AM43xx boards 2017-07-22 22:22:44 -04:00
mux.c arm: am33xx: Make pin multiplexing functions optional 2017-09-22 07:40:04 -04:00
prcm-regs.c arm: omap: Unify get_device_type() function 2017-06-09 20:34:53 -04:00
sys_info.c am33xx: Add a function to query MPU voltage in uV 2017-11-17 07:43:32 -05:00
ti816x_emif4.c ti816x: Rework DDR initialization sequence 2017-06-05 11:02:23 -04:00