coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
gpio.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef BASEBOARD_GPIO_H
4 #define BASEBOARD_GPIO_H
5 
6 #include <soc/gpio.h>
7 
8 /*
9  * GPIO_11 for SCI is routed to GPE0_DW1 and maps to group GPIO_GPE_N_31_0
10  * which is North community
11  */
12 #if CONFIG(SOC_ESPI)
13 #define EC_SCI_GPI GPE0A_ESPI_SCI_STS
14 #else
15 #define EC_SCI_GPI GPE0_DW1_05
16 #endif
17 
18 /* EC SMI */
19 #define EC_SMI_GPI GPIO_41
20 
21 #define GPE_EC_WAKE GPE0_DW1_06
22 
23 /* Memory SKU GPIOs. */
24 #define MEM_CONFIG3 GPIO_45
25 #define MEM_CONFIG2 GPIO_38
26 #define MEM_CONFIG1 GPIO_102
27 #define MEM_CONFIG0 GPIO_101
28 
29 #endif /* BASEBOARD_GPIO_H */