summaryrefslogtreecommitdiffstats
path: root/import
diff options
context:
space:
mode:
authorBen Gass <bgass@us.ibm.com>2018-02-15 18:41:44 -0600
committerhostboot <hostboot@us.ibm.com>2019-04-30 10:18:56 -0500
commit647c79394de16652328259c6b532a1bfad437411 (patch)
tree70ddaadf5b66c782fa989940e62d0f911b7bdccb /import
parentabe84794dea88db06ee97da63571c2ac140d934d (diff)
downloadtalos-hcode-647c79394de16652328259c6b532a1bfad437411.tar.gz
talos-hcode-647c79394de16652328259c6b532a1bfad437411.zip
Add p9a.omi.pll.scan.initfile and ifCompiler support.
Frequencies supported for OMI: OMI VCO Data rate MCA_FREQ 19200, 0, DDR4-2400 1200 21330, 0, DDR4-2667 1333 23460, 0, DDR4-2933 1466 23460, 1, DDR4-2933 1466 25600, 1, DDR4-3200 1600 Change-Id: Ideebc4636f79302f3728264fb8dc63a3ba4e807a Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/54198 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Benjamin Gass <bgass@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'import')
-rw-r--r--import/chips/p9/common/include/p9_frequency_buckets.H23
1 files changed, 22 insertions, 1 deletions
diff --git a/import/chips/p9/common/include/p9_frequency_buckets.H b/import/chips/p9/common/include/p9_frequency_buckets.H
index 9695681d..80e0cc83 100644
--- a/import/chips/p9/common/include/p9_frequency_buckets.H
+++ b/import/chips/p9/common/include/p9_frequency_buckets.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HCODE Project */
/* */
-/* COPYRIGHT 2016,2018 */
+/* COPYRIGHT 2016,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -65,6 +65,27 @@ const uint32_t MEM_PLL_FREQ_LIST[MEM_PLL_FREQ_BUCKETS] =
2666
};
+// OMI bucket descriptor
+struct OmiBucketDescriptor_t
+{
+ uint32_t freq; // Frequency in MHz
+ uint32_t vco; // VCO selector
+};
+
+//MC PLL frequency in MHz for Axone
+// index is bucket number
+// OMI -> ATTR_FREQ_OMI_MHZ
+// VCO -> ATTR_OMI_PLL_VCO
+const OmiBucketDescriptor_t OMI_PLL_FREQ_LIST[MEM_PLL_FREQ_BUCKETS] =
+{
+ // OMI VCO Data rate MCA_FREQ
+ { 19200, 0 }, // ->DDR4-2400 1200
+ { 21330, 0 }, // ->DDR4-2667 1333
+ { 23460, 0 }, // ->DDR4-2933 1466
+ { 23460, 1 }, // ->DDR4-2933 1466
+ { 25600, 1 } // ->DDR4-3200 1600
+};
+
// constant definining number of OBUS PLL frequency options ('buckets')
// to be built into unsigned HW image
const uint8_t OBUS_PLL_FREQ_BUCKETS = 3;
OpenPOWER on IntegriCloud