blob: d1f5f7494488baa8e98a6d5c2c3a6ce3808c0e25 [file] [log] [blame]
Uwe Hermannd82baa12006-12-05 14:13:10 +00001/*
Stefan Reinauer7e61e452008-01-18 10:35:56 +00002 * This file is part of the coreboot project.
Uwe Hermannd82baa12006-12-05 14:13:10 +00003 *
4 * Copyright (C) 2005 Digital Design Corporation
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; either version 2 of the License, or
9 * (at your option) any later version.
10 *
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.
Uwe Hermannd82baa12006-12-05 14:13:10 +000015 */
16
Edward O'Callaghan117849e2015-01-04 16:34:03 +110017#ifndef SUPERIO_SMSC_LPC47B272_H
18#define SUPERIO_SMSC_LPC47B272_H
Uwe Hermann7fa08192010-11-08 20:55:24 +000019
Steven J. Magnanie91619a2005-09-12 18:55:23 +000020#define LPC47B272_FDC 0 /* Floppy */
21#define LPC47B272_PP 3 /* Parallel Port */
22#define LPC47B272_SP1 4 /* Com1 */
23#define LPC47B272_SP2 5 /* Com2 */
24#define LPC47B272_KBC 7 /* Keyboard & Mouse */
25#define LPC47B272_RT 10 /* Runtime reg*/
26
27#define LPC47B272_MAX_CONFIG_REGISTER 0x5F
Uwe Hermann7fa08192010-11-08 20:55:24 +000028
Edward O'Callaghan117849e2015-01-04 16:34:03 +110029#include <arch/io.h>
30#include <stdint.h>
31
32void lpc47b272_enable_serial(pnp_devfn_t dev, u16 iobase);
33
34#endif /* SUPERIO_SMSC_LPC47B272_H */