payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / lenovo / g505s / mainboard.h
blobd4ca524835a5a6e26f5b556f7dbcaf2d853d2ea2
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 /*
4 * "The way things are connected" and a few setup options
5 */
7 #ifndef _MAINBOARD_LENOVO_G505S_MAINBOARD_H
8 #define _MAINBOARD_LENOVO_G505S_MAINBOARD_H
10 /* What is connected to GEVENT pins */
11 #define EC_SCI_GEVENT 3
12 #define EC_LID_GEVENT 22
13 #define EC_SMI_GEVENT 23
14 #define PCIE_GEVENT 8
16 /* Any GEVENT pin can be mapped to any GPE. We try to keep the mapping 1:1, but
17 * we make the distinction between GEVENT pin and SCI.
19 #define EC_SCI_GPE EC_SCI_GEVENT
20 #define EC_LID_GPE EC_LID_GEVENT
21 #define PME_GPE 0x0b
22 #define PCIE_GPE 0x18
24 /* Enable PS/2 Keyboard and Mouse */
25 #define SIO_EC_ENABLE_PS2K
27 #endif /* _MAINBOARD_LENOVO_G505S_MAINBOARD_H */