ARM: dts: aspeed: Assign vuart to serial5
Subsystems (2)
PATCH 1/1 ARM: dts: aspeed: Assign vuart to serial5
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 <[email protected]>
--- arch/arm/boot/dts/aspeed-g4.dtsi | 1 + arch/arm/boot/dts/aspeed-g5.dtsi | 1 + 2 files changed, 2 insertions(+)
arch/arm/boot/dts/aspeed-g4.dtsi +1 -0
@@ -38,6 +38,7 @@ serial2 = &uart3; serial3 = &uart4; serial4 = &uart5; + serial5 = &vuart; }; clocks {
arch/arm/boot/dts/aspeed-g5.dtsi +1 -0
@@ -38,6 +38,7 @@ serial2 = &uart3; serial3 = &uart4; serial4 = &uart5; + serial5 = &vuart; }; ahb {
Signature · 1 line
1.9.1
Andrew Jeffery
AppliedQuoted 6 lines · Lei YU
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 <[email protected]>
Applied to dev-4.10.
Thanks,
Andrew
Quoted 29 lines
---
arch/arm/boot/dts/aspeed-g4.dtsi | 1 +
arch/arm/boot/dts/aspeed-g5.dtsi | 1 +2 files changed, 2 insertions(+)arch/arm/boot/dts/aspeed-g4.dtsi +0
-0@@ -38,6 +38,7 @@ > serial2 = &uart3; > serial3 = &uart4; > serial4 = &uart5; > + serial5 = &vuart; > };Quoted 1 line
clocks {
arch/arm/boot/dts/aspeed-g5.dtsi +0
-0@@ -38,6 +38,7 @@ > serial2 = &uart3; > serial3 = &uart4; > serial4 = &uart5; > + serial5 = &vuart; > };Quoted 1 line
ahb {