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 /* EC wake is LAN_WAKE# which is a special DeepSX wake pin */
16 #define GPE_EC_WAKE GPE0_LAN_WAK
17 
18 /* eSPI virtual wire reporting */
19 #define EC_SCI_GPI GPE0_ESPI
20 
21 /* SKU_ID GPIOs */
22 #define GPIO_SKU_ID0 GPP_C12
23 #define GPIO_SKU_ID1 GPP_C13
24 #define GPIO_SKU_ID2 GPP_C14
25 #define GPIO_SKU_ID3 GPP_C15
26 
27 /* OEM ID GPIOs */
28 #define GPIO_OEM_ID1 GPP_D10
29 #define GPIO_OEM_ID2 GPP_D11
30 #define GPIO_OEM_ID3 GPP_D12
31 
32 #endif /* BASEBOARD_GPIO_H */