payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / superio / smsc / lpc47m10x / lpc47m10x.h
blobb8bd3a02461ada984ea7666d4fd68301cbcaeb71
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #ifndef SUPERIO_SMSC_LPC47M10X_H
4 #define SUPERIO_SMSC_LPC47M10X_H
6 #include <device/pnp_type.h>
7 #include <stdint.h>
9 #define LPC47M10X2_FDC 0 /* Floppy */
10 #define LPC47M10X2_PP 3 /* Parallel Port */
11 #define LPC47M10X2_SP1 4 /* Com1 */
12 #define LPC47M10X2_SP2 5 /* Com2 */
13 #define LPC47M10X2_KBC 7 /* Keyboard & Mouse */
14 #define LPC47M10X2_GAME 9 /* GAME */
15 #define LPC47M10X2_PME 10 /* PME reg*/
16 #define LPC47M10X2_MPU 11 /* MPU-401 MIDI */
18 #define LPC47M10X2_MAX_CONFIG_REGISTER 0x5F
20 void lpc47m10x_enable_serial(pnp_devfn_t dev, u16 iobase);
22 void pnp_enter_conf_state(pnp_devfn_t dev);
23 void pnp_exit_conf_state(pnp_devfn_t dev);
25 #endif /* SUPERIO_SMSC_LPC47M10X_H */