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-or-later */
2 
3 #ifndef __BASEBOARD_GPIO_H__
4 #define __BASEBOARD_GPIO_H__
5 
6 #include <soc/gpe.h>
7 #include <soc/gpio.h>
8 
9 /* EC in RW */
10 #define GPIO_EC_IN_RW GPP_A9
11 
12 /* BIOS Flash Write Protect */
13 #define GPIO_PCH_WP GPP_B11
14 
15 /* Memory configuration board straps */
16 #define GPIO_MEM_CONFIG_0 GPP_C12
17 #define GPIO_MEM_CONFIG_1 GPP_C15
18 #define GPIO_MEM_CONFIG_2 GPP_C14
19 #define GPIO_MEM_CONFIG_3 GPP_D15
20 
21 /* EC wake is LAN_WAKE# */
22 #define GPE_EC_WAKE GPE0_LAN_WAK
23 
24 /* EC sync IRQ */
25 #define EC_SYNC_IRQ GPP_C6_IRQ
26 
27 /* eSPI virtual wire reporting */
28 #define EC_SCI_GPI GPE0_ESPI
29 
30 /* DRAM population strap (value 0=fully-populated, 1=half-populated) */
31 #define GPIO_MEM_CH_SEL GPP_A17
32 
33 #endif /* BASEBOARD_GPIO_H */