[PATCH linux dev-4.10] ARM: dts: aspeed: Assign vuart to serial5
Lei YU
mine260309 at gmail.com
Thu Aug 24 18:56:32 AEST 2017
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>
---
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 {
--
1.9.1
More information about the openbmc
mailing list