mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / intel / baskingridge / acpi_tables.c
blob675f732128fe67daa6fd915ee08b35cc917a053c
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpi_gnvs.h>
4 #include <device/device.h>
5 #include <southbridge/intel/lynxpoint/pch.h>
6 #include <soc/nvs.h>
8 #include "thermal.h"
10 void mainboard_fill_gnvs(struct global_nvs *gnvs)
12 /* TPM Present */
13 gnvs->tpmp = 1;
15 gnvs->f4of = FAN4_THRESHOLD_OFF;
16 gnvs->f4on = FAN4_THRESHOLD_ON;
17 gnvs->f4pw = FAN4_PWM;
19 gnvs->f3of = FAN3_THRESHOLD_OFF;
20 gnvs->f3on = FAN3_THRESHOLD_ON;
21 gnvs->f3pw = FAN3_PWM;
23 gnvs->f2of = FAN2_THRESHOLD_OFF;
24 gnvs->f2on = FAN2_THRESHOLD_ON;
25 gnvs->f2pw = FAN2_PWM;
27 gnvs->f1of = FAN1_THRESHOLD_OFF;
28 gnvs->f1on = FAN1_THRESHOLD_ON;
29 gnvs->f1pw = FAN1_PWM;
31 gnvs->f0of = FAN0_THRESHOLD_OFF;
32 gnvs->f0on = FAN0_THRESHOLD_ON;
33 gnvs->f0pw = FAN0_PWM;
35 gnvs->tcrt = CRITICAL_TEMPERATURE;
36 gnvs->tpsv = PASSIVE_TEMPERATURE;
37 gnvs->tmax = MAX_TEMPERATURE;