blob: 5ee4be0a22e93b4e5418cbe31b57c3fd5f3e8c5c [file] [log] [blame]
Fabian Kunkelf75c3b42015-05-25 17:04:28 +02001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2014 Edward O'Callaghan <eocallaghan@alterapraxis.com>
5 * Copyright (C) 2015 BAP - Bruhnspace Advanced Projects
6 * (Written by Fabian Kunkel <fabi@adv.bruhnspace.com> for BAP)
7 *
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.
Fabian Kunkelf75c3b42015-05-25 17:04:28 +020017 */
18
19/*
20 * Datasheet:
21 * - Name: F81866D/A-I, Release Date: Jan 2012, Version: V0.12P
22 * - Link: http://www.alldatasheet.com/datasheet-pdf/pdf/459085/FINTEK/F81866AD-I.html
23 */
24
25#ifndef SUPERIO_FINTEK_F81866_H
26#define SUPERIO_FINTEK_F81866_H
27
28/* Logical Device Numbers (LDN) */
29#define F81866D_FDC 0x00 /* Floppy */
30#define F81866D_SP1 0x10 /* UART1 */
31#define F81866D_SP2 0x11 /* UART2 */
32#define F81866D_SP3 0x12 /* UART3 */
33#define F81866D_SP4 0x13 /* UART4 */
34#define F81866D_SP5 0x14 /* UART3 */
35#define F81866D_SP6 0x15 /* UART4 */
36#define F81866D_PP 0x03 /* Parallel Port */
37#define F81866D_HWM 0x04 /* Hardware Monitor */
38#define F81866D_KBC 0x05 /* Keyboard/Mouse */
39#define F81866D_GPIO 0x06 /* General Purpose I/O (GPIO) */
40#define F81866D_WDT 0x07 /* Watchdog */
41#define F81866D_PME 0x0a /* Power Management Events (PME) */
42
43#endif /* SUPERIO_FINTEK_F81866_H */