Add support for the MT41K128M16JT125K memory modules

Add configuration for the MT41K128M16JT125K memory modules as used on the
Bosch Guardian device.

Based on a patch by:
    Govindaraji Sivanantham <Govindaraji.Sivanantham@in.bosch.com>

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
[checkpatch.pl cleanup by Martyn Welch]
Signed-off-by: Martyn Welch <martyn.welch@collabora.com>
This commit is contained in:
Sjoerd Simons 2019-02-25 15:32:58 +00:00 committed by Tom Rini
parent ddb65acf04
commit f50939647c

View file

@ -84,6 +84,22 @@
#define MT41K128MJT187E_PHY_FIFO_WE 0x100 #define MT41K128MJT187E_PHY_FIFO_WE 0x100
#define MT41K128MJT187E_IOCTRL_VALUE 0x18B #define MT41K128MJT187E_IOCTRL_VALUE 0x18B
/* Micron MT41K128M16JT-125 IT:K (256 MB) at 400MHz */
#define MT41K128M16JT125K_EMIF_READ_LATENCY 0x07
#define MT41K128M16JT125K_EMIF_TIM1 0x0AAAD4DB
#define MT41K128M16JT125K_EMIF_TIM2 0x2A437FDA
#define MT41K128M16JT125K_EMIF_TIM3 0x501F83FF
#define MT41K128M16JT125K_EMIF_SDCFG 0x61A052B2
#define MT41K128M16JT125K_EMIF_SDREF 0x00000C30
#define MT41K128M16JT125K_ZQ_CFG 0x50074BE4
#define MT41K128M16JT125K_RATIO 0x80
#define MT41K128M16JT125K_INVERT_CLKOUT 0x0
#define MT41K128M16JT125K_RD_DQS 0x38
#define MT41K128M16JT125K_WR_DQS 0x46
#define MT41K128M16JT125K_PHY_WR_DATA 0x7D
#define MT41K128M16JT125K_PHY_FIFO_WE 0x9B
#define MT41K128M16JT125K_IOCTRL_VALUE 0x18B
/* Micron MT41J64M16JT-125 */ /* Micron MT41J64M16JT-125 */
#define MT41J64MJT125_EMIF_SDCFG 0x61C04A32 #define MT41J64MJT125_EMIF_SDCFG 0x61C04A32