hello minhquan.tran,
you’ll need to search for kernel init messages, i.e. $ dmesg | grep ttyTHS
[ 3.544179] 70006040.serial: ttyTHS1 at MMIO 0x70006040 (irq = 64, base_baud = 0) is a TEGRA_UART
[ 3.544619] 70006200.serial: ttyTHS2 at MMIO 0x70006200 (irq = 65, base_baud = 0) is a TEGRA_UART
please refer to the device tree for the mappings of serial ports and ttyTHS ports.
for example,
703 serial@70006040 { /* UART-B : UART2 40 pin header */
704 compatible = "nvidia,tegra114-hsuart";
705 status = "okay";
706 };
707
708 serial@70006200 { /* UART-C : UART3 : M.2 Key E */
709 compatible = "nvidia,tegra114-hsuart";
710 dma-names = "tx";
711 nvidia,adjust-baud-rates = <921600 921600 100>;
712 status = "okay";
please also check this, for Skipping oem-config.
thanks