dm: tegra: Add a GPIO translation function