Re: [PATCH] ARM: MXS: duckbill: set duart to serial0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Freitag, den 29.05.2020, 14:51 +0200 schrieb Michael Grzeschik:
> In the imx28.dtsi the serial0 is set to auart0 which is not the one
> used on the duckbill. We set duart to serial0 so the console will be
> properly set.

If the aliases are the same in the Barebox and Linux DTs there should
be no need to override the alias numbering in the individual board DTs.

Is the Linux driver ignoring the alias, or what is the issue being
fixed here?

Regards,
Lucas

> Signed-off-by: Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx>
> ---
>  arch/arm/dts/imx28-duckbill.dts | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/dts/imx28-duckbill.dts b/arch/arm/dts/imx28-
> duckbill.dts
> index 2a995a7938..299c33e270 100644
> --- a/arch/arm/dts/imx28-duckbill.dts
> +++ b/arch/arm/dts/imx28-duckbill.dts
> @@ -4,6 +4,10 @@
>  	chosen {
>  		stdout-path = &duart;
>  	};
> +
> +	aliases {
> +		serial0 = &duart;
> +	};
>  };
>  
>  &duart {


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux