diff options
Diffstat (limited to 'board/nocturne/gpio.inc')
-rw-r--r-- | board/nocturne/gpio.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/nocturne/gpio.inc b/board/nocturne/gpio.inc index be53c4e7be..08a6539f16 100644 --- a/board/nocturne/gpio.inc +++ b/board/nocturne/gpio.inc @@ -86,8 +86,8 @@ GPIO(EC_I2C1_USB_C0_SCL, PIN(9, 0), GPIO_INPUT) GPIO(EC_I2C1_USB_C0_SDA, PIN(8, 7), GPIO_INPUT) GPIO(EC_I2C2_USB_C1_SCL, PIN(9, 2), GPIO_INPUT) GPIO(EC_I2C2_USB_C1_SDA, PIN(9, 1), GPIO_INPUT) -GPIO(EC_I2C5_ALS_GYRO_SCL, PIN(3, 3), GPIO_INPUT) -GPIO(EC_I2C5_ALS_GYRO_SDA, PIN(3, 6), GPIO_INPUT) +GPIO(EC_I2C5_ALS_GYRO_SCL, PIN(3, 3), GPIO_INPUT | GPIO_SEL_1P8V) +GPIO(EC_I2C5_ALS_GYRO_SDA, PIN(3, 6), GPIO_INPUT | GPIO_SEL_1P8V) GPIO(EC_I2C0_POWER_SCL, PIN(B, 5), GPIO_INPUT) GPIO(EC_I2C0_POWER_SDA, PIN(B, 4), GPIO_INPUT) GPIO(EC_I2C4_BATTERY_SCL, PIN(F, 3), GPIO_INPUT) @@ -101,7 +101,7 @@ ALTERNATE(PIN_MASK(B, 0x30), 0, MODULE_I2C, 0) /* I2C0 */ ALTERNATE(PIN_MASK(8, 0x80), 0, MODULE_I2C, 0) /* I2C1 SDA */ ALTERNATE(PIN_MASK(9, 0x07), 0, MODULE_I2C, 0) /* I2C1 SCL, I2C 2 */ ALTERNATE(PIN_MASK(F, 0x0C), 0, MODULE_I2C, 0) /* I2C4 */ -ALTERNATE(PIN_MASK(3, 0x48), 0, MODULE_I2C, 0) /* I2C5 */ +ALTERNATE(PIN_MASK(3, 0x48), 0, MODULE_I2C, GPIO_INPUT | GPIO_SEL_1P8V) /* 1.8V I2C5 */ /* PWM */ ALTERNATE(PIN_MASK(6, 0x01), 0, MODULE_PWM, 0) /* PWM7 */ |