aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants/baseboard/include/baseboard/gpio.h
blob: dfb2cd1bd72441e00c180397d53e8ed15cde6ff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * This file is part of the coreboot project.
 *
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef __BASEBOARD_GPIO_H__
#define __BASEBOARD_GPIO_H__

#include <soc/gpe.h>
#include <soc/gpio.h>

/* eSPI virtual wire reporting */
#define EC_SCI_GPI	GPE0_ESPI

/* EC wake is LAN_WAKE# which is a special DeepSX wake pin */
#define GPE_EC_WAKE	GPE0_LAN_WAK

/* EC sync irq is GPP_C15_IRQ */
#define EC_SYNC_IRQ	GPP_C15_IRQ

/* Memory configuration board straps */
#define GPIO_MEM_CONFIG_0	GPP_C0
#define GPIO_MEM_CONFIG_1	GPP_C3
#define GPIO_MEM_CONFIG_2	GPP_C4
#define GPIO_MEM_CONFIG_3	GPP_C5

#endif /* __BASEBOARD_GPIO_H__ */