blob: 9bba1df9e9c842000c6005fd708871afcef374d0 [file] [log] [blame]
David Wu9ed24902021-11-10 15:20:06 +08001/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3#include <baseboard/variants.h>
4#include <device/pci_ids.h>
5
6const struct cpu_power_limits limits[] = {
7 /* SKU_ID, TDP (Watts), pl1_min, pl1_max, pl2_min, pl2_max, pl4 */
Felix Singer43b7f412022-03-07 04:34:52 +01008 { PCI_DID_INTEL_ADL_P_ID_7, 15, 12000, 15000, 40000, 40000, 105000 },
9 { PCI_DID_INTEL_ADL_P_ID_6, 15, 12000, 15000, 40000, 40000, 105000 },
10 { PCI_DID_INTEL_ADL_P_ID_5, 28, 18000, 28000, 40000, 40000, 105000 },
11 { PCI_DID_INTEL_ADL_P_ID_3, 28, 18000, 28000, 40000, 40000, 105000 },
David Wu9ed24902021-11-10 15:20:06 +080012};
13
14void variant_devtree_update(void)
15{
16 size_t total_entries = ARRAY_SIZE(limits);
17 variant_update_power_limits(limits, total_entries);
18}