[PATCH v2] arm: dts: ipq5424-rdp466: add chosen node for serial console
Casey Connolly
casey.connolly at linaro.org
Wed Jun 3 14:58:29 CEST 2026
Hi Gurumoorthy,
On 6/3/26 13:38, Gurumoorthy Santhakumar wrote:
> 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.
Please submit this fix upstream! I can pick it here until the next sync
but I'd like it to at least be on the kernel list.
>
> Signed-off-by: Gurumoorthy Santhakumar <gurumoorthy.santhakumar at oss.qualcomm.com>
> ---
> Changes in v2:
> - Replaced the DM_FLAG_PRE_RELOC approach (v1) with adding a /chosen
> node in the board-specific U-Boot DTSI overlay, as suggested by
> Casey Connolly. This is the standard DT mechanism for specifying
> the console device and avoids modifying driver flags.
wanna turn down the verbosity of your LLM?
Kind regards,
>
> Link: https://lore.kernel.org/u-boot/20260524050328.414639-1-gurumoorthy.snthakumar@oss.qualcomm.com/
> ---
> ---
> arch/arm/dts/ipq5424-rdp466-u-boot.dtsi | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/dts/ipq5424-rdp466-u-boot.dtsi b/arch/arm/dts/ipq5424-rdp466-u-boot.dtsi
> index 9e4af4d9f72..36640f31d61 100644
> --- a/arch/arm/dts/ipq5424-rdp466-u-boot.dtsi
> +++ b/arch/arm/dts/ipq5424-rdp466-u-boot.dtsi
> @@ -12,6 +12,9 @@
> reg = <0x0 0x80000000 0x0 0x20000000>;
> };
>
> + chosen {
> + stdout-path = "serial0:115200n8";
> + };
> };
>
> &sdhc {
More information about the U-Boot
mailing list