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 08a6f757f924d4ed0c1c3d3fd3afe63c49d9cbbe..06ba998d544fe9690804a2da2b6555dff995f738 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>;
 };
This page took 0.026206 seconds and 5 git commands to generate.