may I know how you get the gpio number of 390?
please refer to the [Tegra Linux Driver Package TX2 Adaptation Guide] and check the [GPIO changes] chapter for reference.
in my calculation, the GPIO number of uart5_rts_px6 should be (19*8)+320= 472
thanks
you’re able to configure the GPIO pin directions from device tree only if the default pin direction is Bidirectional.
please check the Pinmux Spreadsheets from Jetson Download Center,
please have device tree settings for the pin status changes as below,
yes, you’re able to configure default GPIO values as high/low in sensor device tree.
for example, below sources to set reset gpio pin as 1 by default. thanks
If you want to set the default gpio478 (GPIO3_PX.06) value as high (output) from the device tree, you should create a new device tree entry under the GPIO controller. The GPIO controller is defined in: hardware/nvidia/platformt18x/common/kernel-dts/t18x-common-plugin-manager/tegra186-quill-p3310-1000-300-plugin-manager.dtsi