Re: [PATCH] ARM: dts: imx6: RIoTboard Add chosen stdout-path property

From: Lucas Stach
Date: Mon Jun 18 2018 - 12:03:30 EST


Am Montag, den 18.06.2018, 17:42 +0200 schrieb Emmanuel Vadot:
> 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@xxxxxxxxxxx>
> ---
> Âarch/arm/boot/dts/imx6dl-riotboard.dts | 4 ++++
> Â1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx6dl-riotboard.dts b/arch/arm/boot/dts/imx6dl-riotboard.dts
> index 2e98c92adff7..315d2ae6fa45 100644
> --- a/arch/arm/boot/dts/imx6dl-riotboard.dts
> +++ b/arch/arm/boot/dts/imx6dl-riotboard.dts
> @@ -19,6 +19,10 @@
> > Â reg = <0x10000000 0x40000000>;
> > Â };
> Â
> > + chosen {
> + stdout-path = "serial1:115200n8";

If there a reason to deviate from the "stdout-path = &uart1;" notation
used by other i.MX boards?

Regards,
Lucas

> + };
> +
> > Â regulators {
> > Â compatible = "simple-bus";
> > Â #address-cells = <1>;