summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2013-07-08 11:14:22 +0200
committerShawn Guo <shawn.guo@linaro.org>2013-08-22 17:29:09 +0200
commit51056d9cff64ba1347a20476c840e943576f0283 (patch)
treebb6aa637b1b45249f9a322781a78295b3a49509d
parentARM: dts: imx6q{dl}: add a DTE uart pinctrl for uart2 (diff)
downloadlinux-51056d9cff64ba1347a20476c840e943576f0283.tar.xz
linux-51056d9cff64ba1347a20476c840e943576f0283.zip
ARM: dts: enable the uart2 for imx6q-arm2
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> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
-rw-r--r--arch/arm/boot/dts/imx6q-arm2.dts10
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 4e54fde591bd..e7e3b566cce9 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_2>;
+ 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>;