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
#ifndef __ACPI__
7
#include <
amdblocks/gpio_defs.h
>
8
#include <soc/gpio.h>
9
10
# define MEM_CONFIG0 GPIO_139
11
# define MEM_CONFIG1 GPIO_142
12
# define MEM_CONFIG2 GPIO_131
13
# define MEM_CONFIG3 GPIO_132
14
15
/* SPI Write protect */
16
#define CROS_WP_GPIO GPIO_122
17
#define GPIO_EC_IN_RW GPIO_15
18
19
/* PCIe reset pins */
20
#define PCIE_0_RST GPIO_70
21
#define PCIE_1_RST 0
22
#define PCIE_2_RST GPIO_40
23
#define PCIE_3_RST 0
24
25
#endif
/* _ACPI__ */
26
27
/* These define the GPE, not the GPIO. */
28
#define EC_SCI_GPI GEVENT_3
/* AGPIO 22 -> GPE 3 */
29
#define EC_SMI_GPI GEVENT_10
/* AGPIO 6 -> GPE 10 */
30
#define EC_WAKE_GPI GEVENT_15
/* AGPIO 24 -> GPE 15 */
31
32
#endif
/* __BASEBOARD_GPIO_H__ */
gpio_defs.h
src
mainboard
google
kahlee
variants
baseboard
include
baseboard
gpio.h
Generated by
1.9.1