summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 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;
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 b67d73cb4..4ceceb46e 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