1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * "The way things are connected" and a few setup options
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
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
24 /* Enable PS/2 Keyboard and Mouse */
25 #define SIO_EC_ENABLE_PS2K
27 #endif /* _MAINBOARD_LENOVO_G505S_MAINBOARD_H */