AGX Orin cannot properly request the GPIO3_PCC.02 pin for GPIO use under JetPack 6.0

I tried to configure the PCC.02 pin in the device tree, and I also used it in the obc_cam_sync node, as shown in the configuration below:
image


After adding the driver, I found that the PC.02 pin was registered, but this is not the pin I intended to use.

Could you please help me resolve this issue? Thank you!

Hi FANYX,

It seems you configured the wrong GPIO controller for sync-out-gpios.
Please use the following configuration instead. (i.e. use &gpio_aon instead of &gpio)

sync-out-gpios = <&gpio_aon SYNC_OUT GPIO_ACTIVE_HIGH>;

Thank you very much for your suggestions — I have successfully made the modification.
However, I noticed in the pinmux spreadsheet that the pin is set as input by default, but I need it to be output.
c1fe7698296c7e5efe26440a5c0e489
So I modified the pinmux spreadsheet and generated three .dtsi files.


I’m still using the AGX Orin platform. Could you please tell me which files in the official package I should replace with these three files to make my configuration take effect?