diff mbox series

[v4,07/10] ARM: dts: STiH410-b2260: Identify the UART RTS line

Message ID 20170203102319.23489-8-lee.jones@linaro.org
State Accepted
Commit 105fc00bc388d2dff089f3330fc7d9b009c519dc
Headers show
Series None | expand

Commit Message

Lee Jones Feb. 3, 2017, 10:23 a.m. UTC
When hardware flow-control is disabled, manual toggling of the UART's
reset line (RTS) using userland applications (e.g. stty) is not
possible, since the ASC IP does not provide this functionality in the
same was as some other IPs do.  Thus, we have to do this manually.
This patch configures the UART RTS line as a GPIO for manipulation
within the UART driver when HW flow-control is not enabled.

Acked-by: Peter Griffin <peter.griffin@linaro.org>

Signed-off-by: Lee Jones <lee.jones@linaro.org>

---
 arch/arm/boot/dts/stih410-b2260.dts | 1 +
 1 file changed, 1 insertion(+)

-- 
2.9.3
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/stih410-b2260.dts b/arch/arm/boot/dts/stih410-b2260.dts
index 06b0696..fa16aba 100644
--- a/arch/arm/boot/dts/stih410-b2260.dts
+++ b/arch/arm/boot/dts/stih410-b2260.dts
@@ -63,6 +63,7 @@ 
 		uart0: serial@9830000 {
 			label = "LS-UART0";
 			status = "okay";
+			rts-gpios = <&pio17 3 GPIO_ACTIVE_LOW>;
 		};
 
 		/* Low speed expansion connector */