[PATCH linux dev-4.10] ARM: dts: aspeed: Assign vuart to serial5

Andrew Jeffery andrew at aj.id.au
Fri Aug 25 23:07:25 AEST 2017


On Thu, 2017-08-24 at 16:56 +0800, Lei YU wrote:
> vuart may be initialized earlier than uart1 and occupies ttyS0, and
> causes uart1 to be ttyS1, while uart1 is expected to be ttyS0.
> Add alias of serial5 for vuart, so it is guaranteed to be ttyS5 and does
> not conflict with other uarts.
> 
> Signed-off-by: Lei YU <mine260309 at gmail.com>

Applied to dev-4.10.

Thanks,

Andrew

> ---
>  arch/arm/boot/dts/aspeed-g4.dtsi | 1 +
>  arch/arm/boot/dts/aspeed-g5.dtsi | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi
> index 1525932..a83b6a8 100644
> --- a/arch/arm/boot/dts/aspeed-g4.dtsi
> +++ b/arch/arm/boot/dts/aspeed-g4.dtsi
> @@ -38,6 +38,7 @@
> >  		serial2 = &uart3;
> >  		serial3 = &uart4;
> >  		serial4 = &uart5;
> > +		serial5 = &vuart;
> >  	};
>  
> >  	clocks {
> diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
> index 72b6638..cdea4f4 100644
> --- a/arch/arm/boot/dts/aspeed-g5.dtsi
> +++ b/arch/arm/boot/dts/aspeed-g5.dtsi
> @@ -38,6 +38,7 @@
> >  		serial2 = &uart3;
> >  		serial3 = &uart4;
> >  		serial4 = &uart5;
> > +		serial5 = &vuart;
> >  	};
>  
> >  	ahb {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20170825/8a66290b/attachment.sig>


More information about the openbmc mailing list