cpu/x86/smm/pci_resource_store: Store DEV/VEN ID
[coreboot2.git] / src / superio / smsc / lpc47n217 / lpc47n217.h
blobb1a2643dfa5b82faa9c3637a4bafc63bb904b3ca
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #ifndef SUPERIO_SMSC_LPC47N217_LPC47N217_H
4 #define SUPERIO_SMSC_LPC47N217_LPC47N217_H
6 #include <device/pnp_type.h>
7 #include <stdint.h>
9 /*
10 * These are arbitrary, but must match declarations in the mainboard
11 * devicetree.cb file. Values chosen to match SMSC LPC47B37x.
13 #define LPC47N217_PP 3 /* Parallel Port */
14 #define LPC47N217_SP1 4 /* Com1 */
15 #define LPC47N217_SP2 5 /* Com2 */
17 #define LPC47N217_MAX_CONFIG_REGISTER 0x39
19 void lpc47n217_enable_serial(pnp_devfn_t dev, u16 iobase);
21 #endif