MLK-11457-02 ARM: dts: imx6q: add uart5 dte set for sabresd board
authorFugang Duan <b38611@freescale.com>
Tue, 9 Sep 2014 06:36:12 +0000 (14:36 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:16 +0000 (14:48 -0500)
Add uart5 DTE mode pinctrl set for imx6q-sabresd board. Since there
have pin confliction, so add new dts file.

(cherry picked from commit d63b40d5b1b05992d2328ef0bdc80ec5d96f2dce)

Signed-off-by: Fugang Duan <B38611@freescale.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6q-sabresd-uart.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6qdl-sabresd.dtsi

index f19981e..7543f45 100644 (file)
@@ -392,6 +392,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
        imx6qp-sabreauto.dtb \
        imx6q-sabrelite.dtb \
        imx6q-sabresd.dtb \
+       imx6q-sabresd-uart.dtb \
        imx6q-sbc6x.dtb \
        imx6q-tbs2910.dtb \
        imx6q-ts4900.dtb \
diff --git a/arch/arm/boot/dts/imx6q-sabresd-uart.dts b/arch/arm/boot/dts/imx6q-sabresd-uart.dts
new file mode 100644 (file)
index 0000000..800479d
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2014 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx6q-sabresd.dts"
+
+&uart5 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_uart5_1>;
+       fsl,uart-has-rtscts;
+       status = "okay";
+       /* for DTE mode, add below change */
+       /* fsl,dte-mode; */
+       /* pinctrl-0 = <&pinctrl_uart5dte_1>; */
+};
+
+&ecspi1 {
+       status = "disabled";
+};
index c300019..9a69f13 100644 (file)
                        >;
                };
 
+               pinctrl_uart5_1: uart5grp-1 {
+                       fsl,pins = <
+                               MX6QDL_PAD_KEY_COL1__UART5_TX_DATA      0x1b0b1
+                               MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA      0x1b0b1
+                               MX6QDL_PAD_KEY_COL4__UART5_RTS_B        0x1b0b1
+                               MX6QDL_PAD_KEY_ROW4__UART5_CTS_B        0x1b0b1
+                       >;
+               };
+
+               pinctrl_uart5dte_1: uart5dtegrp-1 {
+                       fsl,pins = <
+                               MX6QDL_PAD_KEY_ROW1__UART5_TX_DATA      0x1b0b1
+                               MX6QDL_PAD_KEY_COL1__UART5_RX_DATA      0x1b0b1
+                               MX6QDL_PAD_KEY_ROW4__UART5_RTS_B        0x1b0b1
+                               MX6QDL_PAD_KEY_COL4__UART5_CTS_B        0x1b0b1
+                       >;
+               };
+
                pinctrl_usbotg: usbotggrp {
                        fsl,pins = <
                                MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID       0x17059