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 #define EC_SCI_GPI GPE0A_ESPI_SCI_STS
13 
14 /* EC SMI */
15 #define EC_SMI_GPI GPIO_41
16 
17 #define GPE_EC_WAKE GPE0_DW2_01
18 
19 #define GPIO_EC_IN_RW GPIO_189
20 
21 #define GPIO_PCH_WP GPIO_190
22 
23 /* Memory SKU GPIOs. */
24 #define MEM_CONFIG0 GPIO_68
25 #define MEM_CONFIG1 GPIO_69
26 #define MEM_CONFIG2 GPIO_70
27 #define MEM_CONFIG3 GPIO_71
28 
29 /* EC sync irq is GPP_134_IRQ */
30 #define EC_SYNC_IRQ GPIO_134_IRQ
31 
32 #endif /* BASEBOARD_GPIO_H */