Skip to content

Commit

Permalink
ARM: dts: exynos4: Add stdout-path properties
Browse files Browse the repository at this point in the history
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: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Tomasz Figa authored and Greg Kroah-Hartman committed Feb 2, 2015
1 parent b94ba03 commit 62d3809
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/exynos4210-origen.dts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

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

regulators {
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/exynos4210-smdkv310.dts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

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

sdhci@12530000 {
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/exynos4210-trats.dts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

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

regulators {
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/exynos4210-universal_c210.dts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

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

sysram@02020000 {
Expand Down
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/exynos4412-odroid-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
#include "exynos4412.dtsi"

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

firmware@0204F000 {
compatible = "samsung,secure-firmware";
reg = <0x0204F000 0x1000>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/exynos4412-origen.dts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

chosen {
bootargs ="console=ttySAC2,115200";
stdout-path = &serial_2;
};

firmware@0203F000 {
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/exynos4412-smdk4412.dts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

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

g2d@10800000 {
Expand Down
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/exynos4412-tiny4412.dts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
model = "FriendlyARM TINY4412 board based on Exynos4412";
compatible = "friendlyarm,tiny4412", "samsung,exynos4412", "samsung,exynos4";

chosen {
stdout-path = &serial_0;
};

memory {
reg = <0x40000000 0x40000000>;
};
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/exynos4412-trats2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

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

firmware@0204F000 {
Expand Down

0 comments on commit 62d3809

Please sign in to comment.