blob: 898599775cb8674156e6aeef93dfbaf80d6ed7d1 [file] [log] [blame]
Stefan Reinauer61be08b2006-08-29 17:41:14 +00001/*
Stefan Reinauer7e61e452008-01-18 10:35:56 +00002 * This file is part of the coreboot project.
Uwe Hermanna4c56c32006-11-01 14:31:00 +00003 *
Stefan Reinauer61be08b2006-08-29 17:41:14 +00004 * Copyright (C) 2006 Uwe Hermann <uwe@hermann-uwe.de>
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; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
Stefan Reinauer61be08b2006-08-29 17:41:14 +000015 */
16
Edward O'Callaghanf2920022014-04-27 00:41:50 +100017#ifndef SUPERIO_ITE_IT8718F_H
18#define SUPERIO_ITE_IT8718F_H
Uwe Hermann7fa08192010-11-08 20:55:24 +000019
Edward O'Callaghan2e4dea62014-05-12 05:02:58 +100020#include <arch/io.h>
21
Stefan Reinauer61be08b2006-08-29 17:41:14 +000022/* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8718_2.asp */
Stefan Reinauer61be08b2006-08-29 17:41:14 +000023
24#define IT8718F_FDC 0x00 /* Floppy */
25#define IT8718F_SP1 0x01 /* Com1 */
26#define IT8718F_SP2 0x02 /* Com2 */
27#define IT8718F_PP 0x03 /* Parallel port */
28#define IT8718F_EC 0x04 /* Environment controller */
Uwe Hermann5c6bae22010-11-08 15:16:30 +000029#define IT8718F_KBCK 0x05 /* PS/2 keyboard */
30#define IT8718F_KBCM 0x06 /* PS/2 mouse */
31#define IT8718F_GPIO 0x07 /* GPIO */
Stefan Reinauer61be08b2006-08-29 17:41:14 +000032#define IT8718F_IR 0x0a /* Consumer IR */
33
Edward O'Callaghan85836c22014-07-09 20:26:25 +100034void it8718f_disable_reboot(pnp_devfn_t dev);
Stefan Reinauer80d98042010-04-30 20:44:30 +000035
Edward O'Callaghanf2920022014-04-27 00:41:50 +100036#endif /* SUPERIO_ITE_IT8718F_H */