linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: manabian@gmail.com (Joachim Eastwood)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 7/9] ARM: dts: lpc4350-hitex-eval: add pinctrl and uart0 muxing
Date: Fri, 31 Jul 2015 00:24:25 +0200	[thread overview]
Message-ID: <1438295067-24407-8-git-send-email-manabian@gmail.com> (raw)
In-Reply-To: <1438295067-24407-1-git-send-email-manabian@gmail.com>

From: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>

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>
---
 arch/arm/boot/dts/lpc4350-hitex-eval.dts | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm/boot/dts/lpc4350-hitex-eval.dts b/arch/arm/boot/dts/lpc4350-hitex-eval.dts
index 4ebdb54cc9ce..1dab22150510 100644
--- a/arch/arm/boot/dts/lpc4350-hitex-eval.dts
+++ b/arch/arm/boot/dts/lpc4350-hitex-eval.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

  parent reply	other threads:[~2015-07-30 22:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-30 22:24 [PATCH 0/9] LPC18xx DTS changes for 4.3 part2 Joachim Eastwood
2015-07-30 22:24 ` [PATCH 1/9] ARM: dts: lpc18xx: add usb otg phy node Joachim Eastwood
2015-07-30 22:24 ` [PATCH 2/9] ARM: dts: lpc18xx: add pl111 lcd controller node Joachim Eastwood
2015-07-30 22:24 ` [PATCH 3/9] ARM: dts: lpc18xx: add pl172 memory-controller node Joachim Eastwood
2015-07-30 22:24 ` [PATCH 4/9] ARM: dts: lpc4357-ea4357: add usb0 Joachim Eastwood
2015-07-30 22:24 ` [PATCH 5/9] ARM: dts: lpc4357-ea4357: add emc pins and static memory devices Joachim Eastwood
2015-07-30 22:24 ` [PATCH 6/9] ARM: dts: lpc4357-ea4357: add mmio-gpio leds Joachim Eastwood
2015-07-30 22:24 ` Joachim Eastwood [this message]
2015-07-30 22:24 ` [PATCH 8/9] ARM: dts: lpc4350-hitex-eval: add ethernet Joachim Eastwood
2015-07-30 22:24 ` [PATCH 9/9] ARM: dts: lpc4350-hitex-eval: add emc pins and static memory devices Joachim Eastwood
2015-08-06  7:28 ` [PATCH 0/9] LPC18xx DTS changes for 4.3 part2 Olof Johansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1438295067-24407-8-git-send-email-manabian@gmail.com \
    --to=manabian@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).