From d4c752ac0eca88873e73a5a3bee6573f6d0ec92a Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 30 Oct 2014 10:34:59 +0100 Subject: Colibri iMX6: use optimized DDR settings --- board/toradex/colibri_imx6/800mhz_2x64mx16.cfg | 37 +++++++++++++++----------- board/toradex/colibri_imx6/800mhz_4x64mx16.cfg | 37 +++++++++++++++----------- 2 files changed, 42 insertions(+), 32 deletions(-) diff --git a/board/toradex/colibri_imx6/800mhz_2x64mx16.cfg b/board/toradex/colibri_imx6/800mhz_2x64mx16.cfg index e0d3d10d5a2..1ec514dd4ec 100644 --- a/board/toradex/colibri_imx6/800mhz_2x64mx16.cfg +++ b/board/toradex/colibri_imx6/800mhz_2x64mx16.cfg @@ -5,8 +5,8 @@ */ DATA 4, MX6_MMDC_P0_MDPDC, 0x0002002D -DATA 4, MX6_MMDC_P0_MDCFG0, 0x2c305323 -DATA 4, MX6_MMDC_P0_MDCFG1, 0xB68E8D63 +DATA 4, MX6_MMDC_P0_MDCFG0, 0x2C305503 +DATA 4, MX6_MMDC_P0_MDCFG1, 0xB66D8D63 DATA 4, MX6_MMDC_P0_MDCFG2, 0x01FF00DB DATA 4, MX6_MMDC_P0_MDRWD, 0x000026D2 DATA 4, MX6_MMDC_P0_MDOR, 0x00301023 @@ -33,20 +33,25 @@ DATA 4, MX6_MMDC_P0_MDSCR, 0x04008040 DATA 4, MX6_MMDC_P0_MPZQHWCTRL, 0xA1390003 DATA 4, MX6_MMDC_P1_MPZQHWCTRL, 0xA1390003 DATA 4, MX6_MMDC_P0_MDREF, 0x00005800 -DATA 4, MX6_MMDC_P0_MPODTCTRL, 0x00022227 -DATA 4, MX6_MMDC_P1_MPODTCTRL, 0x00022227 -DATA 4, MX6_MMDC_P0_MPDGCTRL0, 0x420F020F -DATA 4, MX6_MMDC_P0_MPDGCTRL1, 0x01760175 -DATA 4, MX6_MMDC_P1_MPDGCTRL0, 0x41640171 -DATA 4, MX6_MMDC_P1_MPDGCTRL1, 0x015E0160 -DATA 4, MX6_MMDC_P0_MPRDDLCTL, 0x45464B4A -DATA 4, MX6_MMDC_P1_MPRDDLCTL, 0x49484A46 -DATA 4, MX6_MMDC_P0_MPWRDLCTL, 0x40402E32 -DATA 4, MX6_MMDC_P1_MPWRDLCTL, 0x3A3A3231 -DATA 4, MX6_MMDC_P0_MPWLDECTRL0, 0x003A003A -DATA 4, MX6_MMDC_P0_MPWLDECTRL1, 0x0030002F -DATA 4, MX6_MMDC_P1_MPWLDECTRL0, 0x002F0038 -DATA 4, MX6_MMDC_P1_MPWLDECTRL1, 0x00270039 + +DATA 4, MX6_MMDC_P0_MPODTCTRL, 0x00000000 +DATA 4, MX6_MMDC_P1_MPODTCTRL, 0x00000000 + +DATA 4, MX6_MMDC_P0_MPDGCTRL0, 0x42360232 +DATA 4, MX6_MMDC_P0_MPDGCTRL1, 0x021F022A +DATA 4, MX6_MMDC_P1_MPDGCTRL0, 0x421E0224 +DATA 4, MX6_MMDC_P1_MPDGCTRL1, 0x02110218 + +DATA 4, MX6_MMDC_P0_MPRDDLCTL, 0x41434344 +DATA 4, MX6_MMDC_P1_MPRDDLCTL, 0x4345423E +DATA 4, MX6_MMDC_P0_MPWRDLCTL, 0x39383339 +DATA 4, MX6_MMDC_P1_MPWRDLCTL, 0x3E363930 + +DATA 4, MX6_MMDC_P0_MPWLDECTRL0, 0x00340039 +DATA 4, MX6_MMDC_P0_MPWLDECTRL1, 0x002C002D +DATA 4, MX6_MMDC_P1_MPWLDECTRL0, 0x00120019 +DATA 4, MX6_MMDC_P1_MPWLDECTRL1, 0x0012002D + DATA 4, MX6_MMDC_P0_MPMUR0, 0x00000800 DATA 4, MX6_MMDC_P1_MPMUR0, 0x00000800 DATA 4, MX6_MMDC_P0_MDSCR, 0x00000000 diff --git a/board/toradex/colibri_imx6/800mhz_4x64mx16.cfg b/board/toradex/colibri_imx6/800mhz_4x64mx16.cfg index 0e9c13814da..3173e1c9ab4 100644 --- a/board/toradex/colibri_imx6/800mhz_4x64mx16.cfg +++ b/board/toradex/colibri_imx6/800mhz_4x64mx16.cfg @@ -5,8 +5,8 @@ */ DATA 4, MX6_MMDC_P0_MDPDC, 0x0002002D -DATA 4, MX6_MMDC_P0_MDCFG0, 0x2c305323 -DATA 4, MX6_MMDC_P0_MDCFG1, 0xB68E8D63 +DATA 4, MX6_MMDC_P0_MDCFG0, 0x2C305503 +DATA 4, MX6_MMDC_P0_MDCFG1, 0xB66D8D63 DATA 4, MX6_MMDC_P0_MDCFG2, 0x01FF00DB DATA 4, MX6_MMDC_P0_MDRWD, 0x000026D2 DATA 4, MX6_MMDC_P0_MDOR, 0x00301023 @@ -33,20 +33,25 @@ DATA 4, MX6_MMDC_P0_MDSCR, 0x04008040 DATA 4, MX6_MMDC_P0_MPZQHWCTRL, 0xA1390003 DATA 4, MX6_MMDC_P1_MPZQHWCTRL, 0xA1390003 DATA 4, MX6_MMDC_P0_MDREF, 0x00005800 -DATA 4, MX6_MMDC_P0_MPODTCTRL, 0x00022227 -DATA 4, MX6_MMDC_P1_MPODTCTRL, 0x00022227 -DATA 4, MX6_MMDC_P0_MPDGCTRL0, 0x420F020F -DATA 4, MX6_MMDC_P0_MPDGCTRL1, 0x01760175 -DATA 4, MX6_MMDC_P1_MPDGCTRL0, 0x41640171 -DATA 4, MX6_MMDC_P1_MPDGCTRL1, 0x015E0160 -DATA 4, MX6_MMDC_P0_MPRDDLCTL, 0x45464B4A -DATA 4, MX6_MMDC_P1_MPRDDLCTL, 0x49484A46 -DATA 4, MX6_MMDC_P0_MPWRDLCTL, 0x40402E32 -DATA 4, MX6_MMDC_P1_MPWRDLCTL, 0x3A3A3231 -DATA 4, MX6_MMDC_P0_MPWLDECTRL0, 0x003A003A -DATA 4, MX6_MMDC_P0_MPWLDECTRL1, 0x0030002F -DATA 4, MX6_MMDC_P1_MPWLDECTRL0, 0x002F0038 -DATA 4, MX6_MMDC_P1_MPWLDECTRL1, 0x00270039 + +DATA 4, MX6_MMDC_P0_MPODTCTRL, 0x00000000 +DATA 4, MX6_MMDC_P1_MPODTCTRL, 0x00000000 + +DATA 4, MX6_MMDC_P0_MPDGCTRL0, 0x42360232 +DATA 4, MX6_MMDC_P0_MPDGCTRL1, 0x021F022A +DATA 4, MX6_MMDC_P1_MPDGCTRL0, 0x421E0224 +DATA 4, MX6_MMDC_P1_MPDGCTRL1, 0x02110218 + +DATA 4, MX6_MMDC_P0_MPRDDLCTL, 0x41434344 +DATA 4, MX6_MMDC_P1_MPRDDLCTL, 0x4345423E +DATA 4, MX6_MMDC_P0_MPWRDLCTL, 0x39383339 +DATA 4, MX6_MMDC_P1_MPWRDLCTL, 0x3E363930 + +DATA 4, MX6_MMDC_P0_MPWLDECTRL0, 0x00340039 +DATA 4, MX6_MMDC_P0_MPWLDECTRL1, 0x002C002D +DATA 4, MX6_MMDC_P1_MPWLDECTRL0, 0x00120019 +DATA 4, MX6_MMDC_P1_MPWLDECTRL1, 0x0012002D + DATA 4, MX6_MMDC_P0_MPMUR0, 0x00000800 DATA 4, MX6_MMDC_P1_MPMUR0, 0x00000800 DATA 4, MX6_MMDC_P0_MDSCR, 0x00000000 -- cgit v1.2.3