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_SOC_WAKE_ODL which is routed to GPP_F17 */
12 #define GPE_EC_WAKE GPE0_DW2_17
13 /* WP signal to PCH */
14 #define GPIO_PCH_WP GPP_E12
15 /* EC in RW or RO */
16 #define GPIO_EC_IN_RW GPP_F18
17 /* GPIO IRQ for tight timestamps */
18 #define EC_SYNC_IRQ GPD2_IRQ
19 /* GPP_H18 used as dummy here since nissa not selected HAVE_SLP_S0_GATE */
20 #define GPIO_SLP_S0_GATE GPP_H18
21 
22 #endif /* __BASEBOARD_GPIO_H__ */