Tx2 nx gpio07 and gpio13

How to test gpio07 and gpio13?
log-2.txt (64.3 KB)
tegra186-p3636-0001-common.dtsi (5.8 KB)

hello zhujinping ,

may I know what’s the failure?
these two pins, GPIO07/ GPIO3_PU.00 and GPIO13 / GPIO3_PU.05 were default configured as GPIO.

I saw lots of i2c no acknowledge error according to your kernel logs. this should caused by your regulator settings, please review your driver and provide power-supply to the i2c device correctly.

GPIO07 config input for these step: echo 480 > /sys/class/gpio/export
echo in > /sys/class/gpio/gpio480/direction
Use “cat /sys/class/gpio/gpio480/value” to read value,
that value didn’t change when the GPIO07 connect to low or high level.

GPIO13 config output for these step: echo 485 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio485/direction
Use “echo 1 > /sys/class/gpio/gpio485/value” to config high.
Use “echo 0 > /sys/class/gpio/gpio485/value” to config low. But use a multimeter measure GPIO13 that level didn’t change。

How can I config GPIO07 and GPIO13 were default configured as GPIO?

hello zhujinping ,

could you please check # cat /sys/kernel/debug/pinctrl/2430000.pinmux/pinmux-pins | grep "PU0\|PU5",
and, please share the results for reference,

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.