Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: exynos: Use stdout-path property instead of console in bootargs

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>

+8 -5
+2 -1
arch/arm/boot/dts/exynos4412-trats2.dts
··· 22 22 }; 23 23 24 24 chosen { 25 - bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; 25 + bootargs = "root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; 26 + stdout-path = "serial2:115200n8"; 26 27 }; 27 28 };
+2 -1
arch/arm/boot/dts/exynos5250-smdk5250.dts
··· 24 24 }; 25 25 26 26 chosen { 27 - bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; 27 + bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc"; 28 + stdout-path = "serial2:115200n8"; 28 29 }; 29 30 30 31 vdd: fixed-regulator-vdd {
+1 -1
arch/arm/boot/dts/exynos5260-xyref5260.dts
··· 19 19 }; 20 20 21 21 chosen { 22 - bootargs = "console=ttySAC2,115200"; 22 + stdout-path = "serial2:115200n8"; 23 23 }; 24 24 25 25 fin_pll: xxti {
+1 -1
arch/arm/boot/dts/exynos5410-smdk5410.dts
··· 19 19 }; 20 20 21 21 chosen { 22 - bootargs = "console=ttySAC2,115200"; 22 + stdout-path = "serial2:115200n8"; 23 23 }; 24 24 25 25 fin_pll: xxti {
+2 -1
arch/arm/boot/dts/exynos5420-smdk5420.dts
··· 21 21 }; 22 22 23 23 chosen { 24 - bootargs = "console=ttySAC2,115200 init=/linuxrc"; 24 + bootargs = "init=/linuxrc"; 25 + stdout-path = "serial2:115200n8"; 25 26 }; 26 27 27 28 fixed-rate-clocks {