Registers for UART

Hi,

I want to change the functions of UART9_TX, UART9_RX, UART10_TX and UART10_RX by modifying the registers in Ubuntu. But I cannot find the addresses for these registers in the technical reference manual. Can you provide the addresses and bit fields?

Hi 5d867a92b9bdd01df324966db,

Are you using the devkit or custom board for Thor?
What’s the Jetpack version in use?

Could you elaborate on your use case and the requirement? What function do you mean?
Sorry that we do not provide the register address map for Thor.

Hi KevinFFF,

We configure these pins as UARTs on our custom board. During boot these ports will output what is shown on the debug port, which is undesired. So we want to configure these pins as GPIOs during boot and then as UARTs after entering the system.

We can infer the addresses from kernel-noble/drivers/pinctrl/tegra/pinctrl-tegra264.c

uart10_rx_ph3: 0x810c281020
uart10_tx_ph2: 0x810c281028
uart9_rx_pm3: 0x810c282060
uart9_tx_pm2: 0x810c282068

Please use pinmux spreadsheet to configure those pins as UART.

The UARTs enabled in UEFI DTB will be used for console output.
You can either keep UEFI and kernel DTB separate, or can use overlays applicable only to UEFI DTB to disable the UARTs.
By default, kernel and UEFI use the similar DTB as following(snippet from jetson-agx-thor-devkit.conf )

DTB_FILE="tegra264-p4071-0000+p3834-0008-nv.dtb";
TBCDTB_FILE="${DTB_FILE}";