arm64: dts: allwinner: pine64: Add remaining UART aliases
authorAndreas Färber <afaerber@suse.de>
Fri, 14 Apr 2017 19:08:04 +0000 (21:08 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 7 Jun 2017 13:25:42 +0000 (15:25 +0200)
commit226ab0999ad35042c83a026af80983a33ebd98cc
tree7d60f49540a12395cf1ee9274d24c37371f9a2cf
parent798257194e9fe0151ec83628e95b056e44e642b7
arm64: dts: allwinner: pine64: Add remaining UART aliases

Enabling uart2 node currently leads to a /dev/ttyS1 device, with ttyS0..4
always present, causing confusion on the user's part.

dtc cannot resolve an overlay's &uart2 reference for strings, only for
phandles, so it would need to hardcode the full node path.

Avoid this and enforce reliable numbering by adding serialX aliases for:

UART1 - on Wifi/BT connector
UART2 - on Pi-2 connector
UART3 - on Euler connector
UART4 - on Euler connector

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts