]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: dts: ipq5424-rdp466: add chosen node for serial console
authorGurumoorthy Santhakumar <gurumoorthy.santhakumar@oss.qualcomm.com>
Wed, 3 Jun 2026 11:38:53 +0000 (17:08 +0530)
committerCasey Connolly <casey.connolly@linaro.org>
Wed, 10 Jun 2026 11:36:18 +0000 (13:36 +0200)
Add a /chosen node with stdout-path pointing to serial0 (uart1) to
enable the DT-driven console discovery path in
serial_find_console_or_panic().

Without this node, the live DT path in serial_find_console_or_panic()
is skipped and the fallback path is used. Adding the /chosen node makes
the console selection explicit and deterministic, ensuring the correct
serial device is always selected as the console.

Signed-off-by: Gurumoorthy Santhakumar <gurumoorthy.santhakumar@oss.qualcomm.com>
Link: https://patch.msgid.link/20260603113853.3396271-1-gurumoorthy.santhakumar@oss.qualcomm.com
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
arch/arm/dts/ipq5424-rdp466-u-boot.dtsi

index 9e4af4d9f722d05ac85b2bc10967000e6efbb7e3..36640f31d6166596d16efc7db33142be21621bec 100644 (file)
@@ -12,6 +12,9 @@
                reg = <0x0 0x80000000 0x0 0x20000000>;
        };
 
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
 };
 
        &sdhc {