Gpio Pin TEGRA_SOC not working

Hi all,

I have a custom carrier board, AntMicro to be exact. I want to read out GPIO 04 (pin 127). I know my software is correct as ive tested it on a nvidia dev kit and works fine. Same pin. But when using it on this custom carrier board I am not able to read the GPIO pin. I have soldered a cable directly to pin 127 on the jetson connector.
Ive tried to set the setting to TEGRA_SOC but I am not sure which pin name to use then.
I dont think I need to start messing with the DTB as this GPIO pin is accessible just as it is.
What am I doing wrong?

Thanks :)

hello r.vries,

is this pin occupied by customer carrier board default design usage?
are you able to read this pin, GPIO04 / GPIO3_PCC.01 via debugfs?
for example, # cat /sys/kernel/debug/gpio | grep CC.01

Thanks for the reply.

I am able to read the CC.01 pin in your example:
gpio-318 (PCC.01 |pwr ) out hi
Does this mean the pin is configured as a output and set to high? I do read a voltage of 2V on the pin. Do I need to change the DTB and set it to an input or?

There is nothing on the board connected to this GPIO pin. I have soldered my cable directly to the SODIMM connector.

hello r.vries,

please refer to developer guide, Pinmux Changes.
please change the pinmux configuration applied by the software, you shall perform full flash to update the cfg file.

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