From patchwork Wed Jan 30 16:18:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 10788917 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 83A68139A for ; Wed, 30 Jan 2019 16:19:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6EDC22F62D for ; Wed, 30 Jan 2019 16:19:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 627A22F63E; Wed, 30 Jan 2019 16:19:06 +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 075BD2F62D for ; Wed, 30 Jan 2019 16:19:06 +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=1K5NLDwKJv3MwWJjT+l5fF8YnqZkIebr2QUUiD+yt0Q=; b=IAfcNQdIKCSGqk xZ+J6LImCfDaKTTNfqGDgBHYvP5+dYbulBMMQQ3ma9wPIn3ti3xj8EYU6qGuF8SSJS/meaO4uK2CG fubSXr/ldAAuKrqou+txtjUvtlTxTbCRCPxMBfyg0Ox6sa4Zw48mOB23Pkcsu+uKV6wv6ThGQUA6B B42mnI7h+DJ0ZQGIDkeUt0CASnzEHcnn/7BOfoHJ1bXlxwMfDxRJZIJjx+DYxEjymtCruDVfHTWSm ZCR4OWNe+oP+SbmDvGYT3UejOPCO8s8n18QZOA9py8ht/kQzMOZYsLpBunRO/dRag9MBLb9oTLjEi lUw0hOsw3QmTWEp7gj1g==; 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 1gosZq-0001TA-Gy; Wed, 30 Jan 2019 16:19:02 +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-0001ID-BD for linux-arm-kernel@lists.infradead.org; Wed, 30 Jan 2019 16:18:52 +0000 Received: from sapphire.lan (unknown [10.0.4.3]) by mx.tkos.co.il (Postfix) with ESMTP id CBB33440844; Wed, 30 Jan 2019 18:18:43 +0200 (IST) From: Baruch Siach To: Russell King , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Subject: [PATCH 1/4] ARM: dts: hummingboard2: fix uart3 Rx pin conf Date: Wed, 30 Jan 2019 18:18:38 +0200 Message-Id: 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_600063_0942C287 X-CRM114-Status: UNSURE ( 9.55 ) 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 SION is not needed for that pin. Set regular configuration. Signed-off-by: Baruch Siach --- arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi index c413f9c3540f..913f34ac00dc 100644 --- a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi +++ b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi @@ -504,7 +504,7 @@ pinctrl_hummingboard2_uart3: hummingboard2-uart3 { fsl,pins = < MX6QDL_PAD_EIM_D25__UART3_TX_DATA 0x1b0b1 - MX6QDL_PAD_EIM_D24__UART3_RX_DATA 0x40013000 + MX6QDL_PAD_EIM_D24__UART3_RX_DATA 0x1b0b1 >; }; }; 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"; }; From patchwork Wed Jan 30 16:18:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 10788915 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 E39AB139A for ; Wed, 30 Jan 2019 16:18:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBC782CC7E for ; Wed, 30 Jan 2019 16:18:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BAC9A2EB35; Wed, 30 Jan 2019 16:18:56 +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 D18C02F5B8 for ; Wed, 30 Jan 2019 16:18:55 +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=h7FSf6l6PjuYJYU2ueTGt3rxiEfeY72Oxb2neEKP9mY=; b=DiUYXbfLToIwSd gEDO7y/yXfX7EKMPK6srGKYk9/V/izaRS0UAinen2jmMvxeU7bVeK+csCSKQY8C+N07+HbZNClxX2 ghP9VIpdH7ruCWrhcH05yrNYGrWlyghX7Y3aPE2sgo6JmfImu3ZXZk5sjZKWnbgun9pDgyDCEjvDy KH9da/s6V007asegbF9JV6tSsP15BYrmEWAOXtAN7KbTmsGHt4BM9yWROCMuY4CroxZINDulrB36i UdpdlqIVit3gRMUTAfnyeWj15O8FIeO1Aed2OYANhi1D5tlLlKfSQoJC8eU9CxOQ0Zlbeltw2ZoE2 S4vY9PY/VFE8INxUBR6w==; 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 1gosZh-0001Ja-R5; Wed, 30 Jan 2019 16:18:53 +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-0001IF-Dk for linux-arm-kernel@lists.infradead.org; Wed, 30 Jan 2019 16:18:52 +0000 Received: from sapphire.lan (unknown [10.0.4.3]) by mx.tkos.co.il (Postfix) with ESMTP id 58277440AB7; 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 3/4] ARM: dts: hummingboard2: describe optional rs485 Date: Wed, 30 Jan 2019 18:18:40 +0200 Message-Id: <926d03329f04ff0c7c8d58e29c6d673a3d95fae9.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_689770_AF65F721 X-CRM114-Status: UNSURE ( 9.94 ) 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 A Hummingboard assembly option provides RS-485 transceiver on UART2 (/dev/ttymxc1). Add DT node for that. Keep it disabled, since RS-485 is not assembled by default. Signed-off-by: Baruch Siach --- arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi index fe95fe27e6ef..c5b5c6d3306f 100644 --- a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi +++ b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi @@ -501,6 +501,14 @@ >; }; + pinctrl_hummingboard2_uart2: hummingboard2-uart2 { + fsl,pins = < + MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1 + MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1 + MX6QDL_PAD_SD4_DAT6__UART2_CTS_B 0x1b0b1 + >; + }; + pinctrl_hummingboard2_uart3: hummingboard2-uart3 { fsl,pins = < MX6QDL_PAD_EIM_D25__UART3_TX_DATA 0x1b0b1 @@ -573,6 +581,14 @@ status = "okay"; }; +/* Optional RS-485 transceiver */ +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hummingboard2_uart2>; + uart-has-rtscts; + status = "disabled"; +}; + &uart3 { pinctrl-names = "default"; /* Use &pinctrl_hummingboard2_rev14_uart3 for HB2 rev 1.4 */ From patchwork Wed Jan 30 16:18:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 10788923 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 C28BD17E9 for ; Wed, 30 Jan 2019 16:20:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B047A2FD08 for ; Wed, 30 Jan 2019 16:20:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A4AF22FD0D; Wed, 30 Jan 2019 16:20:24 +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 5B0A02FD08 for ; Wed, 30 Jan 2019 16:20:24 +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=fjX2FvUcK7rfVsrM+o+EbhGP9Il7YCsvhYKhKw6jWTc=; b=o233dgCJdo8DWN Z3WRwxUJwEPVPTwjtfrgMhSmiCPhIFPB5uHO4AhUhAwwK9NbhtLSn+h8UKyW5C2kjylfXy2enyOGu dm8j0+KzXkM9W7GVL688e2sE2N4Iu75wfhq29sE4q5TJINwrGieAR+PN1Wv9xrrJqDIoVL4c/ByL9 jMrCFCzaH22TG75zeyxrj81BMZNRjFpHaTtJTdJLk3RRj/c7KRECBYtddFjlwdE5f8SqyE59HHZgJ 6T1QwnKPyQdHmSYjOiiB6JeyQ6phJL541N9R2H8EDP9C7fPu4JOdwiaz4Z95BI7mMORIQOstcs8lX B7vpXHzmpDeSf+mBzl+g==; 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 1gosb8-0003V3-ER; Wed, 30 Jan 2019 16:20:22 +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-0001IC-EJ 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 98D8B440AC2; 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 4/4] ARM: dts: hummingboard2: describe optional can bus Date: Wed, 30 Jan 2019 18:18:41 +0200 Message-Id: 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_713399_EFC108A3 X-CRM114-Status: UNSURE ( 9.13 ) 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 A Hummingboard assembly option provides CAN bus connector for the i.MX6 provided FlexCAN peripheral. Keep disabled by default. Note the conflict with HDMI pin mux. Signed-off-by: Baruch Siach --- arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi index c5b5c6d3306f..2008be6fbee4 100644 --- a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi +++ b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi @@ -206,6 +206,7 @@ status = "okay"; }; +/* Conflicts with the CAN bus option */ &hdmi { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_hummingboard2_hdmi>; @@ -523,6 +524,13 @@ MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1 >; }; + + pinctrl_hummingboard2_flexcan1: hummingboard2-flexcan1 { + fsl,pins = < + MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b1 + MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b0b1 + >; + }; }; }; @@ -596,6 +604,13 @@ status = "okay"; }; +/* Optional CAN bus. Conflicts with HDMI CEC. */ +&can1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hummingboard2_flexcan1>; + status = "disabled"; +}; + &vcc_3v3 { vin-supply = <&v_3v2>; };