2 * This file is part of the coreboot project.
4 * Copyright (C) 2007 Corey Osgood <corey_osgood@verizon.net>
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.
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.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 * Name: VT82C686A "Super South" South Bridge
23 * Link: http://www.datasheets.org.uk/datasheet.php?article=3510260
24 * Name: VT82C686B "Super South" South Bridge
25 * Link: http://www.datasheet4u.com/html/V/T/8/VT82C686B_VIA.pdf.html
28 /* Super I/0 Configuration Registers. */
29 /* Any registers not listed here are reserved. */
30 #define VT82C686_SIO_DEV_ID 0xe0 /* Super-I/O Device ID */
31 #define VT82C686_SIO_REV 0xe1 /* Super-I/O Device Revision */
32 #define VT82C686_FS 0xe2 /* Function Select */
33 #define VT82C686_FDC 0xe3 /* Floppy */
34 #define VT82C686_PP 0xe6 /* Parallel Port */
35 #define VT82C686_SP1 0xe7 /* Serial Port 1 */
36 #define VT82C686_SP2 0xe8 /* Serial Port 2 */
37 #define VT82C686_SP_CFG 0xee /* Serial Port Configuration */
38 #define VT82C686_POWER 0xef /* Power Down Control */
39 #define VT82C686_PP_CTRL 0xf0 /* Parallel Port Control */
40 #define VT82C686_SP_CTRL 0xf1 /* Serial Port Control */
41 #define VT82C686_FDC_CFG 0xf6 /* Floppy Controller Configuration */
42 #define VT82C686_FDC_DC 0xf8 /* Floppy Drive Control */
43 #define VT82C686_GPIO 0xfc /* General Purpose I/O */
45 /* For reference, used PCI IDs and their names in pci_ids.h: */
47 PCI_VENDOR_ID_VIA 0x1106
48 PCI_DEVICE_ID_VIA_82C686 0x0686 // Function 0, PCI Config
49 PCI_DEVICE_ID_VIA_82C586_1 0x0571 // Function 1, IDE Controller
50 PCI_DEVICE_ID_VIA_82C586_2 0x3038 // Functions 2 & 3, USB Ports 0-1 & 2-3
51 PCI_DEVICE_ID_VIA_82C586_3 0x3040 // Possible 2nd USB Controller?
52 PCI_DEVICE_ID_VIA_82C686_4 0x3057 // Function 4, Power Management
53 PCI_DEVICE_ID_VIA_82C686_5 0x3058 // Function 5, AC'97 Codec
54 PCI_DEVICE_ID_VIA_82C686_6 0x3068 // Function 6, MC'97 Codec