Skip to contentSkip to conversation

ARM: dts: imx6: Add stdout-path to Wandboard

PATCH Superseded Tuomas Tynkkynen 2 participants 2 messages Aug 14, 2018 – Aug 20, 2018

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx6: Add stdout-path to Wandboard

Setting a stdout-path in the .dtb is convenient because then the user gets a serial console on the RS-232 connector without any extra effort of figuring out the relevant 'console=' boot parameter.

---
Tested on a Wandboard Quad with mainline U-Boot 2018.05.

---
 arch/arm/boot/dts/imx6qdl-wandboard.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/imx6qdl-wandboard.dtsi +4 -0
index e1afa54404d0..0ef34c31f7c6 100644
@@ -8,6 +8,10 @@
 #include <dt-bindings/gpio/gpio.h>
 
 / {
+	chosen {
+		stdout-path = &uart1;
+	};
+
 	regulators {
 		compatible = "simple-bus";
 		#address-cells = <1>;
Signature · 1 line
2.16.3
reviewer Reviewed-by on v1 1/1
#1 lore raw

Hi Tuomas,

Quoted 5 lines · Tuomas Tynkkynen

Setting a stdout-path in the .dtb is convenient because then the user gets a serial console on the RS-232 connector without any extra effort of figuring out the relevant 'console=' boot parameter.

Patch looks good.

Only a minor nit on the Subject line: I would do it like this to make it consistent:

ARM: dts: imx6qdl-wandboard: Add stdout-path