]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM64: dts: meson-gx: add the serial CTS and RTS pin groups
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 15 Jan 2017 22:32:53 +0000 (23:32 +0100)
committerKevin Hilman <khilman@baylibre.com>
Wed, 18 Jan 2017 22:35:01 +0000 (14:35 -0800)
This adds pinctrl group nodes for the CTS and RTS pins of each serial
controller. This makes it possible to enable the CTS and RTS pins which
are controlled by the serial controller hardware (through the meson_uart
driver).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi

index 474435e217591b6a8be9755c0fc8c46ab2b7b2c8..f001c4d007bc84c72b219418e823164e838b7f77 100644 (file)
                        };
                };
 
+               uart_ao_a_cts_rts_pins: uart_ao_a_cts_rts {
+                       mux {
+                               groups = "uart_cts_ao_a",
+                                      "uart_rts_ao_a";
+                               function = "uart_ao";
+                       };
+               };
+
                uart_ao_b_pins: uart_ao_b {
                        mux {
                                groups = "uart_tx_ao_b", "uart_rx_ao_b";
                        };
                };
 
+               uart_ao_b_cts_rts_pins: uart_ao_b_cts_rts {
+                       mux {
+                               groups = "uart_cts_ao_b",
+                                      "uart_rts_ao_b";
+                               function = "uart_ao_b";
+                       };
+               };
+
                remote_input_ao_pins: remote_input_ao {
                        mux {
                                groups = "remote_input_ao";
                        };
                };
 
+               uart_a_cts_rts_pins: uart_a_cts_rts {
+                       mux {
+                               groups = "uart_cts_a",
+                                      "uart_rts_a";
+                               function = "uart_a";
+                       };
+               };
+
                uart_b_pins: uart_b {
                        mux {
                                groups = "uart_tx_b",
                        };
                };
 
+               uart_b_cts_rts_pins: uart_b_cts_rts {
+                       mux {
+                               groups = "uart_cts_b",
+                                      "uart_rts_b";
+                               function = "uart_b";
+                       };
+               };
+
                uart_c_pins: uart_c {
                        mux {
                                groups = "uart_tx_c",
                        };
                };
 
+               uart_c_cts_rts_pins: uart_c_cts_rts {
+                       mux {
+                               groups = "uart_cts_c",
+                                      "uart_rts_c";
+                               function = "uart_c";
+                       };
+               };
+
                i2c_a_pins: i2c_a {
                        mux {
                                groups = "i2c_sck_a",
index 6d815f9930c9f1378c2f2672830bbfdebec6eb66..f3d1566c0a098c70e3657011b0fee729b2699c97 100644 (file)
                        };
                };
 
+               uart_ao_a_cts_rts_pins: uart_ao_a_cts_rts {
+                       mux {
+                               groups = "uart_cts_ao_a",
+                                      "uart_rts_ao_a";
+                               function = "uart_ao";
+                       };
+               };
+
                uart_ao_b_pins: uart_ao_b {
                        mux {
                                groups = "uart_tx_ao_b", "uart_rx_ao_b";
                        };
                };
 
+               uart_ao_b_cts_rts_pins: uart_ao_b_cts_rts {
+                       mux {
+                               groups = "uart_cts_ao_b",
+                                      "uart_rts_ao_b";
+                               function = "uart_ao_b";
+                       };
+               };
+
                remote_input_ao_pins: remote_input_ao {
                        mux {
                                groups = "remote_input_ao";
                        };
                };
 
+               uart_a_cts_rts_pins: uart_a_cts_rts {
+                       mux {
+                               groups = "uart_cts_a",
+                                      "uart_rts_a";
+                               function = "uart_a";
+                       };
+               };
+
                uart_b_pins: uart_b {
                        mux {
                                groups = "uart_tx_b",
                        };
                };
 
+               uart_b_cts_rts_pins: uart_b_cts_rts {
+                       mux {
+                               groups = "uart_cts_b",
+                                      "uart_rts_b";
+                               function = "uart_b";
+                       };
+               };
+
                uart_c_pins: uart_c {
                        mux {
                                groups = "uart_tx_c",
                        };
                };
 
+               uart_c_cts_rts_pins: uart_c_cts_rts {
+                       mux {
+                               groups = "uart_cts_c",
+                                      "uart_rts_c";
+                               function = "uart_c";
+                       };
+               };
+
                i2c_a_pins: i2c_a {
                        mux {
                                groups = "i2c_sck_a",