diff options
-rw-r--r-- | board/cr50/gpio.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/cr50/gpio.inc b/board/cr50/gpio.inc index 9457adba99..47c35fb2d2 100644 --- a/board/cr50/gpio.inc +++ b/board/cr50/gpio.inc @@ -50,6 +50,7 @@ * GPIO0.0 int_ap_l * GPIO0.1 ec_flash_select * GPIO0.2 ap_flash_select + * GPIO0.3 DIOM4 used for physical presence * GPIO0.4 sys_rst_l_out * GPIO0.5 ccd_mode_l * GPIO0.6 batt_pres_l @@ -162,6 +163,12 @@ GPIO(SPI_MOSI, PIN(0, 7), GPIO_INPUT | GPIO_PULL_DOWN) GPIO(SPI_CLK, PIN(0, 8), GPIO_INPUT | GPIO_PULL_DOWN) GPIO(SPI_CS_L, PIN(0, 9), GPIO_INPUT) +/* + * Generic pulled up input used for physical presence indication on some + * devices. + */ +GPIO(DIOM4, PIN(0, 3), GPIO_INPUT) + /* Used during *chip* factory process. */ GPIO(DIOB4, PIN(0, 10), GPIO_INPUT | GPIO_PULL_DOWN) @@ -231,6 +238,9 @@ UNIMPLEMENTED(ENTERING_RW) /* GPIOs - mark outputs as inputs too, to read back from the driven pad */ PINMUX(GPIO(INT_AP_L), A5, DIO_INPUT) + +PINMUX(GPIO(DIOM4), M4, DIO_INPUT | GPIO_PULL_UP) + PINMUX(GPIO(EC_FLASH_SELECT), B2, DIO_INPUT) PINMUX(GPIO(MONITOR_I2CS_SDA), A1, GPIO_INPUT) |