Uwe Hermann | 2d2f0c1 | 2009-10-28 17:36:11 +0000 | [diff] [blame] | 1 | /* |
| 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 Hermann | 2d2f0c1 | 2009-10-28 17:36:11 +0000 | [diff] [blame] | 14 | */ |
| 15 | |
Edward O'Callaghan | cf5ac3d | 2014-06-03 08:40:34 +1000 | [diff] [blame] | 16 | #ifndef SUPERIO_SMSC_LPC47M15X_H |
| 17 | #define SUPERIO_SMSC_LPC47M15X_H |
Uwe Hermann | 7fa0819 | 2010-11-08 20:55:24 +0000 | [diff] [blame] | 18 | |
Stefan Reinauer | 1a08f58 | 2009-10-28 16:52:48 +0000 | [diff] [blame] | 19 | #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 Hermann | a69d978 | 2010-11-15 19:35:14 +0000 | [diff] [blame] | 24 | #define LPC47M15X_GAME 9 /* GAME */ |
Stefan Reinauer | 1a08f58 | 2009-10-28 16:52:48 +0000 | [diff] [blame] | 25 | #define LPC47M15X_PME 10 /* PME reg*/ |
| 26 | #define LPC47M15X_MPU 11 /* MPE -- who knows -- reg*/ |
| 27 | |
| 28 | #define LPC47M15X2_MAX_CONFIG_REGISTER 0x5F |
Uwe Hermann | 7fa0819 | 2010-11-08 20:55:24 +0000 | [diff] [blame] | 29 | |
Edward O'Callaghan | cf5ac3d | 2014-06-03 08:40:34 +1000 | [diff] [blame] | 30 | #include <arch/io.h> |
| 31 | #include <stdint.h> |
| 32 | |
Edward O'Callaghan | 85836c2 | 2014-07-09 20:26:25 +1000 | [diff] [blame] | 33 | void lpc47m15x_enable_serial(pnp_devfn_t dev, u16 iobase); |
Edward O'Callaghan | cf5ac3d | 2014-06-03 08:40:34 +1000 | [diff] [blame] | 34 | |
| 35 | #endif /* SUPERIO_SMSC_LPC47M15X_H */ |