Debian Codegraph @

src/mainboard/google/rauru/gpio.h

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #ifndef __MAINBOARD_GOOGLE_RAURU_GPIO_H__
4 #define __MAINBOARD_GOOGLE_RAURU_GPIO_H__
5
6 #include <soc/gpio.h>
7
8 #define GPIO_RSVD_GPI0 GPIO(EINT0)
9 #define GPIO_EC_AP_DSI_HPD_OD GPIO(EINT1)
10 #define GPIO_RSVD_GPI2 GPIO(EINT2)
11 #define GPIO_AP_WP_ODL GPIO(EINT3)
12 #define GPIO_ALS_INT_SCP_ODL GPIO(EINT4)
13 #define GPIO_LID_ACCEL_INT_SCP_L GPIO(EINT5)
14 #define GPIO_IMU_INT_SCP_L GPIO(EINT6)
15 #define GPIO_TCHSCR_INT_1V8_ODL GPIO(EINT7)
16 #define GPIO_TCHPAD_INT_ODL GPIO(EINT8)
17 #define GPIO_SPKR_INT_ODL GPIO(EINT9)
18 #define GPIO_HP_INT_ODL GPIO(EINT10)
19 #define GPIO_SD_CD_AP_ODL GPIO(EINT11)
20 #define GPIO_FP_AP_INT_1V8_S3_ODL GPIO(EINT12)
21 #define GPIO_EDP_HPD_1V8 GPIO(EINT13)
22 #define GPIO_SAR_INT_ODL GPIO(EINT14)
23 #define GPIO_RSVD_GPI15 GPIO(EINT15)
24 #define GPIO_RSVD_GPI16 GPIO(EINT16)
25 #define GPIO_RSVD_GPI17 GPIO(EINT17)
26 #define GPIO_GSC_AP_INT_ODL GPIO(EINT18)
27 #define GPIO_EC_AP_INT_ODL GPIO(EINT19)
28 #define GPIO_RSVD_GPI20 GPIO(EINT20)
29 #define GPIO_RSVD_GPI21 GPIO(EINT21)
30 #define GPIO_RSVD_GPI22 GPIO(EINT22)
31 #define GPIO_EC_AP_DP_HPD_OD GPIO(EINT32)
32 #define GPIO_PCIE_SSD_WAKE_OBFF_1V8_ODL GPIO(BPI_D_BUS0)
33 #define GPIO_PCIE_SSD_CLKREQ_1V8_ODL GPIO(BPI_D_BUS2)
34 #define GPIO_PCIE_WLAN_WAKE_OBFF_1V2_ODL GPIO(PCIE0_WAKEN)
35 #define GPIO_PCIE_WLAN_CLKREQ_1V2_ODL GPIO(PCIE0_CLKREQN)
36
37 #define GPIO_BEEP_ON GPIO(PERIPHERAL_EN1)
38 #define GPIO_EN_SPKR GPIO(PERIPHERAL_EN0)
39 #define GPIO_XHCI_INIT_DONE GPIO(EINT28)
40 #define GPIO_AP_EC_WARM_RST_REQ GPIO(EINT29)
41 #define GPIO_FP_RST_1V8_S3_L GPIO(EINT26)
42 #define GPIO_AP_FP_FW_UP_STRAP GPIO(EINT27)
43 #define GPIO_AP_SUSPEND_L GPIO(EINT38)
44 #define GPIO_EN_PWR_FP GPIO(PERIPHERAL_EN3)
45 #define GPIO_BL_PWM_1V8 GPIO(DISP_PWM)
46
47 #define GPIO_AP_EDP_BKLTEN GPIO(PERIPHERAL_EN4)
48 #define GPIO_EN_PP3300_EDP_X GPIO(PERIPHERAL_EN2)
49 #define GPIO_EDP_HPD_1V8 GPIO(EINT13)
50
51 #define GPIO_I2SI4_BCK GPIO(I2SIN1_BCK)
52 #define GPIO_I2SI4_LRCK GPIO(I2SIN1_LRCK)
53 #define GPIO_I2SO4_D0 GPIO(I2SOUT1_DO)
54
55 #define GPIO_I2SI6_MCK GPIO(I2SIN0_MCK)
56 #define GPIO_I2SI6_BCK GPIO(I2SIN0_BCK)
57 #define GPIO_I2SI6_LRCK GPIO(I2SIN0_LRCK)
58 #define GPIO_I2SO6_D0 GPIO(I2SOUT0_DO)
59
60 void setup_chromeos_gpios(void);
61
62 #endif