summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/common/include
diff options
context:
space:
mode:
authorJoe McGill <jmcgill@us.ibm.com>2016-07-28 14:20:12 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2016-09-12 10:56:30 -0400
commit06e4348bce17fe43b45a5fb115922f4f1758c249 (patch)
tree55db7c57f2f37826a070dc1b5236d44842e33a34 /src/import/chips/p9/common/include
parentd72ca329056cf523fcfe5c0857fcda30aede1b68 (diff)
downloadtalos-hostboot-06e4348bce17fe43b45a5fb115922f4f1758c249.tar.gz
talos-hostboot-06e4348bce17fe43b45a5fb115922f4f1758c249.zip
add common header to define nest/mem frequency bucket content
Change-Id: I86e270e1e997e860422722dc96be5a633a43ae19 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28526 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29461 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/common/include')
-rw-r--r--src/import/chips/p9/common/include/p9_frequency_buckets.H65
1 files changed, 65 insertions, 0 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
new file mode 100644
index 000000000..acf9710fd
--- /dev/null
+++ b/src/import/chips/p9/common/include/p9_frequency_buckets.H
@@ -0,0 +1,65 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/import/chips/p9/common/include/p9_frequency_buckets.H $ */
+/* */
+/* OpenPOWER HostBoot Project */
+/* */
+/* Contributors Listed Below - COPYRIGHT 2016 */
+/* [+] International Business Machines Corp. */
+/* */
+/* */
+/* Licensed under the Apache License, Version 2.0 (the "License"); */
+/* you may not use this file except in compliance with the License. */
+/* You may obtain a copy of the License at */
+/* */
+/* http://www.apache.org/licenses/LICENSE-2.0 */
+/* */
+/* Unless required by applicable law or agreed to in writing, software */
+/* distributed under the License is distributed on an "AS IS" BASIS, */
+/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */
+/* implied. See the License for the specific language governing */
+/* permissions and limitations under the License. */
+/* */
+/* IBM_PROLOG_END_TAG */
+
+// constant defining number of NEST PLL frequency options ('buckets')
+// to be built into unsigned HW image
+const uint8_t NEST_PLL_FREQ_BUCKETS = 5;
+
+// Nest PLL frequency in MHZ
+// index is bucket number
+const uint32_t NEST_PLL_FREQ_LIST[NEST_PLL_FREQ_BUCKETS] =
+{
+ 1600,
+ 1866,
+ 2000,
+ 2133,
+ 2400
+};
+
+// I2C bus divisor
+// index is bucket number
+const uint32_t NEST_PLL_FREQ_I2CDIV_LIST[NEST_PLL_FREQ_BUCKETS] =
+{
+ 234,
+ 500,
+ 12,
+ 20,
+ 23
+};
+
+// constant defining number of MEM PLL frequency options ('buckets')
+// to be built into unsigned HW image
+const uint8_t MEM_PLL_FREQ_BUCKETS = 5;
+
+// MEM PLL frequency in MHz
+// index is bucket number
+const uint32_t MEM_PLL_FREQ_LIST[MEM_FREQ_BUCKETS] =
+{
+ 1866,
+ 2133,
+ 2400,
+ 2666,
+ 2666
+};
OpenPOWER on IntegriCloud