From 2faccaba80318b48e7ae738a909a38a989ed3c5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= Date: Thu, 23 May 2024 11:38:06 +0200 Subject: [PATCH] feat(fvp): fdts: add stdout-path to the Foundation FVPs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add an `stdout-path' property into the `chosen' node of the Foundation FVPs Devicetrees. This gives a default console to the Linux kernel when "console=" is not specified on the kernel command line, which is useful when booting with U-Boot in UEFI for example. Change-Id: I27d5f7f9416bd42b7401b1a57ae64bfee2524204 Signed-off-by: Vincent Stehlé --- fdts/fvp-foundation-gicv2-psci.dts | 4 +++- fdts/fvp-foundation-gicv3-psci.dts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/fdts/fvp-foundation-gicv2-psci.dts b/fdts/fvp-foundation-gicv2-psci.dts index 5a82c4601..653c75fbe 100644 --- a/fdts/fvp-foundation-gicv2-psci.dts +++ b/fdts/fvp-foundation-gicv2-psci.dts @@ -26,7 +26,9 @@ #address-cells = <2>; #size-cells = <2>; - chosen { }; + chosen { + stdout-path = "serial0:115200n8"; + }; aliases { serial0 = &v2m_serial0; diff --git a/fdts/fvp-foundation-gicv3-psci.dts b/fdts/fvp-foundation-gicv3-psci.dts index e1249d458..282729708 100644 --- a/fdts/fvp-foundation-gicv3-psci.dts +++ b/fdts/fvp-foundation-gicv3-psci.dts @@ -26,7 +26,9 @@ #address-cells = <2>; #size-cells = <2>; - chosen { }; + chosen { + stdout-path = "serial0:115200n8"; + }; aliases { serial0 = &v2m_serial0;