how to read E15, D15, A21, A20 (i2c_gp0, i2c_gp1) pins as inputs?

Hi,

Our custom board is using these pins as inputs. Looking at the excel spreadsheet, it seems there’s no entry for these pins as GPIO. Is it possible to use these pins as input pins or are they dedicated i2c pins that can work only for i2c function?

thanks!

hello nvidia4tshah,

according to pinmux spreadsheet, you could configure those pin as GPIO.
taking I2C_GP0 as an example, you may modify the customer usage as unused_GPIO_SEN8, and also change the pin direction.
please also check documentation, please refer to Jetson TX2 Pinmux and GPIO Configuration chapter for detail steps.
thanks

Hi Jerry,

Thank you.

For treating as inputs, pdated the pinmux in bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg for padctrl and enabling the gpio, updated prod config in bootloader/t186ref/BCT/tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg, and disabled the two i2c masters in ucm1 dts file.

It works now.

regards