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

Joel Stanley joel at jms.id.au
Tue Aug 30 11:43:18 AEST 2016


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>
---

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 {
-- 
2.9.3



More information about the openbmc mailing list