diff mbox series

ARM: dts: keystone-k2g: Add stdout-path property

Message ID 20201028140806.10130-1-t-kristo@ti.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: keystone-k2g: Add stdout-path property | expand

Commit Message

Tero Kristo Oct. 28, 2020, 2:08 p.m. UTC
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@ti.com>
---
 arch/arm/boot/dts/keystone-k2g.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

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;