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 d0ee55f4d09ff8902ba5d76fb8fd1db03bdf1b42..3f4e2feaa927314cfee522f5416b4d5eee383527 100644 (file)
                pinctrl-names = "default";
        };
 
+       chosen {
+               stdout-path = "serial3:115200n8";
+       };
+
        fixed-rate-clocks {
                oscclk {
                        compatible = "samsung,exynos5420-oscclk";
index 7ea1d66dd71987faa598d9300a155f064d44c2bd..c833bacf873b552d0ed6ecd8d215dd2ed89bfe25 100644 (file)
                pinctrl-names = "default";
        };
 
+       chosen {
+               stdout-path = "serial3:115200n8";
+       };
+
        fixed-rate-clocks {
                oscclk {
                        compatible = "samsung,exynos5420-oscclk";