ARM: dts: exynos: Add serial path for Rinato board to get earlycon support
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 16 Apr 2018 10:35:35 +0000 (12:35 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 16 Apr 2018 18:20:18 +0000 (20:20 +0200)
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@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos3250-rinato.dts

index 2c34607..2a6b828 100644 (file)
                i2c7 = &i2c_max77836;
        };
 
+       chosen {
+               stdout-path = &serial_1;
+       };
+
        memory@40000000 {
                device_type = "memory";
                reg =  <0x40000000 0x1ff00000>;