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/gpe.h>
7 #include <soc/gpio.h>
8 
9 /* EC in RW */
10 #define GPIO_EC_IN_RW GPP_C6
11 
12 /* BIOS Flash Write Protect */
13 #define GPIO_PCH_WP GPP_C23
14 
15 /* Memory configuration board straps */
16 #define GPIO_MEM_CONFIG_0 GPP_C12
17 #define GPIO_MEM_CONFIG_1 GPP_C13
18 #define GPIO_MEM_CONFIG_2 GPP_C14
19 #define GPIO_MEM_CONFIG_3 GPP_C15
20 
21 /* EC wake is LAN_WAKE# which is a special DeepSX wake pin */
22 #define GPE_EC_WAKE GPE0_LAN_WAK
23 
24 /* eSPI virtual wire reporting */
25 #define EC_SCI_GPI GPE0_ESPI
26 
27 /* Power rail control signals */
28 #define EN_PP3300_DX_CAM GPP_C11
29 #define EN_CAM_PMIC_RST_L GPP_C10
30 
31 #endif /* BASEBOARD_GPIO_H */