Commit 6b343136 authored by Andrew Davis's avatar Andrew Davis Committed by Vignesh Raghavendra

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: default avatarAndrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20230601184933.358731-2-afd@ti.comSigned-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
parent 27f98f3e
...@@ -17,7 +17,7 @@ / { ...@@ -17,7 +17,7 @@ / {
model = "Texas Instruments AM642 EVM"; model = "Texas Instruments AM642 EVM";
chosen { chosen {
stdout-path = "serial2:115200n8"; stdout-path = &main_uart0;
}; };
aliases { aliases {
......
...@@ -17,7 +17,7 @@ / { ...@@ -17,7 +17,7 @@ / {
model = "Texas Instruments AM642 SK"; model = "Texas Instruments AM642 SK";
chosen { chosen {
stdout-path = "serial2:115200n8"; stdout-path = &main_uart0;
}; };
aliases { aliases {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment