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: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b94ba0328d
commit
62d38099bf
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 @@
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
bootargs ="console=ttySAC2,115200";
|
bootargs ="console=ttySAC2,115200";
|
||||||
|
stdout-path = &serial_2;
|
||||||
};
|
};
|
||||||
|
|
||||||
firmware@0203F000 {
|
firmware@0203F000 {
|
||||||
|
|
|
@ -25,6 +25,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;
|
||||||
};
|
};
|
||||||
|
|
||||||
g2d@10800000 {
|
g2d@10800000 {
|
||||||
|
|
|
@ -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 @@
|
||||||
|
|
||||||
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 {
|
||||||
|
|
Loading…
Reference in New Issue