summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/common
diff options
context:
space:
mode:
authorBen Gass <bgass@us.ibm.com>2018-02-15 18:41:44 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-04-30 13:34:41 -0500
commit6fd61efddafb06690f516189896b6c9925e968ab (patch)
tree3dcb4895e27b395dae60a6fa806fcd8156b730f2 /src/import/chips/p9/common
parent80295355e810c092007d9df7acf9ae9e9691f88a (diff)
downloadtalos-hostboot-6fd61efddafb06690f516189896b6c9925e968ab.tar.gz
talos-hostboot-6fd61efddafb06690f516189896b6c9925e968ab.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> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/54203 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/common')
-rw-r--r--src/import/chips/p9/common/include/p9_frequency_buckets.H23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/import/chips/p9/common/include/p9_frequency_buckets.H b/src/import/chips/p9/common/include/p9_frequency_buckets.H
index ab6af1b5d..5053eb332 100644
--- a/src/import/chips/p9/common/include/p9_frequency_buckets.H
+++ b/src/import/chips/p9/common/include/p9_frequency_buckets.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2016,2018 */
+/* Contributors Listed Below - 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