Looks like the same GPIO is used for different pins:
ag@fufu:kernel# grep TEGRA_AON_GPIO ./hardware/nvidia/soc/tegra/kernel-include/dt-common/jetson/tegra234-p3737-0000-p3701-0000.h
#define HDR40_PIN16_GPIO TEGRA_AON_GPIO(BB, 0)
#define HDR40_PIN29_GPIO TEGRA_AON_GPIO(AA, 1)
#define HDR40_PIN31_GPIO TEGRA_AON_GPIO(AA, 0)
#define HDR40_PIN32_GPIO TEGRA_AON_GPIO(BB, 1)
#define HDR40_PIN33_GPIO TEGRA_AON_GPIO(AA, 3) <== !!!
#define HDR40_PIN37_GPIO TEGRA_AON_GPIO(AA, 3) <== !!!
Is this intentional or a typo?
It’s not the case on other platforms, e.g. Xavier
ag@fufu:kernel# grep TEGRA_AON_GPIO ./hardware/nvidia/soc/tegra/kernel-include/dt-common/jetson/tegra194-p2888-0001-p2822-0000.h
#define HDR40_PIN16_GPIO TEGRA_AON_GPIO(BB, 0)
#define HDR40_PIN29_GPIO TEGRA_AON_GPIO(AA, 3)
#define HDR40_PIN31_GPIO TEGRA_AON_GPIO(AA, 2)
#define HDR40_PIN32_GPIO TEGRA_AON_GPIO(BB, 1)
#define HDR40_PIN33_GPIO TEGRA_AON_GPIO(AA, 0)
#define HDR40_PIN37_GPIO TEGRA_AON_GPIO(AA, 1)