ARM: dts: lpc4350-hitex-eval: add pinctrl and uart0 muxing
authorAriel D'Alessandro <ariel@vanguardiasur.com.ar>
Thu, 30 Jul 2015 22:24:25 +0000 (00:24 +0200)
committerOlof Johansson <olof@lixom.net>
Wed, 5 Aug 2015 17:30:26 +0000 (19:30 +0200)
Setup pin muxing and properties for the debug console on uart0.

Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/lpc4350-hitex-eval.dts

index 4ebdb54cc9cec4dba78231f562b86f6d3e73c05f..1dab22150510b991eca6f1262c29a0eabe33e9e0 100644 (file)
        };
 };
 
+&pinctrl {
+       uart0_pins: uart0-pins {
+               uart0_rx_cfg {
+                       pins = "pf_11";
+                       function = "uart0";
+                       input-schmitt-disable;
+                       bias-disable;
+                       input-enable;
+               };
+
+               uart0_tx_cfg {
+                       pins = "pf_10";
+                       function = "uart0";
+                       bias-pull-down;
+               };
+       };
+};
+
 &uart0 {
        status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&uart0_pins>;
 };