ARM: dts: STiH407-pinctrl: Add Pinctrl group for HW flow-control
authorLee Jones <lee.jones@linaro.org>
Fri, 3 Feb 2017 10:23:17 +0000 (10:23 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Feb 2017 08:47:52 +0000 (09:47 +0100)
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>
arch/arm/boot/dts/stih407-pinctrl.dtsi

index daab16b5ae645cee254a61b33bf7fe7178c4cb9f..bd1a82e8fffee706d8f8030bb01c209fe23b8521 100644 (file)
                        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>;
                                        };
                                };
                        };