Change gpio on dts for orin nx jp6.2

Hi,
Now, I want to add a GPIO node to the dts file and controlling the output high, but it’s faild.
My operation is as follows:
1、Revised tegra234-p3768-0000+p3767-0000.dts

2、When I executed “cat /sys/kernel/debug/gpio” in the Orin NX device, I received the following information:

  But,When I measured the voltages of GPIO01, GPIO02 and GPIO12 pins, the measured values remained at the low level.

  If I want to correctly add the gpio node in the file "tegra234-p3768-0000+p3767-0000.dts", what should I do?
  Thanks !!

Hi sjz_shaohua,

Have you configured the pinmux for these 3 pins as output either using pinmux spreadsheet or pinmux@2430000 in kernel device tree before controlling them?

Hi KevinFFF
I have revised the pinmux table according to your suggestions. Here is my modification. After the modification, there is still no voltage output for GPIO1 and GPIO2. I hope to get your help.
Thanks.

微信图片_20250521161745

Please share the gpio dtsi and the result of the following commands for further check.

//PQ.05 - SOC_GPIO32
$ sudo busybox devmem 0x02430068

//PP.06 - SOC_GPIO25
$ sudo busybox devmem 0x02430030

And also, check if you can pull them high with the following commands.

# gpioset --mode=wait `gpiofind "PQ.05"`=1
# gpioset --mode=wait `gpiofind "PP.06"`=1

Hi KevinFFF
Thanks for your help,the problem has been solved.
“3.3V Tolerance Enable” need to be configured as “Disabled”.
Thanks.

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