From patchwork Fri Sep 18 11:29:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Schiffer X-Patchwork-Id: 11784737 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A509E746 for ; Fri, 18 Sep 2020 11:34:55 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 73B2A2311A for ; Fri, 18 Sep 2020 11:34:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HzDXOIUf"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="aQQS0YLl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 73B2A2311A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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=46c4cZhIChTTR+9p18x/nhBopmooF8ZcnLMDNeIIPok=; b=HzDXOIUfgvPgQzhtoKrDigzQgL ztA6vsDzrzGMR67D+Vrd/yX63BAUrIn43AY57W1zSF4lWltV+Eg7v87pKfzn40r9G9D7+4iyympPj gPcT9x/Ka2sBPs3Ki6ZTqQFVXioNDiGLYSLCKJTqZynMbpqlajIU7rbx9Hcb48Teq8VkA2d0V3Jjs bDgYB9AvuKgLwgjgLT4/4bDxK4Ubf+iJSE1xHEGmteEF3AzsRcA84ZdehSDrCZ8iMcLlyg80TSVsZ jQv5O8+2SRNFUPbFCwIKBorJTz76WHmf1tqCc1mxctBPLCD+ialzLFvSQ5q5/BUWYO/T3Iq9WBv7T ee529ZLg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJEd1-0002pX-PL; Fri, 18 Sep 2020 11:32:36 +0000 Received: from mx1.tq-group.com ([62.157.118.193]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJEbx-0002QI-Hy for linux-arm-kernel@lists.infradead.org; Fri, 18 Sep 2020 11:31:30 +0000 IronPort-SDR: G7j0W4fCsT7C3T6UaBY3zZKbSyRGh6sd3ko6ZhVFwyoeW2HAfDhYxWsVbRiyW/p6ybkIz3+K9T g9dlSmvyTmnyrRT3vC5puX21sY+wCC2YKDbAILq3xW+8ery9Bt2l+gg2ksI865eMCP+2rraB46 +rk+1g6m93PMMEL41JHQ9L1izVgDr7gHUtEi5LlUbJATCwa4fgwqErJ+PTD494B6vHJQyUHOLz AVB+w7irAB2mSP7NAFiXgIsih/4P03uSa23tzZnbkdl8xeHOKA5RXmHRGhHknLlZc3lDoCXHVM Ntw= X-IronPort-AV: E=Sophos;i="5.77,274,1596492000"; d="scan'208";a="13924494" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 18 Sep 2020 13:31:14 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Fri, 18 Sep 2020 13:31:14 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Fri, 18 Sep 2020 13:31:14 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1600428674; x=1631964674; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=FoLkcmY127+RUssziJZwJi9JWiupcp2leD+aU+pwW0Y=; b=aQQS0YLlSy7OfH1no9d5YnrKU9JeVyfZ0P7g8bnYLCuJhjsoY/uQXtPd mZ42JLEJIaapG6TX7NECyHOrJ4HpJyTZRAybWpJ9KX94vY/1n4PSrxTta 93nqQhCes5IlXShGEfsqX3AwVdEfwcYhHSpuyLT0LxLiIJWAaS+ZfX2/G 7qU6wUoUooeN2vHLBrWQ+qigY+yzKv+TDoejvejLFexpAOFn16jkq7XJN PhzPrCfGvJ9TNbQj78aucieRe67CVRHjfEShzFLDYVwwUpx9QkYX9P2PI 8nsdUf2nnnkV5s3Y57tFnVI0J4Hf7/QZFerpLxfdf4RR7ljuGwthCfKPs Q==; IronPort-SDR: sjxSsLmZQiNzfU+uIBJFif/iFo0vydvvp0Dv4vDDlh/tZUtlCB9ejoLB/ViA9UHpuvfGcqAnV4 uWYFCNVRxq1nZ9N0O7p9hdOL7ubeCODbqDrnSNW3fGqun6sqZXyn7JkS55CeNUafDVeO/PjYCc DnzOnMaWgEK1TQSHIrd8StwynIh27On1MN8n4qyla3wtmUyvB7qsTWfi/RNKSvx0O2ETiCMgHY jgHJMK63My5ZXaKilZFsyFTxDuwtuJQzojjPhFYN6DR4Mw7eDMAw0PvvLIE0EFDM3YLpJcoCT+ ET0= X-IronPort-AV: E=Sophos;i="5.77,274,1596492000"; d="scan'208";a="13924493" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Sep 2020 13:31:14 +0200 Received: from schifferm-ubuntu4.tq-net.de (schifferm-ubuntu4.tq-net.de [10.117.48.12]) by vtuxmail01.tq-net.de (Postfix) with ESMTPA id 23423280070; Fri, 18 Sep 2020 13:31:14 +0200 (CEST) From: Matthias Schiffer To: Rob Herring , Shawn Guo , Sascha Hauer Subject: [PATCH 11/13] ARM: dts: imx7-mba7: enable RS485 on UART7 Date: Fri, 18 Sep 2020 13:29:40 +0200 Message-Id: <20200918112942.1367-11-matthias.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200918112942.1367-1-matthias.schiffer@ew.tq-group.com> References: <20200918112942.1367-1-matthias.schiffer@ew.tq-group.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200918_073129_971244_5DEDDE77 X-CRM114-Status: GOOD ( 11.28 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Matthias Schiffer , linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , 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 The UART7 interface is connected to a full-duplex RS485 transceiver. Signed-off-by: Matthias Schiffer --- arch/arm/boot/dts/imx7-mba7.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/imx7-mba7.dtsi b/arch/arm/boot/dts/imx7-mba7.dtsi index f1e50bcd21a5..cd29844bc76b 100644 --- a/arch/arm/boot/dts/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/imx7-mba7.dtsi @@ -593,6 +593,9 @@ assigned-clocks = <&clks IMX7D_UART7_ROOT_SRC>; assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>; uart-has-rtscts; + linux,rs485-enabled-at-boot-time; + rs485-rts-active-low; + rs485-rx-during-tx; status = "okay"; };