summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/stih407-pinctrl.dtsi
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2017-02-03 10:23:17 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-06 09:47:52 +0100
commit34224a0c1941715b6e0f7daf7b146aca5815aabb (patch)
tree9d9f00dedcacf1f71a4929238c0ec4e604f2a4ee /arch/arm/boot/dts/stih407-pinctrl.dtsi
parent105fc00bc388d2dff089f3330fc7d9b009c519dc (diff)
ARM: dts: STiH407-pinctrl: Add Pinctrl group for HW flow-control
Each serial port which supports HW flow-control should have 2 Pinctrl groups. One for when HW flow-control is in progress, where the IP will take over controlling the lines and another group which enables the lines to be toggled using GPIO mechanisms. Acked-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/boot/dts/stih407-pinctrl.dtsi')
-rw-r--r--arch/arm/boot/dts/stih407-pinctrl.dtsi12
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index daab16b5ae64..bd1a82e8fffe 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -465,8 +465,16 @@
serial0 {
pinctrl_serial0: serial0-0 {
st,pins {
- tx = <&pio17 0 ALT1 OUT>;
- rx = <&pio17 1 ALT1 IN>;
+ tx = <&pio17 0 ALT1 OUT>;
+ rx = <&pio17 1 ALT1 IN>;
+ };
+ };
+ pinctrl_serial0_hw_flowctrl: serial0-0_hw_flowctrl {
+ st,pins {
+ tx = <&pio17 0 ALT1 OUT>;
+ rx = <&pio17 1 ALT1 IN>;
+ cts = <&pio17 2 ALT1 IN>;
+ rts = <&pio17 3 ALT1 OUT>;
};
};
};