Discussion:
[PATCH] arm64: dts: marvell: mcbin: add an stdout-path
Antoine Tenart
2017-07-17 07:30:22 UTC
Permalink
This patch adds an stdout-path to the mcbin device tree. This allows to
use earlycon.

Signed-off-by: Antoine Tenart <***@free-electrons.com>
---
arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
index a4f87faae67b..178fe1fca015 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
+++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
@@ -51,6 +51,10 @@
compatible = "marvell,armada8040-mcbin", "marvell,armada8040",
"marvell,armada-ap806-quad", "marvell,armada-ap806";

+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
***@00000000 {
device_type = "memory";
reg = <0x0 0x0 0x0 0x80000000>;
--
2.13.3
Gregory CLEMENT
2017-07-18 13:01:45 UTC
Permalink
Hi Antoine,
Post by Antoine Tenart
This patch adds an stdout-path to the mcbin device tree. This allows to
use earlycon.
Applied on mvebu/dt64

Thanks,

Gregory
Post by Antoine Tenart
---
arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
index a4f87faae67b..178fe1fca015 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
+++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
@@ -51,6 +51,10 @@
compatible = "marvell,armada8040-mcbin", "marvell,armada8040",
"marvell,armada-ap806-quad", "marvell,armada-ap806";
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
device_type = "memory";
reg = <0x0 0x0 0x0 0x80000000>;
--
2.13.3
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
Loading...