Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62d38099 authored by Tomasz Figa's avatar Tomasz Figa Committed by Greg Kroah-Hartman
Browse files

ARM: dts: exynos4: Add stdout-path properties



This patch adds stdout-path property to chosen nodes of Exynos4 boards
to enable use of earlycon feature without the need to hardcode port
number in kernel itself.

Signed-off-by: default avatarTomasz Figa <t.figa@samsung.com>
Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b94ba032
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -31,6 +31,7 @@


	chosen {
	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 console=ttySAC2,115200 init=/linuxrc";
		stdout-path = &serial_2;
	};
	};


	regulators {
	regulators {
+1 −0
Original line number Original line Diff line number Diff line
@@ -27,6 +27,7 @@


	chosen {
	chosen {
		bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc";
		bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc";
		stdout-path = &serial_1;
	};
	};


	sdhci@12530000 {
	sdhci@12530000 {
+1 −0
Original line number Original line Diff line number Diff line
@@ -28,6 +28,7 @@


	chosen {
	chosen {
		bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5";
		bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5";
		stdout-path = &serial_2;
	};
	};


	regulators {
	regulators {
+1 −0
Original line number Original line Diff line number Diff line
@@ -26,6 +26,7 @@


	chosen {
	chosen {
		bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rw rootwait earlyprintk panic=5 maxcpus=1";
		bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rw rootwait earlyprintk panic=5 maxcpus=1";
		stdout-path = &serial_2;
	};
	};


	sysram@02020000 {
	sysram@02020000 {
+4 −0
Original line number Original line Diff line number Diff line
@@ -11,6 +11,10 @@
#include "exynos4412.dtsi"
#include "exynos4412.dtsi"


/ {
/ {
	chosen {
		stdout-path = &serial_1;
	};

	firmware@0204F000 {
	firmware@0204F000 {
		compatible = "samsung,secure-firmware";
		compatible = "samsung,secure-firmware";
		reg = <0x0204F000 0x1000>;
		reg = <0x0204F000 0x1000>;
Loading