]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: dts: allwinner: pine64: Prepare optional UART nodes with pinctrl
authorAndreas Färber <afaerber@suse.de>
Tue, 18 Apr 2017 19:25:38 +0000 (21:25 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 7 Jun 2017 13:25:44 +0000 (15:25 +0200)
commit2273aa169125fd66e47cee2582f7f8ec3cf32544
tree7172023b6889295cd9ad2068d91a90f9019ae320
parent3b38fded38cff850a3b0ba85e96528ad791dafc5
arm64: dts: allwinner: pine64: Prepare optional UART nodes with pinctrl

Pine64 exposes all A64 UARTs, not just UART0.

Since the pins can be used as GPIO, don't enable the new UART nodes by
default, but prepare the pinctrl settings to aid in activating them via
overlays, i.e., overriding the status property of &uartX nodes.

For UART4 (Euler) the safer route of not including RTS/CTS pins is chosen,
whereas for UART1 (Bluetooth) they are included.

Add the corresponding pinctrl nodes where missing.

Suggested-by: Maxime Ripard <maxime.ripard@free-electrons.com>
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
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi