Hi guys,
I need to modify device tree of Orin Nano 8GB Devkit for custom board in Jetpack 6.0 to disable General UART.
I converted the final tegra234-p3768-0000+p3767-0005-nv.dtb to .dts and see 3 port are enabled, i think them should be:
uarta:serial@3100000 → General UART
uarte:serial@3140000 → M.2 Key
uarti:serial@31d0000 → Debug
Whether i only need to disable uarta:serial@3100000, right?
Additionally, refer this doc:
https://elinux.org/Jetson/L4T/peripheral/#Mapping_3
Should i need to add more uartb@3110000 for M.2 and uartc@c280000 for Debug, instead for uarti:serial@31d0000 and uarte:serial@3140000 ?
Thanks so much!
Hi thanhdq,
Do you mean that you are using the devkit or custom board for Orin Nano?
May I know what’s your use case to disable uarta:serial@3100000
?
This is the UART from 40-pins expansion header on the devkit.
For debug, the Tegra Combined Uart (/dev/ttyTCU0
) should be enabled by default.
Hi KevinFFF,
Thank for your reply!
I am porting for a custom board which is based on the devkit with some modifies.
To be honest, i don’t know reality use case, but target is porting
One UART from M.2 key E to Camera Connector
One UART from Expansion Connector(General UART) need to be disabled.
One UART from Debug to be kept.
As i said above, but I don’t know why i don’t see uartc@c280000 was enabled in converted .dts file.
You can just disable this node through modifying its status to disabled
.
M.2 Key E should be uartb@3110000
It is disabled by default as expected since this node is used when the debug UART port is not used by Tegra Combined Uart.
thanhdq
September 4, 2024, 2:19am
7
Hi KevinFFF,
I see, thanks a lot!