I found issue about ttyTHS2.
The device tree shows status=okay, and UART5 (serial@3140000) is enabled. However, looking at the pinmux configuration, all pins for uart5 (py5, py6, py7, pz0) are set to tristate=1, which means they are in input mode. This is the problem.
nvidia@jetson-orin-nano:~$ sudo cat /proc/device-tree/bus@0/serial@3140000/status
okay
nvidia@jetson-orin-nano:~$ sudo cat /sys/kernel/debug/pinctrl/2430000.pinmux/pinconf-groups | grep -A2 uart
88 (uart2_tx_px4):
pull=0
tristate=0
--
function=uartb
89 (uart2_rx_px5):
pull=0
tristate=1
--
function=uartb
90 (uart2_rts_px6):
pull=0
tristate=0
--
function=uartb
91 (uart2_cts_px7):
pull=0
tristate=1
--
function=uartb
92 (uart5_tx_py5):
pull=1
tristate=1
--
93 (uart5_rx_py6):
pull=1
tristate=1
--
94 (uart5_rts_py7):
pull=1
tristate=1
--
95 (uart5_cts_pz0):
pull=1
tristate=1
--
120 (uart1_cts_pr5):
pull=0
tristate=0
--
function=uarta
121 (uart1_rts_pr4):
pull=0
tristate=0
--
function=uarta
122 (uart1_rx_pr3):
pull=2
tristate=1
--
function=uarta
123 (uart1_tx_pr2):
pull=0
tristate=0
--
function=uarta
124 (cpu_pwr_req_pi5):
pull=0
--
125 (uart4_cts_ph6):
pull=0
tristate=0
--
126 (uart4_rts_ph5):
pull=1
tristate=1
--
127 (uart4_rx_ph4):
pull=1
tristate=1
--
128 (uart4_tx_ph3):
pull=1
tristate=1