ARM: dts: apq8064: Prefix the gsbi6 uart pins correctly
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 18 Sep 2015 12:31:34 +0000 (13:31 +0100)
committerAndy Gross <agross@codeaurora.org>
Tue, 13 Oct 2015 21:39:58 +0000 (16:39 -0500)
Usage of generic names like "uart_pins" is confusing to the reader, given
the fact that there could be more than one uart on APQ8064.
This patch adds gsbi prefix to uart pinctrl nodes so as to avoid such
confusion.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
arch/arm/boot/dts/qcom-apq8064.dtsi

index 2ad2ab87ead56e1df36fda341b627322e5d30d65..56eaf5a900354b5adc29ef5983a893aa6f4bf56c 100644 (file)
                        serial@16540000 {
                                status = "ok";
                                pinctrl-names = "default";
-                               pinctrl-0 = <&uart_pins>;
+                               pinctrl-0 = <&gsbi6_uart_4pins>;
                        };
                };
 
index f665a25059400b84892f20eb67070e1df6c3eef5..7aa010d93e79904eaf260eeab8d2fe5616c16c3d 100644 (file)
                                };
                        };
 
-                       uart_pins: uart_pins {
+                       gsbi6_uart_2pins: gsbi6_uart_2pins {
+                               mux {
+                                       pins = "gpio14", "gpio15";
+                                       function = "gsbi6";
+                               };
+                       };
+
+                       gsbi6_uart_4pins: gsbi6_uart_4pins {
                                mux {
                                        pins = "gpio14", "gpio15", "gpio16", "gpio17";
                                        function = "gsbi6";