How to change the default GPIO about Jetson NX

Hi:
I have some problem about the GPIO about the Jetson Xavier NX, I want to change the GPIO12 (pin218) to be output drive 0;


But I look up the dts,about tegra194-p3668-all-p3509-0000.dts, I don’t see that about the gpio default config. such as below.

I tried to insert the default title to the dts, but It does’t effect, how can I change the default gpio by change dts.

hello anrui,

this is pin is default configure as Baseboard 40 Pin Header PWM
please download pinmux spreadsheets to change the pin configurations to modify the pin settings.
thanks

hello
I tried to pinmux spreadsheets to do, I Click on the botton of generate, it’s generate there dtsi,such as flow.


but I can not find The corresponding dtsi in my sdkpackage

hello anrui,

you must convert the .dtsi file generated by Excel into a .cfg file,
please check developer guide, pinmux changes.
you’ll need to perform the script, $OUT/Linux_for_Tegra/kernel/pinmux/t19x/pinmux-dts2cfg.py to convert the files.
thanks

It’s ok,thank you!

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