coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
gpio.h File Reference
#include <soc/gpio.h>
Include dependency graph for gpio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GPIO_EC_AP_INT   GPIO(GPIO_04)
 
#define GPIO_WP   GPIO(GPIO_05)
 
#define GPIO_SD_CD   GPIO(I2SO1_D1)
 
#define GPIO_BEEP_ON   GPIO(DMIC1_DAT)
 
#define GPIO_XHCI_DONE   GPIO(DGI_D4)
 
#define GPIO_EC_IN_RW   GPIO(DGI_D10)
 
#define GPIO_GSC_AP_INT   GPIO(DGI_D11)
 
#define GPIO_RST_RT1011   GPIO(DGI_VSYNC)
 
#define GPIO_EN_SPK   GPIO(UART1_RTS)
 
#define GPIO_RESET   GPIO(UART1_CTS)
 

Functions

void setup_chromeos_gpios (void)
 

Macro Definition Documentation

◆ GPIO_BEEP_ON

#define GPIO_BEEP_ON   GPIO(DMIC1_DAT)

Definition at line 11 of file gpio.h.

◆ GPIO_EC_AP_INT

#define GPIO_EC_AP_INT   GPIO(GPIO_04)

Definition at line 8 of file gpio.h.

◆ GPIO_EC_IN_RW

#define GPIO_EC_IN_RW   GPIO(DGI_D10)

Definition at line 13 of file gpio.h.

◆ GPIO_EN_SPK

#define GPIO_EN_SPK   GPIO(UART1_RTS)

Definition at line 16 of file gpio.h.

◆ GPIO_GSC_AP_INT

#define GPIO_GSC_AP_INT   GPIO(DGI_D11)

Definition at line 14 of file gpio.h.

◆ GPIO_RESET

#define GPIO_RESET   GPIO(UART1_CTS)

Definition at line 17 of file gpio.h.

◆ GPIO_RST_RT1011

#define GPIO_RST_RT1011   GPIO(DGI_VSYNC)

Definition at line 15 of file gpio.h.

◆ GPIO_SD_CD

#define GPIO_SD_CD   GPIO(I2SO1_D1)

Definition at line 10 of file gpio.h.

◆ GPIO_WP

#define GPIO_WP   GPIO(GPIO_05)

Definition at line 9 of file gpio.h.

◆ GPIO_XHCI_DONE

#define GPIO_XHCI_DONE   GPIO(DGI_D4)

Definition at line 12 of file gpio.h.

Function Documentation

◆ setup_chromeos_gpios()

void setup_chromeos_gpios ( void  )

Definition at line 10 of file chromeos.c.