Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7306815rwd; Tue, 6 Jun 2023 08:57:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7uR1ZmXtYMGmy/uGxfa271Tyekt7xdmLsmk155sJF5efP/wyA/0EtAoJUvc/vWzQjg6zaO X-Received: by 2002:a17:90a:fc8e:b0:256:bef3:4158 with SMTP id ci14-20020a17090afc8e00b00256bef34158mr2572504pjb.21.1686067046598; Tue, 06 Jun 2023 08:57:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686067046; cv=none; d=google.com; s=arc-20160816; b=qUs3OAQoDMNkm36hZqbqC+ZRiOE9AIe4Xdgq4CY+zFWslHoAJHBEXmWz80ftDjWN6z Oj8BrxIHgh2qmhZV7lqi2N9zU3pqt7XG5hD5XWFRdPKCnMG38a3xkUpLjXjOXYrDdtvS i9HpRvDquZPG8kHIeVLosDu3ywaOQC5ssxsZFkPcnQ8T2jNDR50iHQoACyO/2YDBiDig bCvL8LTILnxQ0NfUkwqNoywqc494143GWYIlvdwr8AmOH3n47OwttgBT15RuNAVi6trl Sj4uVKornEvBF9c4ZJKnclALpLNSC97XHnoNzwthUCIJQM3yvt4TOplZYK401dODcy4f vI2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=HvJwgvfJjfP7DIuZ3q56/mLCO/ekqXgKhjQ23aycuhA=; b=l5lhx/YW1MkQxY2zxhSo9PCvEtXqGl9fA2M1QSXOq3d0urEvvPmOC30jUZyN22T3MW MYCTMKnenheIHsgdszyikRz3dQRzDiorFH75VmtpvG+hyoDOYi8oteL+6x+8uPtnUK5o fvCQfD0YSKNSDJ6TCpVbVbsFgDVfE2mR5DK8mVI3NviXwQHnMwdX+kIck/N+4Pl7cGyP Oyzw24oFG6OYafRU1pXJBhIxiOkdfphGG38TP9UOFNNtpngpFLGL9OdmQxVSIKC81vYm LjyC/39d/cgObDqa/k+wc5UO/y2ds10SA9zOW6dcxwjiJLnb2x7GzFbFRDEYOYLkQfNF ufsw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qi2-20020a17090b274200b00256a6aab74esi9231612pjb.111.2023.06.06.08.57.14; Tue, 06 Jun 2023 08:57:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237471AbjFFPie (ORCPT + 99 others); Tue, 6 Jun 2023 11:38:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231700AbjFFPic (ORCPT ); Tue, 6 Jun 2023 11:38:32 -0400 Received: from finn.localdomain (finn.gateworks.com [108.161.129.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA089139; Tue, 6 Jun 2023 08:38:30 -0700 (PDT) Received: from 068-189-091-139.biz.spectrum.com ([68.189.91.139] helo=tharvey.pdc.gateworks.com) by finn.localdomain with esmtp (Exim 4.93) (envelope-from ) id 1q6YlJ-0067oT-EH; Tue, 06 Jun 2023 15:38:21 +0000 From: Tim Harvey To: linux-arm-kernel@lists.infradead.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Tim Harvey Subject: [PATCH] arm64: dts: imx8mm-venice-gw7904: enable UART1 hardware flow control Date: Tue, 6 Jun 2023 08:38:19 -0700 Message-Id: <20230606153819.1449257-1-tharvey@gateworks.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On the GW7904 uart1 can use UART3_TX/RX for hardware flow control which was the desired default configuration. Remove uart3 and configure uart1 for hardware flow control. Signed-off-by: Tim Harvey --- .../dts/freescale/imx8mm-venice-gw7904.dts | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7904.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7904.dts index 93088fa1c3b9..c12e3f4f800f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7904.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7904.dts @@ -636,6 +636,8 @@ &pgc_mipi { &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; + cts-gpios = <&gpio5 26 GPIO_ACTIVE_LOW>; + rts-gpios = <&gpio5 27 GPIO_ACTIVE_LOW>; status = "okay"; }; @@ -646,13 +648,6 @@ &uart2 { status = "okay"; }; -/* off-board RS232 */ -&uart3 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_uart3>; - status = "okay"; -}; - &usbotg1 { dr_mode = "host"; disable-over-current; @@ -814,6 +809,8 @@ pinctrl_uart1: uart1grp { fsl,pins = < MX8MM_IOMUXC_UART1_RXD_UART1_DCE_RX 0x140 MX8MM_IOMUXC_UART1_TXD_UART1_DCE_TX 0x140 + MX8MM_IOMUXC_UART3_RXD_GPIO5_IO26 0x140 /* CTS# in */ + MX8MM_IOMUXC_UART3_TXD_GPIO5_IO27 0x140 /* RTS# out */ >; }; @@ -824,13 +821,6 @@ MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX 0x140 >; }; - pinctrl_uart3: uart3grp { - fsl,pins = < - MX8MM_IOMUXC_UART3_RXD_UART3_DCE_RX 0x140 - MX8MM_IOMUXC_UART3_TXD_UART3_DCE_TX 0x140 - >; - }; - pinctrl_usdhc2: usdhc2grp { fsl,pins = < MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x190 -- 2.25.1