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 /* eSPI virtual wire reporting */
10 #define EC_SCI_GPI GPE0_ESPI
11 /* EC wake is EC_PCH_INT which is routed to GPP_F17 pin */
12 #define GPE_EC_WAKE GPE0_DW2_17
13 /* WP signal to PCH */
14 #define GPIO_PCH_WP GPP_E15
15 /* EC in RW or RO */
16 #define GPIO_EC_IN_RW GPP_F18
17 /* Used to gate SoC's SLP_S0# signal */
18 #define GPIO_SLP_S0_GATE GPP_F9
19 /* GPIO IRQ for tight timestamps / wake support */
20 #define EC_SYNC_IRQ GPP_F17_IRQ
21 
22 #endif /* __BASEBOARD_GPIO_H__ */