Uwe Hermann | d82baa1 | 2006-12-05 14:13:10 +0000 | [diff] [blame] | 1 | /* |
Stefan Reinauer | 7e61e45 | 2008-01-18 10:35:56 +0000 | [diff] [blame] | 2 | * This file is part of the coreboot project. |
Uwe Hermann | d82baa1 | 2006-12-05 14:13:10 +0000 | [diff] [blame] | 3 | * |
| 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 Hermann | d82baa1 | 2006-12-05 14:13:10 +0000 | [diff] [blame] | 15 | */ |
| 16 | |
Edward O'Callaghan | 117849e | 2015-01-04 16:34:03 +1100 | [diff] [blame] | 17 | #ifndef SUPERIO_SMSC_LPC47B272_H |
| 18 | #define SUPERIO_SMSC_LPC47B272_H |
Uwe Hermann | 7fa0819 | 2010-11-08 20:55:24 +0000 | [diff] [blame] | 19 | |
Steven J. Magnani | e91619a | 2005-09-12 18:55:23 +0000 | [diff] [blame] | 20 | #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 Hermann | 7fa0819 | 2010-11-08 20:55:24 +0000 | [diff] [blame] | 28 | |
Edward O'Callaghan | 117849e | 2015-01-04 16:34:03 +1100 | [diff] [blame] | 29 | #include <arch/io.h> |
| 30 | #include <stdint.h> |
| 31 | |
| 32 | void lpc47b272_enable_serial(pnp_devfn_t dev, u16 iobase); |
| 33 | |
| 34 | #endif /* SUPERIO_SMSC_LPC47B272_H */ |