ARM: dts: Define stdout-path property for Peach boards
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Tue, 17 Mar 2015 15:31:22 +0000 (00:31 +0900)
committerKukjin Kim <kgene@kernel.org>
Tue, 17 Mar 2015 15:31:22 +0000 (00:31 +0900)
The kernel can use as the default console a serial port if is defined
as stdout device in the Device Tree.

This allows a board to be booted without the need of having a console
parameter in the kernel command line.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/boot/dts/exynos5420-peach-pit.dts
arch/arm/boot/dts/exynos5800-peach-pi.dts

index d0ee55f..3f4e2fe 100644 (file)
                pinctrl-names = "default";
        };
 
+       chosen {
+               stdout-path = "serial3:115200n8";
+       };
+
        fixed-rate-clocks {
                oscclk {
                        compatible = "samsung,exynos5420-oscclk";
index 7ea1d66..c833bac 100644 (file)
                pinctrl-names = "default";
        };
 
+       chosen {
+               stdout-path = "serial3:115200n8";
+       };
+
        fixed-rate-clocks {
                oscclk {
                        compatible = "samsung,exynos5420-oscclk";