Stefan Reinauer | 61be08b | 2006-08-29 17:41:14 +0000 | [diff] [blame] | 1 | /* |
Stefan Reinauer | 7e61e45 | 2008-01-18 10:35:56 +0000 | [diff] [blame] | 2 | * This file is part of the coreboot project. |
Uwe Hermann | a4c56c3 | 2006-11-01 14:31:00 +0000 | [diff] [blame] | 3 | * |
Stefan Reinauer | 61be08b | 2006-08-29 17:41:14 +0000 | [diff] [blame] | 4 | * 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 Reinauer | 61be08b | 2006-08-29 17:41:14 +0000 | [diff] [blame] | 15 | */ |
| 16 | |
Edward O'Callaghan | f292002 | 2014-04-27 00:41:50 +1000 | [diff] [blame] | 17 | #ifndef SUPERIO_ITE_IT8718F_H |
| 18 | #define SUPERIO_ITE_IT8718F_H |
Uwe Hermann | 7fa0819 | 2010-11-08 20:55:24 +0000 | [diff] [blame] | 19 | |
Edward O'Callaghan | 2e4dea6 | 2014-05-12 05:02:58 +1000 | [diff] [blame] | 20 | #include <arch/io.h> |
| 21 | |
Stefan Reinauer | 61be08b | 2006-08-29 17:41:14 +0000 | [diff] [blame] | 22 | /* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8718_2.asp */ |
Stefan Reinauer | 61be08b | 2006-08-29 17:41:14 +0000 | [diff] [blame] | 23 | |
| 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 Hermann | 5c6bae2 | 2010-11-08 15:16:30 +0000 | [diff] [blame] | 29 | #define IT8718F_KBCK 0x05 /* PS/2 keyboard */ |
| 30 | #define IT8718F_KBCM 0x06 /* PS/2 mouse */ |
| 31 | #define IT8718F_GPIO 0x07 /* GPIO */ |
Stefan Reinauer | 61be08b | 2006-08-29 17:41:14 +0000 | [diff] [blame] | 32 | #define IT8718F_IR 0x0a /* Consumer IR */ |
| 33 | |
Edward O'Callaghan | 85836c2 | 2014-07-09 20:26:25 +1000 | [diff] [blame] | 34 | void it8718f_disable_reboot(pnp_devfn_t dev); |
Stefan Reinauer | 80d9804 | 2010-04-30 20:44:30 +0000 | [diff] [blame] | 35 | |
Edward O'Callaghan | f292002 | 2014-04-27 00:41:50 +1000 | [diff] [blame] | 36 | #endif /* SUPERIO_ITE_IT8718F_H */ |