mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
mainboard that we learned with the serengeti that we needed. New function in pnp that is for reading. new prototype in pnp.h. New constants for ite8716f. This board does not build yet; we are exercising code in k8 north that the serengeti did not enable. More tomorrow. Now that we have two boards under way we can hopefully see our way to getting more put in. The 690 is the obvious next choice. Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://coreboot.org/repository/coreboot-v3@876 f3766cd6-281f-0410-b1cd-43a5c92072e9
48 lines
1.9 KiB
C
48 lines
1.9 KiB
C
/*
|
|
* This file is part of the coreboot project.
|
|
*
|
|
* Copyright (C) 2006 Uwe Hermann <uwe@hermann-uwe.de>
|
|
* Copyright (C) 2008 Peter Stuge <peter@stuge.se>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
/* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8716_2.asp */
|
|
/* Status: Untested on real hardware, but it compiles. */
|
|
|
|
#ifndef SUPERIO_ITE_IT8716F_IT8716F_H
|
|
#define SUPERIO_ITE_IT8716F_IT8716F_H
|
|
|
|
#define IT8716F_FDC 0x00 /* Floppy */
|
|
#define IT8716F_SP1 0x01 /* Com1 */
|
|
#define IT8716F_SP2 0x02 /* Com2 */
|
|
#define IT8716F_PP 0x03 /* Parallel port */
|
|
#define IT8716F_EC 0x04 /* Environment controller */
|
|
#define IT8716F_KBCK 0x05 /* Keyboard */
|
|
#define IT8716F_KBCM 0x06 /* Mouse */
|
|
#define IT8716F_GPIO 0x07 /* GPIO */
|
|
#define IT8716F_MIDI 0x08 /* MIDI port */
|
|
#define IT8716F_GAME 0x09 /* GAME port */
|
|
#define IT8716F_IR 0x0a /* Consumer IR */
|
|
|
|
/* Global configuration registers. */
|
|
#define IT8716F_CONFIG_REG_CC 0x02 /* Configure Control (write-only). */
|
|
#define IT8716F_CONFIG_REG_LDN 0x07 /* Logical Device Number. */
|
|
#define IT8716F_CONFIG_REG_CONFIGSEL 0x22 /* Configuration Select. */
|
|
#define IT8716F_CONFIG_REG_CLOCKSEL 0x23 /* Clock Selection. */
|
|
#define IT8716F_CONFIG_REG_SWSUSP 0x24 /* Software Suspend, Flash I/F. */
|
|
|
|
|
|
#endif /* SUPERIO_ITE_IT8716F_IT8716F_H */
|