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
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.
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