Skip to content

Commit

Permalink
Add p9a.omi.pll.scan.initfile and ifCompiler support.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
BenAtIBM authored and op-jenkins committed Apr 30, 2019
1 parent abe8479 commit 647c793
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion import/chips/p9/common/include/p9_frequency_buckets.H
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HCODE Project */
/* */
/* COPYRIGHT 2016,2018 */
/* COPYRIGHT 2016,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 647c793

Please sign in to comment.