blob: 9814c8e56fd2eee71e588fc416a9cfaa23712d47 [file] [log] [blame]
Zheng Bao9db833b2009-12-28 09:59:44 +00001/*
Uwe Hermannc70e9fc2010-02-15 23:10:19 +00002 * Copyright (C) 2000 AG Electronics Ltd.
3 * Copyright (C) 2003-2004 Linux Networx
4 * Copyright (C) 2004 Tyan
Zheng Bao9db833b2009-12-28 09:59:44 +00005 * Copyright (C) 2005 Digital Design Corporation
Uwe Hermannc70e9fc2010-02-15 23:10:19 +00006 * Copyright (C) 2006 Ron Minnich, LANL
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.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
Paul Menzela46a7122013-02-23 18:37:27 +010020 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Zheng Bao9db833b2009-12-28 09:59:44 +000021 */
22
Edward O'Callaghanc3e77fc2015-01-04 16:24:14 +110023#ifndef SUPERIO_SMSC_LPC47M10X_H
24#define SUPERIO_SMSC_LPC47M10X_H
Uwe Hermann7fa08192010-11-08 20:55:24 +000025
Ronald G. Minnich8a02b7d2006-08-17 20:31:09 +000026#define LPC47M10X2_FDC 0 /* Floppy */
27#define LPC47M10X2_PP 3 /* Parallel Port */
28#define LPC47M10X2_SP1 4 /* Com1 */
29#define LPC47M10X2_SP2 5 /* Com2 */
30#define LPC47M10X2_KBC 7 /* Keyboard & Mouse */
Uwe Hermanna69d9782010-11-15 19:35:14 +000031#define LPC47M10X2_GAME 9 /* GAME */
Ronald G. Minnich8a02b7d2006-08-17 20:31:09 +000032#define LPC47M10X2_PME 10 /* PME reg*/
Kyösti Mälkki19fd2112011-10-16 18:12:59 +030033#define LPC47M10X2_MPU 11 /* MPU-401 MIDI */
Ronald G. Minnich8a02b7d2006-08-17 20:31:09 +000034
35#define LPC47M10X2_MAX_CONFIG_REGISTER 0x5F
Uwe Hermann7fa08192010-11-08 20:55:24 +000036
Edward O'Callaghanc3e77fc2015-01-04 16:24:14 +110037#include <arch/io.h>
38#include <stdint.h>
39
40void lpc47m10x_enable_serial(pnp_devfn_t dev, u16 iobase);
41
42#endif /* SUPERIO_SMSC_LPC47M10X_H */