hello anandhakumar.chettiannan,
please access Jetson AGX Orin Series Design Guide via download center for the [Figure 15-1. Orin Module UART Connections].
it’s UART5_Tx(J58) and UART5_Rx(H58) for M.2 E UART, you may also check pinmux spreadsheets for its ball name and its GPIO, i.e. UART2_TX / GPIO3_PX.04.
then, please check from software side for the UART register nodes and the mappings.
for example,
# cat /sys/kernel/debug/pinctrl/2430000.pinmux/pinconf-groups | grep px4 -A 14
120 (uart2_tx_px4):
...
func=uartb
you should access Jetson Linux | NVIDIA Developer and please download public sources packages, [L4T Driver Package (BSP) Sources], and you’ll also need to check device tree sources for the uart mappings in software side,
for example, kernel_src/hardware/nvidia/soc/t23x/kernel-dts/tegra234-soc/tegra234-soc-uart.dtsi
you’ll see the UART ports and it’s default mappings.
uarta: serial@3100000
uartb: serial@3110000
uartc: serial@c280000
uartd: serial@3130000
...