blob: d8c00254e90d0d56b3eb8101f41fc3c4a300538c [file] [log] [blame]
Aaron Durbinf6933a62012-10-30 09:09:39 -05001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2011 The Chromium OS Authors. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
Stefan Reinauere265d202013-03-12 14:32:26 -070020#ifndef BASKING_RIDGE_THERMAL_H
21#define BASKING_RIDGE_THERMAL_H
Aaron Durbinf6933a62012-10-30 09:09:39 -050022
23/* Fan is OFF */
24#define FAN4_THRESHOLD_OFF 0
25#define FAN4_THRESHOLD_ON 0
26#define FAN4_PWM 0x00
27
28/* Fan is at LOW speed */
29#define FAN3_THRESHOLD_OFF 48
30#define FAN3_THRESHOLD_ON 55
31#define FAN3_PWM 0x40
32
33/* Fan is at MEDIUM speed */
34#define FAN2_THRESHOLD_OFF 52
35#define FAN2_THRESHOLD_ON 64
36#define FAN2_PWM 0x80
37
38/* Fan is at HIGH speed */
39#define FAN1_THRESHOLD_OFF 60
40#define FAN1_THRESHOLD_ON 68
41#define FAN1_PWM 0xb0
42
43/* Fan is at FULL speed */
44#define FAN0_THRESHOLD_OFF 66
45#define FAN0_THRESHOLD_ON 78
46#define FAN0_PWM 0xff
47
48/* Temperature which OS will shutdown at */
49#define CRITICAL_TEMPERATURE 100
50
51/* Temperature which OS will throttle CPU */
52#define PASSIVE_TEMPERATURE 90
53
54/* Tj_max value for calculating PECI CPU temperature */
55#define MAX_TEMPERATURE 100
56
57#endif