ARM: dts: exynos: Use stdout-path property instead of console in bootargs
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 8 Apr 2019 05:19:25 +0000 (07:19 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Wed, 10 Apr 2019 16:13:05 +0000 (18:13 +0200)
Replacing bootargs with stdout-path property in chosen node allows using
early console by adding just 'earlycon' parameter to the kernel command
line.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
arch/arm/boot/dts/exynos4412-trats2.dts
arch/arm/boot/dts/exynos5250-smdk5250.dts
arch/arm/boot/dts/exynos5260-xyref5260.dts
arch/arm/boot/dts/exynos5410-smdk5410.dts
arch/arm/boot/dts/exynos5420-smdk5420.dts

index 327ee980d3a577ccd1316b1ba93447a9805f43dc..aac533933c617e2c3c0cde2cb19d82922f6456de 100644 (file)
@@ -22,6 +22,7 @@
        };
 
        chosen {
-               bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5";
+               bootargs = "root=/dev/mmcblk0p5 rootwait earlyprintk panic=5";
+               stdout-path = "serial2:115200n8";
        };
 };
index d5e66189ed2a006d5838342c0fb38deb93b714e9..6dc96948a9ccc7fc87ceac0544ff7a2e68a86356 100644 (file)
@@ -24,7 +24,8 @@
        };
 
        chosen {
-               bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
+               bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc";
+               stdout-path = "serial2:115200n8";
        };
 
        vdd: fixed-regulator-vdd {
index fa19c59b2fb6f045577803927fdcd046f6edfc45..36a2b77eeb9d480f1489331c963f845df95e8f30 100644 (file)
@@ -19,7 +19,7 @@
        };
 
        chosen {
-               bootargs = "console=ttySAC2,115200";
+               stdout-path = "serial2:115200n8";
        };
 
        fin_pll: xxti {
index 8fc8c841d34b9958c8778692e81b259e80887de3..dffa5e3ed90c4b4aacbcbd62eacb3ef6081d91c7 100644 (file)
@@ -19,7 +19,7 @@
        };
 
        chosen {
-               bootargs = "console=ttySAC2,115200";
+               stdout-path = "serial2:115200n8";
        };
 
        fin_pll: xxti {
index 3cf9050478937a364708039661e43506589dc704..8240e51869729b1cd9343241dd4a0d54771eb37c 100644 (file)
@@ -21,7 +21,8 @@
        };
 
        chosen {
-               bootargs = "console=ttySAC2,115200 init=/linuxrc";
+               bootargs = "init=/linuxrc";
+               stdout-path = "serial2:115200n8";
        };
 
        fixed-rate-clocks {