blob: 19a04de90a8243faa44baf434b1b8f80960f05a8 [file] [log] [blame]
Damien Zammit4c2ebeb2013-07-20 17:44:15 +10001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2006 Uwe Hermann <uwe@hermann-uwe.de>
5 * Copyright (C) 2013 Damien Zammit <damien@zamaudio.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
Damien Zammit4c2ebeb2013-07-20 17:44:15 +100016 */
17
Edward O'Callaghanc12db592014-04-13 20:21:56 +100018#ifndef SUPERIO_ITE_IT8728F_H
19#define SUPERIO_ITE_IT8728F_H
Damien Zammit4c2ebeb2013-07-20 17:44:15 +100020
21#define IT8728F_FDC 0x00 /* Floppy */
22#define IT8728F_SP1 0x01 /* Com1 */
23#define IT8728F_SP2 0x02 /* Com2 */
24#define IT8728F_PP 0x03 /* Parallel port */
25#define IT8728F_EC 0x04 /* Environment controller */
26#define IT8728F_KBCK 0x05 /* PS/2 keyboard */
27#define IT8728F_KBCM 0x06 /* PS/2 mouse */
28#define IT8728F_GPIO 0x07 /* GPIO */
29#define IT8728F_IR 0x0a /* Consumer IR */
30
31/* Global configuration registers. */
32#define IT8728F_CONFIG_REG_CC 0x02 /* Configure Control (write-only). */
33#define IT8728F_CONFIG_REG_LDN 0x07 /* Logical Device Number. */
34#define IT8728F_CONFIG_REG_CHIPVERS 0x22 /* Chip version */
35#define IT8728F_CONFIG_REG_CLOCKSEL 0x23 /* Clock Selection. */
36#define IT8728F_CONFIG_REG_SWSUSP 0x24 /* Software Suspend, Flash I/F. 'Special register' */
37
Edward O'Callaghanc12db592014-04-13 20:21:56 +100038#endif /* SUPERIO_ITE_IT8728F_H */