coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ec.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef VARIANT_EC_H
4 #define VARIANT_EC_H
5 
6 #include <soc/gpe.h>
7 #include <soc/gpio.h>
8 
9 /* EC wake pin */
10 #define EC_WAKE_PIN GPE0_DW1_12
11 
12 /* eSPI virtual wire reporting */
13 #define EC_SCI_GPI GPE0_ESPI
14 
15 /* Enable PS/2 keyboard */
16 #define SIO_EC_ENABLE_PS2K
17 
18 /* Enable DPTF */
19 #define EC_ENABLE_DPTF
20 
21 #endif