blob: 7e048af2e7d882bdf944d44da6e5719e886199be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* This file is part of the coreboot project. */
#ifndef SUPERIO_ITE_IT8613E_H
#define SUPERIO_ITE_IT8613E_H
/*
* IT8613 supports 2 clock inputs: PCICLK and CLKIN. Multiple registers need
* to be set to choose proper source. PCICLK is required for LPC.
*
* In the table below PD means pull-down, X - don't care.
*
* |-------------------------------------------------------------------|
* | CLKIN | PCICLK | LDN7\ | GBL\ | LDN7\ | LDN7\ | GBL\ |
* | | | 71h[3] | 23h[3] | 2Dh[2] | 2Dh[1] | 23h[0] |
* |--------+--------+---------+---------+---------+---------+---------|
* | PD | 33 MHz | X | 0 | 0 | 0 | 0 |
* | PD | 24 MHz | 1 | 1 | X | 0 | 1 |
* | PD | 25 MHz | X | 0 | 1 | 0 | 0 |
* | 24 MHz | X | 0 | 1 | X | 0 | 1 |
* | 48 MHz | X | 0 | 1 | X | 0 | 0 |
* |-------------------------------------------------------------------|
*
*/
#define IT8613E_SP1 0x01 /* Com1 */
#define IT8613E_EC 0x04 /* Environment controller */
#define IT8613E_KBCK 0x05 /* PS/2 keyboard */
#define IT8613E_KBCM 0x06 /* PS/2 mouse */
#define IT8613E_GPIO 0x07 /* GPIO */
#define IT8613E_CIR 0x0a /* Consumer Infrared */
#endif /* SUPERIO_ITE_IT8613E_H */
|