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

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
...@@ -31,6 +31,7 @@ memory { ...@@ -31,6 +31,7 @@ memory {
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 {
......
...@@ -27,6 +27,7 @@ memory { ...@@ -27,6 +27,7 @@ memory {
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 {
......
...@@ -28,6 +28,7 @@ memory { ...@@ -28,6 +28,7 @@ memory {
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 {
......
...@@ -26,6 +26,7 @@ memory { ...@@ -26,6 +26,7 @@ memory {
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 {
......
...@@ -11,6 +11,10 @@ ...@@ -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>;
......
...@@ -26,6 +26,7 @@ memory { ...@@ -26,6 +26,7 @@ memory {
chosen { chosen {
bootargs ="console=ttySAC2,115200"; bootargs ="console=ttySAC2,115200";
stdout-path = &serial_2;
}; };
firmware@0203F000 { firmware@0203F000 {
......
...@@ -25,6 +25,7 @@ memory { ...@@ -25,6 +25,7 @@ memory {
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;
}; };
g2d@10800000 { g2d@10800000 {
......
...@@ -18,6 +18,10 @@ / { ...@@ -18,6 +18,10 @@ / {
model = "FriendlyARM TINY4412 board based on Exynos4412"; model = "FriendlyARM TINY4412 board based on Exynos4412";
compatible = "friendlyarm,tiny4412", "samsung,exynos4412", "samsung,exynos4"; compatible = "friendlyarm,tiny4412", "samsung,exynos4412", "samsung,exynos4";
chosen {
stdout-path = &serial_0;
};
memory { memory {
reg = <0x40000000 0x40000000>; reg = <0x40000000 0x40000000>;
}; };
......
...@@ -32,6 +32,7 @@ memory { ...@@ -32,6 +32,7 @@ memory {
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;
}; };
firmware@0204F000 { firmware@0204F000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment