ARM: dts: qcom: msm8974-honami: Define pinctrl state for blsp_uart2
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Wed, 21 Oct 2015 04:57:44 +0000 (21:57 -0700)
committerAndy Gross <agross@codeaurora.org>
Wed, 9 Dec 2015 05:33:11 +0000 (23:33 -0600)
Make sure the blsp1_uart2 pins are in the correct state for the uart.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Andy Gross <agross@codeaurora.org>
arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts

index 016f9ad9392a9cbad2702834aff6648add614b7b..6f7e4ef4ccf749bb6707f0568353f2475e866dfe 100644 (file)
 &soc {
        serial@f991e000 {
                status = "ok";
+
+               pinctrl-names = "default";
+               pinctrl-0 = <&blsp1_uart2_pin_a>;
+       };
+
+       pinctrl@fd510000 {
+               blsp1_uart2_pin_a: blsp1-uart2-pin-active {
+                       rx {
+                               pins = "gpio5";
+                               function = "blsp_uart2";
+
+                               drive-strength = <2>;
+                               bias-pull-up;
+                       };
+
+                       tx {
+                               pins = "gpio4";
+                               function = "blsp_uart2";
+
+                               drive-strength = <4>;
+                               bias-disable;
+                       };
+               };
        };
 };