You can try to programing it as output pin and control it as high and low to check the functionality.
Thanks for the suggestion. Configuring the GPIO as an output, I have confirmed that is working as GPIO.
In my case, both inputs are grounded when the button is pushed. In order to get this working, I need to configure internal pull-ups for GPIO3_PI.06 and GPIO3_PI.07 but based on the results the pull-up GPIO3_PI.07 are not configured, since the value read is always 0.
I need to figure out how to change this configuration for TX2.
I really appreciate if I someone has some suggestion.
I am able to configure GPIO3_PI.07 pins, Basically we have to add the GPIO description under pinmux@2430000, pinctrl-0 (pinmux_default) in the file tegra186-quill-p3310-1000-300-plugin-manager.dtsi