MLK-11457-01 ARM: dts: imx6sx: add uart5 dte pad set for imx6sx-sdb board
authorFugang Duan <b38611@freescale.com>
Mon, 31 Aug 2015 06:51:03 +0000 (14:51 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:16 +0000 (14:48 -0500)
Add imx6sx-sdb baord uart5 DTE pad set. To avoid a flood of dts files,
there only comment out DTE pinctrl set. If user want to test DTE mode,
it needs to rebuild the DTB file.

Signed-off-by: Fugang Duan <B38611@freescale.com>
arch/arm/boot/dts/imx6sx-sdb.dtsi

index d3c3e39..bcbfad2 100644 (file)
        pinctrl-0 = <&pinctrl_uart5>;
        uart-has-rtscts;
        status = "okay";
+       /* for DTE mode, add below change */
+       /* fsl,dte-mode;*/
+       /* pinctrl-0 = <&pinctrl_uart5dte_1>; */
 };
 
 &usbotg1 {
                        >;
                };
 
+               pinctrl_uart5dte_1: uart5dtegrp-1 {
+                       fsl,pins = <
+                               MX6SX_PAD_KEY_ROW3__UART5_TX            0x1b0b1
+                               MX6SX_PAD_KEY_COL3__UART5_RX            0x1b0b1
+                               MX6SX_PAD_KEY_ROW2__UART5_RTS_B         0x1b0b1
+                               MX6SX_PAD_KEY_COL2__UART5_CTS_B         0x1b0b1
+                       >;
+               };
+
                pinctrl_usb_otg1: usbotg1grp {
                        fsl,pins = <
                                MX6SX_PAD_GPIO1_IO09__GPIO1_IO_9        0x10b0