summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattis fjallstrom <mattis@acm.org>2015-06-04 11:43:56 -0700
committermattis fjallstrom <mattis@acm.org>2015-06-04 11:43:56 -0700
commit388da55ea8ef2b8cf0d0abbbd5d5b6a2739629b9 (patch)
tree07cb35141b17db49bcc21207b05c2f3442088084
parent09073cf965cdea2a914d86c6ffb5fe2eae266cf8 (diff)
downloadolio-linux-3.10-388da55ea8ef2b8cf0d0abbbd5d5b6a2739629b9.tar.xz
olio-linux-3.10-388da55ea8ef2b8cf0d0abbbd5d5b6a2739629b9.zip
Memory settings: CKE pinmux (for powering self-refresh of memory) and mr register to 0x32 (for DDR memory).
Change-Id: Ic530b73141eed24dbad78360581f2fbefefc8420
-rw-r--r--arch/arm/boot/dts/omap3_h1.dts4
-rw-r--r--arch/arm/mach-omap2/sdram-micron-mt29c8g96m-48.h5
2 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/omap3_h1.dts b/arch/arm/boot/dts/omap3_h1.dts
index 1d9be4e7bfe..ed685adb6cb 100644
--- a/arch/arm/boot/dts/omap3_h1.dts
+++ b/arch/arm/boot/dts/omap3_h1.dts
@@ -113,6 +113,10 @@
0x19a 0x000 /* MCSPI1_SIMO, MODE0 | OUTPUT */
0x19c 0x118 /* MCSPI1_SOMI, MODE0 | INPUT_PULLUP */
0x1a0 0x000 /* MCSPI1_CS1, MODE0 | OUTPUT */
+
+ /* CKE pin for memory */
+ 0x232 0x000 /* SDRC_CKE0, MODE0 | OUTPUT */
+ 0x234 0x000 /* SDRC_CKE1, MODE0 | OUTPUT */
/* touch reset */
0x0f2 0x11c /* CAM_D6, MODE4 | INPUT_PULLUP */
diff --git a/arch/arm/mach-omap2/sdram-micron-mt29c8g96m-48.h b/arch/arm/mach-omap2/sdram-micron-mt29c8g96m-48.h
index 6fdb97dbaf2..b1ce1cad2cc 100644
--- a/arch/arm/mach-omap2/sdram-micron-mt29c8g96m-48.h
+++ b/arch/arm/mach-omap2/sdram-micron-mt29c8g96m-48.h
@@ -28,7 +28,7 @@ static struct omap_sdrc_params mt29c8g96_sdrc_params[] = {
.actim_ctrla = 0x7AE1B4C6,
.actim_ctrlb = 0x00021217,
.rfr_ctrl = 0x00062701,
- .mr = 0x00000034,
+ .mr = 0x00000032,
},
[1] = {
.rate = 0,
@@ -42,7 +42,8 @@ static struct omap_sdrc_params mt29c8g96_sdrc_params[] = {
.actim_ctrla = 0x7AE1B4C6,
.actim_ctrlb = 0x00021217,
.rfr_ctrl = 0x0005E601,
- .mr = 0x00000034,
+ .mr = 0x00000032,
+
},
*/