ARM: dts: imx6: RIoTboard Add chosen stdout-path property
authorEmmanuel Vadot <manu@freebsd.org>
Mon, 18 Jun 2018 15:42:57 +0000 (17:42 +0200)
committerShawn Guo <shawnguo@kernel.org>
Thu, 28 Jun 2018 02:19:32 +0000 (10:19 +0800)
The RIoTboard debug uart is connected to serial1.
Add a chosen property in the DTS so OS knows what serial port to use for
the console.

Signed-off-by: Emmanuel Vadot <manu@freebsd.org>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6dl-riotboard.dts

index 89b06e20480d611613d803b4f8d69a3c18c40c0d..dd3226fe5ecd57e606b6b1eca6090c9634b43837 100644 (file)
                reg = <0x10000000 0x40000000>;
        };
 
+       chosen {
+               stdout-path = "serial1:115200n8";
+       };
+
        leds {
                compatible = "gpio-leds";
                pinctrl-names = "default";