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/gpio.h>
7 
8 #define GPIO_EC_IN_RW GPP_C22
9 
10 #define GPIO_PCH_WP GPP_C20
11 
12 /* EC wake pin is routed to GPD2/LAN_WAKE# on PCH */
13 #define GPE_EC_WAKE GPE0_LAN_WAK
14 
15 /* eSPI virtual wire reporting */
16 #define EC_SCI_GPI GPE0_ESPI
17 
18 /* EC sync irq is GPP_C13_IRQ */
19 #define EC_SYNC_IRQ GPP_C13_IRQ
20 
21 #endif /* BASEBOARD_GPIO_H */