From patchwork Wed Jan 30 16:18:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 10788919 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CBB32184E for ; Wed, 30 Jan 2019 16:19:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B81DA2FBFA for ; Wed, 30 Jan 2019 16:19:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC6EE2FC08; Wed, 30 Jan 2019 16:19:36 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 544692FBFA for ; Wed, 30 Jan 2019 16:19:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8eFhxurkK+tC9axecqlBDVmWWPgJS1U9ruOQ7o97CBY=; b=fPMEsuKtSOHuIZ yf2Nn2p4Ey9By/LnS1640oXPjspLfnuoFxvgSu2E4vTJaaZ+SHq78q56WN7I9i2PgwTnaSpaOYP9V YCPdgQdaRlCyxMnUMhifF2anZDiBCVqaK5lFFJsiGSLoQYpsS8MNNe02WP0p0WoVjqn47nm2hNCK7 tiQqk/q7i1H3TbhWX+AZIyF7qANCJbqicBnmZHthOTN9zR/Wp3w49xXyUuW4evo81l+dt/bOxLls1 F64VcjEsnPglq3XPjZQZ5oB5nzEL68XvV0LJW6fmCrskIBT9Otgk1zMHA/S4Z4UGREMlwe0V3qWor 0ZV3HcZwPWo8SWA4H9nQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gosaM-0001qq-DJ; Wed, 30 Jan 2019 16:19:34 +0000 Received: from guitar.tcltek.co.il ([192.115.133.116] helo=mx.tkos.co.il) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gosZe-0001IE-F9 for linux-arm-kernel@lists.infradead.org; Wed, 30 Jan 2019 16:18:54 +0000 Received: from sapphire.lan (unknown [10.0.4.3]) by mx.tkos.co.il (Postfix) with ESMTP id 17C0D4409CB; Wed, 30 Jan 2019 18:18:44 +0200 (IST) From: Baruch Siach To: Russell King , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Subject: [PATCH 2/4] ARM: dts: hummingboard2: add uart3 pinmux for board rev 1.4 Date: Wed, 30 Jan 2019 18:18:39 +0200 Message-Id: <0e2132b1acbb34449c1e823319be5d63ac71dffd.1548861664.git.baruch@tkos.co.il> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190130_081850_742230_9ED730D6 X-CRM114-Status: UNSURE ( 9.47 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Baruch Siach , Jon Nettleton , linux-arm-kernel@lists.infradead.org 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 Hummingboard2 rev 1.4 fixed Rx/Tx swap in the mikroBUS header. Add the correct pinmux configuration DT node for that board. Leave the current configuration unchanged. Signed-off-by: Baruch Siach --- arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi index 913f34ac00dc..fe95fe27e6ef 100644 --- a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi +++ b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi @@ -507,6 +507,14 @@ MX6QDL_PAD_EIM_D24__UART3_RX_DATA 0x1b0b1 >; }; + + /* In Hummingboard2 rev 1.4 Rx/Tx are not swapped */ + pinctrl_hummingboard2_rev14_uart3: hummingboard2-rev14-uart3 { + fsl,pins = < + MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1 + MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1 + >; + }; }; }; @@ -567,6 +575,7 @@ &uart3 { pinctrl-names = "default"; + /* Use &pinctrl_hummingboard2_rev14_uart3 for HB2 rev 1.4 */ pinctrl-0 = <&pinctrl_hummingboard2_uart3>; status = "okay"; };