]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: fvp: Set stdout-path to serial0 in the chosen node
authorDebbie Martin <Debbie.Martin@arm.com>
Tue, 30 Jul 2024 10:37:58 +0000 (11:37 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Wed, 31 Jul 2024 15:06:34 +0000 (16:06 +0100)
Add stdout-path to the fast models(FVP and Foundation) devicetrees to
specify the primary console. This means that distributions can boot
without the need for platform-specific command line parameters i.e.
they can use earlycon with no parameters and no console argument is
needed at all.

Signed-off-by: Debbie Martin <Debbie.Martin@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Message-Id: <20240730103758.907950-1-Debbie.Martin@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
arch/arm64/boot/dts/arm/foundation-v8.dtsi
arch/arm64/boot/dts/arm/fvp-base-revc.dts
arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts

index 93f1e7c026b8c3e6a4c221c11f5f20ea8b882dbf..083be35495b395a1759c4df1137a9b1166cd5afd 100644 (file)
@@ -18,7 +18,9 @@
        #address-cells = <2>;
        #size-cells = <2>;
 
-       chosen { };
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
 
        aliases {
                serial0 = &v2m_serial0;
index 85f1c15cc65d06187a74d19570c6fbd0ac32e5c8..19973ab4ea6b53ada24fe0ad76a0a594eb326c20 100644 (file)
@@ -24,7 +24,9 @@
        #address-cells = <2>;
        #size-cells = <2>;
 
-       chosen { };
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
 
        aliases {
                serial0 = &v2m_serial0;
index afdf954206f1d1a895b6c0106b0b7afd7d9053b8..7f7226711d4bb8446e9111894a0bea2eb0d22345 100644 (file)
@@ -23,7 +23,9 @@
        #address-cells = <2>;
        #size-cells = <2>;
 
-       chosen { };
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
 
        aliases {
                serial0 = &v2m_serial0;