ARM: dts: lpc4357-ea4357: add uart3
authorJoachim Eastwood <manabian@gmail.com>
Fri, 29 May 2015 21:09:52 +0000 (23:09 +0200)
committerJoachim Eastwood <manabian@gmail.com>
Tue, 14 Jul 2015 13:12:10 +0000 (15:12 +0200)
Enable UART3 that is routed to the J17 DSUB9 connector on
the EA4357 devkit.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
arch/arm/boot/dts/lpc4357-ea4357-devkit.dts

index 0d04a8e8dbc1fd5594bc75f7ada3343e2df2d30c..3a3ba16fe6904751ca5c192c107f3e36fbf84e74 100644 (file)
                        bias-pull-down;
                };
        };
+
+       uart3_pins: uart3-pins {
+               uart3_rx_cfg {
+                       pins = "p2_4";
+                       function = "uart3";
+                       input-schmitt-disable;
+                       bias-disable;
+                       input-enable;
+               };
+
+               uart3_tx_cfg {
+                       pins = "p9_3";
+                       function = "uart3";
+                       bias-pull-down;
+               };
+       };
 };
 
 &enet_tx_clk {
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_pins>;
 };
+
+&uart3 {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&uart3_pins>;
+};