Question about gpio pin map binding definition ??

In our custom board, the enable pin of the Ethernet controller chip is mapped to the GPIO14_AP_WAKE_MDM pin. However, I do not know how to declare it like ‘cam0 pin’ => ‘TEGRA_MAIN_GPIO (R, 5)’ in the dts file.

hello kjs8992,

there’s documentation to describe the formula of pinmux and GPIOs.
please check the [GPIO changes] chapter in the [Tegra Linux Driver Package TX2 Adaptation Guide],
you’re able to access it from [L4T Documentation]-> [Tegra Linux Driver Package Development Guide]-> [Related Documentation]

you may also refer to below kernel sources for more details.
thanks

sources/kernel/kernel-4.4/include/dt-bindings/gpio/tegra186-gpio.h