Skip to contentSkip to conversation

arm64: dts: add stdout-path to chosen node for ls2080a/ls1043a boards

PATCH New Stuart Yoder 1 participant 1 message Aug 29, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 2/2 arm64: dts: add stdout-path to chosen node for ls2080a/ls1043a boards

Add a default stdout-path to chosen node for ls2080a/ls1043a boards to allow booting kernels without specifying console info in bootargs.

---
-v2
-no change

 arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 4 ++++
 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 4 ++++
 arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts | 3 +++
 arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts | 4 ++++
 4 files changed, 15 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts +4 -0
index f813d67..dd9e919 100644
@@ -61,6 +61,10 @@
 		serial2 = &duart2;
 		serial3 = &duart3;
 	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
 };
 
 &duart0 {
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts +4 -0
index 8031cde..d2313e0 100644
@@ -57,6 +57,10 @@
 		serial2 = &duart2;
 		serial3 = &duart3;
 	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
 };
 
 &i2c0 {
arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts +3 -0
index e8801fa..b0dd010 100644
@@ -57,6 +57,9 @@
 		serial1 = &serial1;
 	};
 
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
 };
 
 &esdhc {
arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts +4 -0
index e127f0b..ad0ebb8 100644
@@ -56,6 +56,10 @@
 		serial0 = &serial0;
 		serial1 = &serial1;
 	};
+
+	chosen {
+		stdout-path = "serial1:115200n8";
+	};
 };
 
 &esdhc {
Signature · 1 line
1.9.0