Hi ylssrb,
Are you using the devkit or custom board for Orin NX?
What’s the Jetpack version in use?
These 2 pins cannot be used as I2C interfaces.
Are you trying to configure them as GPIO and emulate them for I2C?
Could you use I2C interfaces instead? There’re 3 I2C interfaces available on Orin NX.
I would suggest using pinmux spreadsheet to generate both pinmux/gpio dtsi instead of modify them manually.
Please note that PX.04 may be only used as Output.
You can refer to the following thread for the similar issue.
Modify Pinmux/GPIO functions - custom Jetson Orin NX carrier - #20 by flybyya23