GPIO Pin is not setting high GPIO3_PQ.05

Hi,

I am using Jetson Orin Nano with L4T 36.4.4 in my custom bsp.

I want to set GPIO3_PQ.05 to ACTIVE HIGH OUTPUT. So i made below changes:

I use this pin to realize 1-weire temperature sensor DS18B20. So I need it as bidirectional I/O.

Pinmux:
GPIO3_PQ.05 Bidirectional Drive 1

dtsi:

onewire@0 {

compatible = "w1-gpio";
gpios = <&gpio TEGRA234_MAIN_GPIO(Q, 5) GPIO_ACTIVE_HIGH>; /*PQ-05*/
    pinctrl-names = "default";
    //pinctrl-0 = <&w1_pins>;
    status = "okay";
};

Also made required defconfig macros enable.
CONFIG_W1=y
CONFIG_W1_SLAVE_THERM=y

When I see the generated dtb file, I see this changes present. even in pinmux dtsi files I verified.

However, When I flash I do not see the GPIO3_PQ.05 as active HIGH and also my sensor is not getting listed.

rev3:~$ sudo cat /sys/kernel/debug/gpio
gpiochip0: GPIOs 348-511, parent: platform/2200000.gpio, tegra234-gpio:
gpio-348 (PA.00 |regulator-vdd-3v3-sd) out lo

gpio-453 (PQ.05 )

I tried to set this GPIO using busybox, but I do not see any changes.
busybox devmem 0x02430100
0xFFFFFFFF

write openration has no effect:
busybox devmem 0x02430100 w 0x004
busybox devmem 0x02430100
0xFFFFFFFF

Please help what can be done here, also let me know my offset values for busybox command are correct or not.

Hi HM_Tech,

Are you using the devkit or custom board for Orin Nano?

Could you check if your driver has been probed correctly through dmesg?

Its pinmux register is 0x02430068. Please run the following command to check its configuration.

$ sudo busybox devmem 0x02430068

Hi,

  1. I am using custom carrier board
  2. I do not see any entry of my driver in dmesg log

Onanouser@rev3:/sys/class$ sudo dmesg | grep -i ‘w1-gpio’
Onanouser@rev3:/sys/class$ sudo dmesg | grep -i ‘w1-therm’ /return nothing

3.sudo busybox devmem 0x02430068 gives me 0x00000040 what is the command to make it bidirectional and make it HIGH?