PinMux dtsi compilation error -- L4T 36.3

Hi,
We had designed custom carrier for AGX Orin SOM. And some gpios are used different with the devkit.
We had generated PinMux dtsi files and wanted to include them in DTB instead of preparing .cfg file using “pinmux-dts2cfg.py”

We had included the pinmux dtsi in:
hardware/nvidia/t23x/nv-public/overlay/tegra234-p3737-0000+p3701-0000-as-p3701-0004.dts and place the xxx_pinmux.dtsi at that directory.
We are building the dtb using “make dtbs” command. We are getting the following error.
Error:
~/nvidia-oot/device-tree/platform/generic-dts/…/…/…/…//hardware/nvidia/t23x/nv-public/tegra234-p3737-xxxx-xxxx-pinmux.dtsi:19.20-21 syntax error*
FATAL ERROR: Unable to parse input tree

Error at Lines:
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
nvidia,tristate = <TEGRA_PIN_DISABLE>;
nvidia,enable-input = <TEGRA_PIN_DISABLE>;

What is the reason for this error?

Note: We dont want to generate .cfg file instead we want to include this in dtb.

Help is most appreciated.
Thank you.

Hi abdulsamad,

You don’t need using pinmux-dts2cfg.py to generate .cfg, which is used for Xavier series.
Please refer to Pinmux Changes for AGX Orin. It seems you don’t need to update pinmux in source. Please just replace it in correct path of BSP package.

Please share this dtsi file for further check.

Hi,
Thanks for the direction.
Here is the PinMux file which could not got compiled.

PinMux.zip (501 Bytes)
Help is most appreciated.
Thank you.

Your PinMux.dtsi is too short.
I think you misunderstanding for the steps to update pinmux.
Please use pinmux spreadsheet to generate pinmux dtsi and replace them to the correct directory of your BSP package as the link I shared.

Please do not create pinmux device tree under hardware/nvidia/t23x/nv-public/
If you want to update pinmux in the source, it should be in hardware/nvidia/platform/t23x/concord/bct/pinmux

Hi,
I haven’t shared the whole pinmux dtsi file. I had shared the sample pinmux.dtsi where I got the error.

I didnt find the mentioned directory hardware/nvidia/platform/t23x/concord/bct/pinmux in L4T36.3.

Please just refer to the document to update pinmux in your BSP package.

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