]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: enable the uart2 for imx6q-arm2
authorHuang Shijie <b32955@freescale.com>
Mon, 8 Jul 2013 09:14:22 +0000 (17:14 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 15 Jul 2013 01:26:46 +0000 (09:26 +0800)
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>
arch/arm/boot/dts/imx6q-arm2.dts

index 4e54fde591bdbd7d160696d59df5cb134612d314..e7e3b566cce95a53a7f097d6158a0befc67a85a3 100644 (file)
        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>;