arm64: dts: ti: k3-am64: Use phandle to stdout UART node

Using a phandle makes it clear which UART we are choosing without needing
to resolve through an alias first.

Especially useful for boards like the TI J721s2-EVM where the alias is
"serial2" but it actually resolves to the 8th UART instance(main_uart8).

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20230601184933.358731-2-afd@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
This commit is contained in:
Andrew Davis 2023-06-01 13:49:33 -05:00 committed by Vignesh Raghavendra
parent 27f98f3eca
commit 6b34313638
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
model = "Texas Instruments AM642 EVM";
chosen {
stdout-path = "serial2:115200n8";
stdout-path = &main_uart0;
};
aliases {

View File

@ -17,7 +17,7 @@
model = "Texas Instruments AM642 SK";
chosen {
stdout-path = "serial2:115200n8";
stdout-path = &main_uart0;
};
aliases {