ARM: dts: lpc4357-ea4357: add pinctrl and uart0 muxing
authorJoachim Eastwood <manabian@gmail.com>
Thu, 2 Apr 2015 03:51:20 +0000 (05:51 +0200)
committerJoachim Eastwood <manabian@gmail.com>
Sat, 11 Jul 2015 21:06:53 +0000 (23:06 +0200)
Setup pin muxing and properties for the debug console on uart0.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/lpc4357-ea4357-devkit.dts

index 08a6f75..06ba998 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>;
 };