JP 5.0.2 (L4T 35.1) Pinmux Setup

Hi!

I am working on adding a pinmux configuration to a Xavier NX to debug some issues. The pinmux spreadsheet has already been modified and I already have the three output files from this process:

  • tegra19x-padvoltage-default.dtsi
  • tegra19x-pinmux.dtsi
  • tegra19x-gpio-default.dtsi

I am looking for the process to add them to my hardware. I read in some forums that these files have to be added to the **Linux_for_Tegra/bootloader/t186ref/BCT ** directory and in other forums I read that they have to be converted to .cfg file with the pinmux-dts2cfg.py script found at Linux_for_Tegra/kernel/pinmux/t19x.

I also read that after running the pinmux-dts2cfg.py script, I have to run the flash.sh script found at Linux_for_Tegra to add them to my device.

Q) Is this the correct process to work with pinmux?

  1. The first problem here is the choice of jp5.0.2 is not good. You should pick some later release.

  2. For Xavier, the pinmux input file would be a cfg file. Thus, it needs to be converted from dts file by using that python tool.
    For Orin, it just takes the dts file as input.

Rest of your steps sound correct.