ARM: dts: imx6qdl-wandboard: Add stdout-path
authorTuomas Tynkkynen <tuomas@tuxera.com>
Mon, 20 Aug 2018 21:07:18 +0000 (00:07 +0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 3 Sep 2018 04:25:22 +0000 (12:25 +0800)
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.

Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-wandboard.dtsi

index 381bf61..b7d5fb4 100644 (file)
@@ -8,6 +8,10 @@
 #include <dt-bindings/gpio/gpio.h>
 
 / {
+       chosen {
+               stdout-path = &uart1;
+       };
+
        sound {
                compatible = "fsl,imx6-wandboard-sgtl5000",
                             "fsl,imx-audio-sgtl5000";