Skip to contentSkip to conversation

openrisc: dts: or1ksim: Add stdout-path

PATCH New Stafford Horne 1 participant 1 message Oct 22, 2017

Subsystems (2)
lore
Share & tools
lore

Stafford Horne

author maintainer
#0 lore raw

PATCH v2 1/1 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 <[email protected]>

---

Changes since v1
- Complete rewrite with input from Geert

 arch/openrisc/boot/dts/or1ksim.dts | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
arch/openrisc/boot/dts/or1ksim.dts +6 -1
index 5d4f9027afaf..8f41bd8c9f84 100644
@@ -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 {
Signature · 6 lines
2.13.6

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html