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