From patchwork Wed Jun 29 13:38:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 9205249 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5FB546075F for ; Wed, 29 Jun 2016 13:34:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 512B328326 for ; Wed, 29 Jun 2016 13:34:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 45D552866A; Wed, 29 Jun 2016 13:34:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 238B028326 for ; Wed, 29 Jun 2016 13:34:24 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bIFc0-0002yx-4K; Wed, 29 Jun 2016 13:33:04 +0000 Received: from mail-pf0-x22d.google.com ([2607:f8b0:400e:c00::22d]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bIFbx-0002tW-T8 for linux-arm-kernel@lists.infradead.org; Wed, 29 Jun 2016 13:33:02 +0000 Received: by mail-pf0-x22d.google.com with SMTP id h14so18345786pfe.1 for ; Wed, 29 Jun 2016 06:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=1+qAxMHL33NP7XQ9eASDBRBZkepOumshDgfTpoE5GkQ=; b=jPUwMEnX/Gvxwud0PLo1QFXqIs4fjUKMNAX3NiqLcvTXhqm52C1gb1HfUZ3BKzrHvj wzAjTL5n2mYJSang3T2bBitgZVjVKZRdBZ/VYOvuhHRJWs3UAzygUVx0Fxtj9FEOVUGl xZxQgvvR7EK9YAh9SB7f12zPHMnhGGQ8dXcCfU8Gq+QwtvgkifkixkNeumklCdS/VzqZ J/ZfcK4QXz/M8+8mq8u6ApiltrhaNJAVkt+cR4gfOiCZUlxvsMkSh7MNNk+hhZPpTBBk HJoN3nTXunifib3PZboDN/lXtWzi4celKPS9uzI8Lbd1+CgOz6NvtzRNG2j02WiIcNH0 uaXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=1+qAxMHL33NP7XQ9eASDBRBZkepOumshDgfTpoE5GkQ=; b=WhnovxpzUCjylQjHxtT2lsmHiNNSwvcqGqu1qXazhpoXM9XgdXsc4Ryq1+HerdrUsJ iUxjXRX5daSTo9vfg4npQL9rVeuiNbQkwEpHhaj/M9c3y0cVOtGaH3MImV2SITtSjraW QJHclkR6Q72Po8T6eSvr44BdF6/907QzalqK9vFYAFon2Pnv7alOaytjHWcBH7SBPqN+ Mx0eKj6YZdhnQKPCOqvsvKQVe99oZgwwijAQi8myYdETzhYNv5y6NNLACnMXjvvXiF+k M+5r4Zo8g8rdcP6SLlMBB+Vu8lru9cg+8qlan1PHVzqUOdjYtNWiJUGNUcNzBBVuZTsy w7qg== X-Gm-Message-State: ALyK8tJ5xdqDbEG9sHXX3C8JSuSeyqI24Qw8g4exo//1SAguA0p4Xrx4f+rw6HGJYTBYEg== X-Received: by 10.98.43.7 with SMTP id r7mr11717245pfr.65.1467207161190; Wed, 29 Jun 2016 06:32:41 -0700 (PDT) Received: from tharvey.pdc.gateworks.com (68-189-91-139.static.snlo.ca.charter.com. [68.189.91.139]) by smtp.gmail.com with ESMTPSA id da2sm6249797pad.3.2016.06.29.06.32.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Jun 2016 06:32:40 -0700 (PDT) From: Tim Harvey To: shawnguo@kernel.org Subject: [PATCH] ARM: dts: imx: ventana: add RS485 txen gpio support Date: Wed, 29 Jun 2016 06:38:24 -0700 Message-Id: <1467207504-5218-1-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160629_063301_977307_98B58A21 X-CRM114-Status: GOOD ( 10.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The GW54xx, GW53xx, and GW52xx all have an RS485 transceiver that uses an IMX GPIO for the TX enable of the transceiver. Declare this properly. Signed-off-by: Tim Harvey --- arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 3 +++ arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | 3 +++ arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 3 +++ 3 files changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi index 8bf1020..25ed57d 100644 --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi @@ -315,6 +315,8 @@ &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; + fsl,uart-has-rtscts; + rts-gpio = <&gpio7 1 GPIO_ACTIVE_HIGH>; status = "okay"; }; @@ -493,6 +495,7 @@ fsl,pins = < MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1 + MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x4001b0b1 /* TEN */ >; }; diff --git a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi index e5f4b6c..69e21b9 100644 --- a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi @@ -311,6 +311,8 @@ &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; + fsl,uart-has-rtscts; + rts-gpio = <&gpio7 1 GPIO_ACTIVE_HIGH>; status = "okay"; }; @@ -481,6 +483,7 @@ fsl,pins = < MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1 + MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x4001b0b1 /* TEN */ >; }; diff --git a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi index 5a8dbab..b602e2a 100644 --- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi @@ -414,6 +414,8 @@ &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; + fsl,uart-has-rtscts; + rts-gpio = <&gpio7 1 GPIO_ACTIVE_HIGH>; status = "okay"; }; @@ -603,6 +605,7 @@ fsl,pins = < MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1 + MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x4001b0b1 /* TEN */ >; };