summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9
diff options
context:
space:
mode:
authorBen Gass <bgass@us.ibm.com>2018-02-15 18:41:44 -0600
committerRAJA DAS <rajadas2@in.ibm.com>2019-05-05 22:56:21 -0500
commitb031344b3316c0c8c2c674189627f8a8557d4c3b (patch)
tree316c780d6f210eb5fdbff72165cdd4987dc3b869 /src/import/chips/p9
parentce819e5d65edf09f0b029c7d6afcfc4cb5c00187 (diff)
downloadtalos-sbe-b031344b3316c0c8c2c674189627f8a8557d4c3b.tar.gz
talos-sbe-b031344b3316c0c8c2c674189627f8a8557d4c3b.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/54201 Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Diffstat (limited to 'src/import/chips/p9')
-rw-r--r--src/import/chips/p9/common/include/p9_frequency_buckets.H23
-rw-r--r--src/import/chips/p9/procedures/xml/attribute_info/nest_attributes.xml21
2 files changed, 42 insertions, 2 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 5a9e19e5..745f4363 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 sbe 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;
diff --git a/src/import/chips/p9/procedures/xml/attribute_info/nest_attributes.xml b/src/import/chips/p9/procedures/xml/attribute_info/nest_attributes.xml
index 6f06714d..b48e7a96 100644
--- a/src/import/chips/p9/procedures/xml/attribute_info/nest_attributes.xml
+++ b/src/import/chips/p9/procedures/xml/attribute_info/nest_attributes.xml
@@ -60,8 +60,11 @@
<valueType>uint32</valueType>
<enum>
2000 = 2000,
- 2400 = 2400
+ 2400 = 2400,
+ 1333 = 1333,
+ 1600 = 1600
</enum>
+ <writeable/>
<platInit/>
</attribute>
<!-- ********************************************************************** -->
@@ -73,6 +76,7 @@
</description>
<valueType>uint32</valueType>
<enum>
+ 19200 = 19200,
21330 = 21330,
23460 = 23460,
25600 = 25600
@@ -82,6 +86,21 @@
</attribute>
<!-- ********************************************************************** -->
<attribute>
+ <id>ATTR_OMI_PLL_VCO</id>
+ <targetType>TARGET_TYPE_PROC_CHIP</targetType>
+ <description>
+ Should the 20GHz or the 26GHz OMI PLL VCO be used.
+ </description>
+ <valueType>uint8</valueType>
+ <enum>
+ 20G = 0,
+ 26G = 1
+ </enum>
+ <platInit/>
+ <writeable/>
+</attribute>
+<!-- ********************************************************************** -->
+<attribute>
<id>ATTR_FREQ_O_MHZ</id>
<targetType>TARGET_TYPE_PROC_CHIP</targetType>
<description>
OpenPOWER on IntegriCloud