ARM: dts: imx6q{dl}: add a DTE uart pinctrl for uart2
authorHuang Shijie <b32955@freescale.com>
Mon, 8 Jul 2013 09:14:21 +0000 (17:14 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 22 Aug 2013 15:29:08 +0000 (23:29 +0800)
In the arm2 board, the UART2 works in the dte mode.
So add a pinctrl for both the imx6q{dl} boards.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx6dl.dtsi
arch/arm/boot/dts/imx6q.dtsi

index 4505109..d75e32c 100644 (file)
                                                        MX6DL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1
                                                >;
                                        };
+
+                                       pinctrl_uart2_2: uart2grp-2 { /* DTE mode */
+                                               fsl,pins = <
+                                                       MX6DL_PAD_EIM_D26__UART2_RX_DATA   0x1b0b1
+                                                       MX6DL_PAD_EIM_D27__UART2_TX_DATA   0x1b0b1
+                                                       MX6DL_PAD_EIM_D28__UART2_DTE_CTS_B 0x1b0b1
+                                                       MX6DL_PAD_EIM_D29__UART2_DTE_RTS_B 0x1b0b1
+                                               >;
+                                       };
                                };
 
                                uart4 {
index 6f4d6ab..e0b7bad 100644 (file)
                                                        MX6Q_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1
                                                >;
                                        };
+
+                                       pinctrl_uart2_2: uart2grp-2 { /* DTE mode */
+                                               fsl,pins = <
+                                                       MX6Q_PAD_EIM_D26__UART2_RX_DATA   0x1b0b1
+                                                       MX6Q_PAD_EIM_D27__UART2_TX_DATA   0x1b0b1
+                                                       MX6Q_PAD_EIM_D28__UART2_DTE_CTS_B 0x1b0b1
+                                                       MX6Q_PAD_EIM_D29__UART2_DTE_RTS_B 0x1b0b1
+                                               >;
+                                       };
                                };
 
                                uart4 {