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 _SOC_JASPERLAKE_GPIO_H_
4 #define _SOC_JASPERLAKE_GPIO_H_
5 
6 #include <soc/gpio_defs.h>
7 #include <intelblocks/gpio.h>
8 
9 #define CROS_GPIO_NAME "INT34C8"
10 #define CROS_GPIO_COMM0_NAME "INT34C8:00"
11 #define CROS_GPIO_COMM1_NAME "INT34C8:01"
12 #define CROS_GPIO_COMM4_NAME "INT34C8:02"
13 #define CROS_GPIO_COMM5_NAME "INT34C8:03"
14 
15 /* Enable GPIO community power management configuration */
16 #define MISCCFG_GPIO_PM_CONFIG_BITS (MISCCFG_GPVNNREQEN | \
17  MISCCFG_GPPGCBDPCGEN | MISCCFG_GPSIDEDPCGEN | \
18  MISCCFG_GPRCOMPCDLCGEN | MISCCFG_GPRTCDLCGEN | MISCCFG_GSXSLCGEN \
19  | MISCCFG_GPDPCGEN | MISCCFG_GPDLCGEN)
20 
21 #endif