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_ASURADA_GPIO_H__
4 #define __MAINBOARD_GOOGLE_ASURADA_GPIO_H__
5 
6 #include <soc/gpio.h>
7 
8 /* AP_FLASH_WP */
9 #define GPIO_WP GPIO(EINT14)
10 #define GPIO_EC_AP_INT GPIO(EINT5)
11 #define GPIO_EC_IN_RW GPIO(ANT_SEL8)
12 #define GPIO_H1_AP_INT GPIO(ANT_SEL9)
13 /* SD Card Detection */
14 #define GPIO_SD_CD GPIO(EINT17)
15 /* AP_EC_WARM_RST_REQ */
16 #define GPIO_RESET GPIO(CAM_PDN2)
17 /* EN_SPK */
18 #define GPIO_EN_SPK_AMP GPIO(CAM_PDN1)
19 /* AP_XHCI_INIT_DONE */
20 #define GPIO_XHCI_DONE GPIO(CAM_PDN5)
21 
22 void setup_chromeos_gpios(void);
23 
24 #endif
void setup_chromeos_gpios(void)
Definition: chromeos.c:10