Add DDR3 support for AM335x-EVM (Version 1.5A)
PATCH 1/1 Add DDR3 support for AM335x-EVM (Version 1.5A)
AM335x EVM 1.5A uses Micron MT41J512M8RH-125 SDRAM 4Gb (512Mx8) as the DDR3 chip.
[Hebbar Gururaja <[email protected]>]
- Resolve merge conflict while rebasing. File structure is changed in the mainline. So re-arrange the code accordingly.
- Update commit message to reflect the DDR3 part number
Signed-off-by Jeff Lance <[email protected]>
Signed-off-by Tom Rini <[email protected]>
Signed-off-by Hebbar Gururaja <[email protected]>
--- arch/arm/include/asm/arch-am33xx/ddr_defs.h | 17 +++++++++++ board/ti/am335x/board.c | 41 +++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 0 deletions(-)
arch/arm/include/asm/arch-am33xx/ddr_defs.h +17 -0
@@ -65,6 +65,23 @@#define MT41J128MJT125_PHY_FIFO_WE 0x100#define MT41J128MJT125_IOCTRL_VALUE 0x18B +/* Micron MT41J512M8RH-125 on EVM v1.5 */ +#define MT41J512M8RH125_EMIF_READ_LATENCY 0x06 +#define MT41J512M8RH125_EMIF_TIM1 0x0888A39B +#define MT41J512M8RH125_EMIF_TIM2 0x26517FDA +#define MT41J512M8RH125_EMIF_TIM3 0x501F84EF +#define MT41J512M8RH125_EMIF_SDCFG 0x61C04BB2 +#define MT41J512M8RH125_EMIF_SDREF 0x0000093B +#define MT41J512M8RH125_ZQ_CFG 0x50074BE4 +#define MT41J512M8RH125_DLL_LOCK_DIFF 0x1 +#define MT41J512M8RH125_RATIO 0x80 +#define MT41J512M8RH125_INVERT_CLKOUT 0x0 +#define MT41J512M8RH125_RD_DQS 0x3B +#define MT41J512M8RH125_WR_DQS 0x3C +#define MT41J512M8RH125_PHY_FIFO_WE 0xA5 +#define MT41J512M8RH125_PHY_WR_DATA 0x74 +#define MT41J512M8RH125_IOCTRL_VALUE 0x18B +/** * Configure SDRAM */
board/ti/am335x/board.c +41 -0
71 lines not on this page · raw message
Signature · 1 line
1.7.0.4
Quoted 11 lines · Jeff Lance
AM335x EVM 1.5A uses Micron MT41J512M8RH-125 SDRAM 4Gb (512Mx8) as the DDR3 chip.
[Hebbar Gururaja <[email protected]>]
- Resolve merge conflict while rebasing. File structure is changed in the mainline. So re-arrange the code accordingly.
- Update commit message to reflect the DDR3 part numberSigned-off-by Jeff Lance <[email protected]>Signed-off-by Tom Rini <[email protected]>Signed-off-by Hebbar Gururaja <[email protected]>
Applied to u-boot-ti/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130125/2bf57d6e/attachment.pgp>