From: Huang Shijie <b32955@freescale.com>
To: gregkh@linuxfoundation.org
Cc: linux-serial@vger.kernel.org, shawn.guo@linaro.org,
linux-arm-kernel@lists.infradead.org,
Huang Shijie <b32955@freescale.com>
Subject: [PATCH v2 5/5] ARM: dts: enable the uart2 for imx6q-arm2
Date: Wed, 3 Jul 2013 17:42:37 +0800 [thread overview]
Message-ID: <1372844557-3078-6-git-send-email-b32955@freescale.com> (raw)
In-Reply-To: <1372844557-3078-1-git-send-email-b32955@freescale.com>
enable the uart2 for imx6q-arm2 board.
The uart2 works in the DTE mode, with the RTS/CTS and DMA enabled.
Signed-off-by: Huang Shijie <b32955@freescale.com>
---
arch/arm/boot/dts/imx6q-arm2.dts | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/imx6q-arm2.dts b/arch/arm/boot/dts/imx6q-arm2.dts
index 4e54fde..8beaa68 100644
--- a/arch/arm/boot/dts/imx6q-arm2.dts
+++ b/arch/arm/boot/dts/imx6q-arm2.dts
@@ -97,6 +97,16 @@
status = "okay";
};
+&uart2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_uart2_dte>;
+ fsl,dte-mode;
+ fsl,uart-has-rtscts;
+ dma-names = "rx", "tx";
+ dmas = <&sdma 27 4 0>, <&sdma 28 4 0>;
+ status = "okay";
+};
+
&uart4 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart4_1>;
--
1.7.1
prev parent reply other threads:[~2013-07-03 10:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-03 9:42 [PATCH v2 0/5] serial: imx: add DMA support for imx6 Huang Shijie
2013-07-03 9:42 ` [PATCH v2 1/5] serial: imx: distinguish the imx6q uart from the others Huang Shijie
2013-07-03 9:42 ` [PATCH v2 2/5] serial: imx: add DMA support for imx6q Huang Shijie
2013-07-03 9:42 ` [PATCH v2 3/5] ARM: dts: imx6sl: add "fsl,imx6q-uart" for uart compatible Huang Shijie
2013-07-03 9:42 ` [PATCH v2 4/5] ARM: dts: imx6q: add dte pinctrl for uart2 Huang Shijie
2013-07-04 7:23 ` Shawn Guo
2013-07-04 8:42 ` Huang Shijie
2013-07-04 8:56 ` Shawn Guo
2013-07-04 9:06 ` Huang Shijie
2013-07-03 9:42 ` Huang Shijie [this message]
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=1372844557-3078-6-git-send-email-b32955@freescale.com \
--to=b32955@freescale.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-serial@vger.kernel.org \
--cc=shawn.guo@linaro.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).