[PATCH 11/17] ARM: dts: lpc4357-ea4357: add pinctrl and uart0 muxing
Joachim Eastwood
manabian at gmail.com
Tue Jul 14 06:39:46 PDT 2015
Setup pin muxing and properties for the debug console on uart0.
Signed-off-by: Joachim Eastwood <manabian at gmail.com>
Acked-by: Linus Walleij <linus.walleij at linaro.org>
---
arch/arm/boot/dts/lpc4357-ea4357-devkit.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
index 08a6f757f924..06ba998d544f 100644
--- a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
+++ b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
@@ -36,6 +36,26 @@
};
};
+&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>;
};
--
1.8.0
More information about the linux-arm-kernel
mailing list