]> git.baikalelectronics.ru Git - kernel.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)
commit7638106648ac3eff52ee6dbbea1469460a60e5b4
tree7172023b6889295cd9ad2068d91a90f9019ae320
parentcd2632998849a9b38d12f18dfdb8ad7b3e34fbed
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