Pinmux config - Unable to access GPIO3_PAA7

Using L4T 32.6.1 on a TX2 Devkit, I’m unable to export GPIO 303 (which I believe is appropriate for GPIO3_PAA.07 - B25 - GPIO6_TOUCH_INT).
“write error: Device or resource busy”

With cat /sys/kernel/debug/tegra_pinctrl_reg | grep paa, I don’t see gpio3_paa7 configured.

Can you assist at all with what modifications might be needed for tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg in order to get this to work?

Apologies if I’m lacking any details, will happily add them. Any help appreciated!

1 Like

hello louis.burton,

this is occupied by mttcan, you may check device tree as below.
please removing this and update the device tree blob.

        mttcan@c320000 {
                ...
                gpio_can_en = <&tegra_aon_gpio TEGRA_AON_GPIO(AA, 7) GPIO_ACTIVE_HIGH>;
1 Like

@JerryChang - just saying thanks. We have confirmed that did allow us control of this :D

Hello,

According to the TX2 datasheet pin B25 (GPIO 303) has an output voltage of 1.8V. I would like to ask if it is possible to change the voltage of this pin to 3.3V? If yes, could you help with how the voltage can be changed?

Thanks