[PATCH 1/3] arm: dts: exynos: Add serial path for Rinato board to get earlycon support

Marek Szyprowski m.szyprowski at samsung.com
Mon Apr 16 03:35:35 PDT 2018


Add 'chosen' node with 'stdout-path' property to instruct kernel which
serial driver should be used for kernel console/logs. This allows to
enable earlycon messages by adding just 'earlycon' parameter to kernel
command line.

Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
---
 arch/arm/boot/dts/exynos3250-rinato.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts
index 2c3460781cc6..2a6b828c01b7 100644
--- a/arch/arm/boot/dts/exynos3250-rinato.dts
+++ b/arch/arm/boot/dts/exynos3250-rinato.dts
@@ -24,6 +24,10 @@
 		i2c7 = &i2c_max77836;
 	};
 
+	chosen {
+		stdout-path = &serial_1;
+	};
+
 	memory at 40000000 {
 		device_type = "memory";
 		reg =  <0x40000000 0x1ff00000>;
-- 
2.15.0




More information about the linux-arm-kernel mailing list