blob: 92fbd27cdccc49cd8793729793de1f0a7e1e1a22 [file] [log] [blame]
Zheng Bao9db833b2009-12-28 09:59:44 +00001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2000 AG Electronics Ltd.
5 * Copyright (C) 2003-2004 Linux Networx
Uwe Hermann340fa932010-11-10 14:53:36 +00006 * Copyright (C) 2004 Tyan
Zheng Bao9db833b2009-12-28 09:59:44 +00007 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
Zheng Bao9db833b2009-12-28 09:59:44 +000017 */
18
Uwe Hermann7fa08192010-11-08 20:55:24 +000019#ifndef SUPERIO_WINBOND_W83627THG_W83627THG_H
20#define SUPERIO_WINBOND_W83627THG_W83627THG_H
21
Stefan Reinauerb70d1992008-10-29 04:45:28 +000022#define W83627THG_FDC 0 /* Floppy */
Uwe Hermann340fa932010-11-10 14:53:36 +000023#define W83627THG_PP 1 /* Parallel port */
Stefan Reinauerb70d1992008-10-29 04:45:28 +000024#define W83627THG_SP1 2 /* Com1 */
25#define W83627THG_SP2 3 /* Com2 */
Uwe Hermann340fa932010-11-10 14:53:36 +000026#define W83627THG_KBC 5 /* PS/2 keyboard & mouse */
Stefan Reinauerb70d1992008-10-29 04:45:28 +000027#define W83627THG_GAME_MIDI_GPIO1 7
28#define W83627THG_GPIO2 8
29#define W83627THG_GPIO3 9
30#define W83627THG_ACPI 10
Uwe Hermann340fa932010-11-10 14:53:36 +000031#define W83627THG_HWM 11 /* Hardware monitor */
Uwe Hermann7fa08192010-11-08 20:55:24 +000032
Edward O'Callaghan85836c22014-07-09 20:26:25 +100033void pnp_enter_ext_func_mode(pnp_devfn_t dev);
34void pnp_exit_ext_func_mode(pnp_devfn_t dev);
Idwer Vollering355092b2011-11-07 17:48:33 +010035
Edward O'Callaghan85836c22014-07-09 20:26:25 +100036void w83627thg_set_clksel_48(pnp_devfn_t dev);
Edward O'Callaghan4f5a5252014-04-03 14:40:24 +110037
38#endif /* SUPERIO_WINBOND_W83627THG_W83627THG_H */