[PATCH] ARM: dts: keystone-k2g: Add stdout-path property

Tero Kristo t-kristo at ti.com
Wed Oct 28 10:08:06 EDT 2020


Add stdout-path property in /chosen node so that earlycon can be
used by just adding earlycon in bootargs.

Signed-off-by: Tero Kristo <t-kristo at ti.com>
---
 arch/arm/boot/dts/keystone-k2g.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi
index 05a75019275e..1105b5d1f886 100644
--- a/arch/arm/boot/dts/keystone-k2g.dtsi
+++ b/arch/arm/boot/dts/keystone-k2g.dtsi
@@ -16,7 +16,9 @@
 	#size-cells = <2>;
 	interrupt-parent = <&gic>;
 
-	chosen { };
+	chosen {
+		stdout-path = &uart0;
+	};
 
 	aliases {
 		serial0 = &uart0;
-- 
2.17.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki



More information about the linux-arm-kernel mailing list