blob: 179b5c0daffd595b3e4f78106e5be978973d3e77 [file] [log] [blame]
Uwe Hermann2d2f0c12009-10-28 17:36:11 +00001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2009 coresystems GmbH
5 *
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; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
Uwe Hermann2d2f0c12009-10-28 17:36:11 +000014 */
15
Edward O'Callaghancf5ac3d2014-06-03 08:40:34 +100016#ifndef SUPERIO_SMSC_LPC47M15X_H
17#define SUPERIO_SMSC_LPC47M15X_H
Uwe Hermann7fa08192010-11-08 20:55:24 +000018
Stefan Reinauer1a08f582009-10-28 16:52:48 +000019#define LPC47M15X_FDC 0 /* Floppy */
20#define LPC47M15X_PP 3 /* Parallel Port */
21#define LPC47M15X_SP1 4 /* Com1 */
22#define LPC47M15X_SP2 5 /* Com2 */
23#define LPC47M15X_KBC 7 /* Keyboard & Mouse */
Uwe Hermanna69d9782010-11-15 19:35:14 +000024#define LPC47M15X_GAME 9 /* GAME */
Stefan Reinauer1a08f582009-10-28 16:52:48 +000025#define LPC47M15X_PME 10 /* PME reg*/
26#define LPC47M15X_MPU 11 /* MPE -- who knows -- reg*/
27
28#define LPC47M15X2_MAX_CONFIG_REGISTER 0x5F
Uwe Hermann7fa08192010-11-08 20:55:24 +000029
Edward O'Callaghancf5ac3d2014-06-03 08:40:34 +100030#include <arch/io.h>
31#include <stdint.h>
32
Edward O'Callaghan85836c22014-07-09 20:26:25 +100033void lpc47m15x_enable_serial(pnp_devfn_t dev, u16 iobase);
Edward O'Callaghancf5ac3d2014-06-03 08:40:34 +100034
35#endif /* SUPERIO_SMSC_LPC47M15X_H */