blob: 83e96d1f41c2f09b8dd34204fd4795d45b91db5d [file] [log] [blame]
Nico Hubera53266b2013-05-02 15:26:08 +02001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2013 secunet Security Networks AG
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.
Nico Hubera53266b2013-05-02 15:26:08 +020014 */
15
16#ifndef EC_KONTRON_IT8516E_EC_H
17#define EC_KONTRON_IT8516E_EC_H
18
19enum { /* PNP logical device numbers */
20 IT8516E_LDN_UART1 = 0x01,
21 IT8516E_LDN_UART2 = 0x02,
22 IT8516E_LDN_SWUC = 0x04,
23 IT8516E_LDN_MOUSE = 0x05,
24 IT8516E_LDN_KBD = 0x06,
25 IT8516E_LDN_SMFI = 0x0f,
26 IT8516E_LDN_BRAM = 0x10,
27 IT8516E_LDN_PM1 = 0x11,
28 IT8516E_LDN_PM2 = 0x12,
29 IT8516E_LDN_PM3 = 0x17,
30};
31
32enum it8516e_fan_modes { /* Possible modes of fan control */
33 IT8516E_MODE_AUTO = 0x80,
34 IT8516E_MODE_PWM = 0x01,
35 IT8516E_MODE_SPEED = 0x02,
36 IT8516E_MODE_THERMAL = 0x03,
37};
38
Nico Huber6d6a2ac2013-07-12 14:35:00 +020039enum it8516e_systemp_types { /* Possible sources of system temperature */
40 IT8516E_SYSTEMP_NONE = 0x00,
41 IT8516E_SYSTEMP_AMD = 0x01,
42 IT8516E_SYSTEMP_LM75_90 = 0x02,
43 IT8516E_SYSTEMP_GPIO16 = 0x03,
44 IT8516E_SYSTEMP_LM75_9e = 0x04,
45
46 /* add any new types above this line. */
47 IT8516E_SYSTEMP_LASTPLUSONE,
48};
49
Nico Hubera53266b2013-05-02 15:26:08 +020050#endif