[PATCH] arm/dts/aspeed: Alias vuart as ttyS5

Andrew Jeffery andrew at aj.id.au
Tue Aug 30 11:55:43 AEST 2016


On Tue, 2016-08-30 at 11:13 +0930, Joel Stanley wrote:
> OpenBMC userspace expects the vuart to be at /dev/ttyS5. The userspace
> will soon use udev to correctly identify the vuart, however for now we
> will un-break existing images by adding the alias.
> 
> Signed-off-by: Joel Stanley <joel at jms.id.au>

NAK, as userspace no-longer expects the vuart to be at ttyS5:

https://gerrit.openbmc-project.xyz/#/c/293/

Andrew

> ---
> 
> Boot tested in qemu as the witherspoon platform. The alias appears to work:
> 
>  1e787000.vuart: ttyS5 at MMIO 0x1e787000 (irq = 19, base_baud = 1500000) is a 16550A
> 
> Needs verification on a real system.
> 
>  arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts   | 1 +
>  arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts   | 1 +
>  arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts    | 1 +
>  arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts    | 1 +
>  arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 1 +
>  5 files changed, 5 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts b/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
> index 6ca618bd331d..af1ad2810f84 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
> @@ -9,6 +9,7 @@
>  
>  	aliases {
>  		serial4 = &uart5;
> +		serial5 = &vuart;
>  	};
>  
>  	chosen {
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts b/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
> index 2ec9e4450515..321ab1127843 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
> @@ -8,6 +8,7 @@
>  
>  	aliases {
>  		serial4 = &uart5;
> +		serial5 = &vuart;
>  	};
>  
>  	chosen {
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts b/arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts
> index a4471fb3b36b..5a1abf550961 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts
> @@ -9,6 +9,7 @@
>  
>  	aliases {
>  		serial4 = &uart5;
> +		serial5 = &vuart;
>  	};
>  
>  	chosen {
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
> index 21619fd8cd8d..f705847625e7 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
> @@ -9,6 +9,7 @@
>  
>  	aliases {
>  		serial4 = &uart5;
> +		serial5 = &vuart;
>  	};
>  
>  	chosen {
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> index fcc880a80ee0..ab205596c6ff 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> @@ -9,6 +9,7 @@
>  
>  	aliases {
>  		serial4 = &uart5;
> +		serial5 = &vuart;
>  	};
>  
>  	chosen {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160830/90721b2f/attachment.sig>


More information about the openbmc mailing list