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_A8
11 
12 /* BIOS Flash Write Protect */
13 #define GPIO_PCH_WP GPP_B11
14 
15 /* EC wake is LAN_WAKE# */
16 #define GPE_EC_WAKE GPE0_LAN_WAK
17 
18 /* EC sync IRQ */
19 #define EC_SYNC_IRQ GPP_C6_IRQ
20 
21 /* eSPI virtual wire reporting */
22 #define EC_SCI_GPI GPE0_ESPI
23 
24 #endif /* BASEBOARD_GPIO_H */