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 __MAINBOARD_GOOGLE_KUKUI_GPIO_H__
4 #define __MAINBOARD_GOOGLE_KUKUI_GPIO_H__
5 
6 #include <soc/gpio.h>
7 
8 #define GPIO_WP GPIO(PERIPHERAL_EN0)
9 #define EC_IRQ GPIO(PERIPHERAL_EN1)
10 #define EC_IN_RW GPIO(PERIPHERAL_EN14)
11 #define CR50_IRQ GPIO(PERIPHERAL_EN3)
12 #define GPIO_RESET GPIO(PERIPHERAL_EN8)
13 #define GPIO_EN_SPK_AMP GPIO(PERIPHERAL_EN12)
14 
15 void setup_chromeos_gpios(void);
16 
17 #endif
void setup_chromeos_gpios(void)
Definition: chromeos.c:10