]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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>
Mon, 15 Jul 2013 01:26:45 +0000 (09:26 +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 4505109de7d623b5f3736937ce2881cbc8c1098a..d75e32c93f080d16463eb50c99efedec4b54db73 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 6f4d6ab9c255829c607beb76e978684edfd0cd08..e0b7bad7f78f3447e5e426168f9f2803de020aad 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 {