ARM: AM43xx: EPOS_EVM: Add support for LPDDR2
authorLokesh Vutla <lokeshvutla@ti.com>
Tue, 10 Dec 2013 09:32:22 +0000 (15:02 +0530)
committerTom Rini <trini@ti.com>
Thu, 19 Dec 2013 02:14:44 +0000 (21:14 -0500)
commitd3daba10f159cca7e9d24c6f154926a9b92c75e3
tree34dee6df0d4914e66bc0bc9a3c652b20fc0e7eb7
parent965de8b91bddd1f5967240d1d44005719b09dd5e
ARM: AM43xx: EPOS_EVM: Add support for LPDDR2

AM4372 EPOS EVM has 1GB LPDDR2(Part no: MT42L256M32D2LG-25 WT:A)
Adding LPDDR2 init sequence and register details for the same.
Below is the brief description of LPDDR2 init sequence:
-> Configure VTP
-> Configure DDR IO settings
-> Disable initialization and refreshes until EMIF registers are programmed.
-> Program Timing registers
-> Program PHY control and Temp alert and ZQ config registers.
-> Enable initialization and refreshes and configure SDRAM CONFIG register
-> Wait till initialization is complete and the configure MR registers.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/cpu/armv7/am33xx/ddr.c
arch/arm/cpu/armv7/am33xx/emif4.c
arch/arm/include/asm/arch-am33xx/clocks_am33xx.h
arch/arm/include/asm/arch-am33xx/cpu.h
arch/arm/include/asm/arch-am33xx/ddr_defs.h
arch/arm/include/asm/arch-am33xx/hardware_am43xx.h
arch/arm/include/asm/emif.h
board/ti/am43xx/board.c