summary refs log tree commit diff
path: root/arch/openrisc
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2017-09-19 22:33:00 +0900
committerStafford Horne <shorne@gmail.com>2017-10-30 21:37:51 +0900
commit85936eeb48e59af43b0130291027485dc19239ef (patch)
tree678f37b68eb95dc695893a6345e07d39543f3a0e /arch/openrisc
parentbb176f67090ca54869fc1262c913aa69d2ede070 (diff)
downloadlinux-85936eeb48e59af43b0130291027485dc19239ef.tar.gz
openrisc: dts: or1ksim: Add stdout-path
During reviews of the OpenRISC SMP patch series it was suggested to add
stdout-path to the SMP dts file.  Add stdout-path to our other dts files
to be a good example.

Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc')
-rw-r--r--arch/openrisc/boot/dts/or1ksim.dts7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/openrisc/boot/dts/or1ksim.dts b/arch/openrisc/boot/dts/or1ksim.dts
index 5d4f9027afaf..8f41bd8c9f84 100644
--- a/arch/openrisc/boot/dts/or1ksim.dts
+++ b/arch/openrisc/boot/dts/or1ksim.dts
@@ -5,8 +5,13 @@
 	#size-cells = <1>;
 	interrupt-parent = <&pic>;
 
+	aliases {
+		uart0 = &serial0;
+	};
+
 	chosen {
-		bootargs = "console=uart,mmio,0x90000000,115200";
+		bootargs = "earlycon";
+		stdout-path = "uart0:115200";
 	};
 
 	memory@0 {