linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: festevam@gmail.com (Fabio Estevam)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: dts: imx27-pdk: Pass the UART1 pin configuration
Date: Wed,  2 Apr 2014 19:25:45 -0300	[thread overview]
Message-ID: <1396477546-11130-2-git-send-email-festevam@gmail.com> (raw)
In-Reply-To: <1396477546-11130-1-git-send-email-festevam@gmail.com>

From: Fabio Estevam <fabio.estevam@freescale.com>

Provide an entry for the UART1 pin muxing.

While at it, sort the dt entries.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/boot/dts/imx27-pdk.dts | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/imx27-pdk.dts b/arch/arm/boot/dts/imx27-pdk.dts
index 28c83bc..5e9a4bb 100644
--- a/arch/arm/boot/dts/imx27-pdk.dts
+++ b/arch/arm/boot/dts/imx27-pdk.dts
@@ -21,11 +21,27 @@
 	};
 };
 
-&uart1 {
-	fsl,uart-has-rtscts;
+&fec {
 	status = "okay";
 };
 
-&fec {
+
+&iomuxc {
+	imx27-pdk {
+		pinctrl_uart1: uart1grp {
+			fsl,pins = <
+				MX27_PAD_UART1_TXD__UART1_TXD 0x0
+				MX27_PAD_UART1_RXD__UART1_RXD 0x0
+				MX27_PAD_UART1_CTS__UART1_CTS 0x0
+				MX27_PAD_UART1_RTS__UART1_RTS 0x0
+			>;
+		};
+	};
+};
+
+&uart1 {
+	fsl,uart-has-rtscts;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_uart1>;
 	status = "okay";
 };
-- 
1.8.3.2

  reply	other threads:[~2014-04-02 22:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-02 22:25 [PATCH 1/3] ARM: dts: imx27-pdk: Pass the memory range Fabio Estevam
2014-04-02 22:25 ` Fabio Estevam [this message]
2014-04-03  2:01   ` [PATCH 2/3] ARM: dts: imx27-pdk: Pass the UART1 pin configuration Shawn Guo
2014-04-09  3:37     ` Fabio Estevam
2014-04-09  3:44       ` Shawn Guo
2014-04-02 22:25 ` [PATCH 3/3] ARM: dts: imx27-pdk: Pass the FEC " Fabio Estevam
2014-04-03  2:02 ` [PATCH 1/3] ARM: dts: imx27-pdk: Pass the memory range Shawn Guo

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=1396477546-11130-2-git-send-email-festevam@gmail.com \
    --to=festevam@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).