summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/sdram-toshiba-hynix-numonyx.h
diff options
context:
space:
mode:
authorDoug Zobel <dzobel1@motorola.com>2013-11-15 14:29:07 -0600
committerJames Wylder <jwylder@motorola.com>2014-03-05 17:46:52 -0600
commitd2a782003a6047da120a33e6f8ee6fd33bb825d6 (patch)
tree8d20bd4ecda62a06e98993c4108456bc1acb0d0b /arch/arm/mach-omap2/sdram-toshiba-hynix-numonyx.h
parent32fd2d36d2464056d4522a9c02797b7c2b2e884f (diff)
downloadolio-linux-3.10-d2a782003a6047da120a33e6f8ee6fd33bb825d6.tar.xz
olio-linux-3.10-d2a782003a6047da120a33e6f8ee6fd33bb825d6.zip
CW integration and minnow bringup
* create minnow machine type * create Android makefile * add pre-commit syntax check * enable -Werror * Add drivers: CPCAP, TPS65xxx, m4sensorhub, atmxt, lm3535, usb gadget, minnow display, TI 12xx wireless Change-Id: I7962f5e1256715f2452aed5a62a4f2f2383d5046
Diffstat (limited to 'arch/arm/mach-omap2/sdram-toshiba-hynix-numonyx.h')
-rw-r--r--arch/arm/mach-omap2/sdram-toshiba-hynix-numonyx.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/sdram-toshiba-hynix-numonyx.h b/arch/arm/mach-omap2/sdram-toshiba-hynix-numonyx.h
new file mode 100644
index 00000000000..c7acdb8312d
--- /dev/null
+++ b/arch/arm/mach-omap2/sdram-toshiba-hynix-numonyx.h
@@ -0,0 +1,66 @@
+/*
+ * SDRC register values for the Toshiba, Hynxi and Numonyx.
+ * These are common SDRC parameters for all vendors since we
+ * use the JEDEC JESD209A parameters.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef ARCH_ARM_MACH_OMAP2_SDRAM_TOSHIBA_HYNIX_NUMONYX
+
+#define ARCH_ARM_MACH_OMAP2_SDRAM_TOSHIBA_HYNIX_NUMONYX
+
+#include "sdrc.h"
+
+static struct omap_sdrc_params JEDEC_JESD209A_sdrc_params[] = {
+ [0] = {
+ .rate = 200000000,
+ .actim_ctrla = 0xE2E1B4C6,
+ .actim_ctrlb = 0x00022228,
+ .rfr_ctrl = 0x0005E602,
+ .mr = 0x00000032,
+ },
+ [1] = {
+ .rate = 100000000,
+ .actim_ctrla = 0x7211B485,
+ .actim_ctrlb = 0x00022214,
+ .rfr_ctrl = 0x0002DA02,
+ .mr = 0x00000032,
+ },
+ [2] = {
+ .rate = 166000000,
+ .actim_ctrla = 0xE2E1B4C6,
+ .actim_ctrlb = 0x00022228,
+ .rfr_ctrl = 0x0004DD02,
+ .mr = 0x00000032,
+ },
+ [3] = {
+ .rate = 83000000,
+ .actim_ctrla = 0x7215B485,
+ .actim_ctrlb = 0x00022214,
+ .rfr_ctrl = 0x00025602,
+ .mr = 0x00000032,
+ },
+ [4] = {
+ .rate = 160000000,
+ .actim_ctrla = 0xBA9DB4C6,
+ .actim_ctrlb = 0x00022220,
+ .rfr_ctrl = 0x0004AE02,
+ .mr = 0x00000032,
+ },
+ [5] = {
+ .rate = 80000000,
+ .actim_ctrla = 0x49512284,
+ .actim_ctrlb = 0x0001120C,
+ .rfr_ctrl = 0x23E02,
+ .mr = 0x00000032,
+ },
+ [6] = {
+ .rate = 0
+ },
+};
+
+#endif
+