Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3347198pxb; Wed, 13 Oct 2021 04:15:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1PLGkbAZHRWzBXCUSaOZhWimSgoLQORp9Uld7x7ioim1298bRR6TCN6lPNvSryGYIkrU1 X-Received: by 2002:a05:6a00:1407:b0:44c:d2cc:916e with SMTP id l7-20020a056a00140700b0044cd2cc916emr32427099pfu.64.1634123720008; Wed, 13 Oct 2021 04:15:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634123720; cv=none; d=google.com; s=arc-20160816; b=R/lcqm604u8cgyZNgem+/Z1BMKQELrqXrCvcyNAvL4oT/RSFOywx8vnDmsAk28gpwP E/+WNGfh2PiKfqWMkbSS4DaqoPTUhH30b5dtmhxojj7d0hiNlRJheF8uHhUutgGTsG4u dLi09peVsLPNkUh6yw2kPgjeX90oy7U3nNLwHVUTg5RcuaX0k7J3XG42/Liyp5THgXF4 xMV6fKn6j99TliIKPGBiR3WS431AAUhJUuUQ1W/djQg0xZe/AevxMRkp05G2QpVRfpDs 30xeJPhwvNIBF0Y2NyQEZUKddtzQ6oqhzfbFQj2Ol7FEezzTbTm34o6XSGYPBDpOtAs2 gz3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature:dkim-signature; bh=MMVC8Cj/r5CWKskBUeOs3cYU/+tk7nMQILUJfgpN5dw=; b=zZf10JIUUJfDMhp3nfqgvsdVRKbYReSNeP2l2BeF5/LAr+YE1cFEv8Byg6C8Ao2+w7 dBqtMekuBh122fx3MPuNR6Ya2bG1SBKol/UrmjXJC4nVB5TTkhjbzJH9InAJ3epgE63Q RFIdlU6Nm5kMK2vcmI/99z01py33Cx3M9rCRo1Aedq0Le79jdjfioiBJZKTP6MWHUE8i 6ab+huHMlCvHJoNGz6tEPfFqJhik5vbHj0WF9/r96NGwGN/sMNpkf0P6J2DD1kYamjBV IJE0sV8jXJOE/lzplsxCz6HWzNc/v+zDbrCZcv2m40PbOE3cxje8EgU3JzCJL9KYzv8y WrMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=cmTIOeZY; dkim=pass header.i=@tq-group.com header.s=key1 header.b=FQShdrDX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si20775810plr.41.2021.10.13.04.15.06; Wed, 13 Oct 2021 04:15:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=cmTIOeZY; dkim=pass header.i=@tq-group.com header.s=key1 header.b=FQShdrDX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231294AbhJMLPb (ORCPT + 99 others); Wed, 13 Oct 2021 07:15:31 -0400 Received: from mx1.tq-group.com ([93.104.207.81]:61892 "EHLO mx1.tq-group.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230054AbhJMLP3 (ORCPT ); Wed, 13 Oct 2021 07:15:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1634123606; x=1665659606; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=MMVC8Cj/r5CWKskBUeOs3cYU/+tk7nMQILUJfgpN5dw=; b=cmTIOeZYSrC7pkf6vKATsVmRPfqr+6vSAhBg81A8YBX0ENu/tykR9cgb OOXmMMUtbjOh0zBT/VBKkDCMkqgCO18GQWnV+PuoUXnn9Olw2XDrVILsj 3FiOrQ+61NfNkSlzz/JI4BCGe6mrG81oGTxfewtKb/+Xw7g99yT65v0sj NOZeE2TJuIdN/rIwhdniyblz9hS6fCf42h7aQqajeFmfLFUFQcjygHnle HDVWTi39D5iyIAmqnnjmssNdCliiwPJxmItEQ9+DWVRbg5l9aGW7oymkV cWz+gHeKzKRfAl9axlDLxALOf71+IbE+rg8zN6JoFyKKgQFCIhwx+JzET w==; X-IronPort-AV: E=Sophos;i="5.85,370,1624312800"; d="scan'208";a="20020842" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 13 Oct 2021 13:13:25 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Wed, 13 Oct 2021 13:13:25 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Wed, 13 Oct 2021 13:13:25 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1634123605; x=1665659605; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=MMVC8Cj/r5CWKskBUeOs3cYU/+tk7nMQILUJfgpN5dw=; b=FQShdrDXyqWNWqsBq6C2fyyU42LoHylnMpB5layNRCS1rrO/viB4XSbY Mv5T/tFv1u3zMYjpkhElS7bBsUzpsFaKyZigyMgV2Arp54PwKAiBvELXJ rTS/P3czj26GVbii0nKNR+xlzJyz39IpTrIS971zJqop6Yn9jPuZKxOAt KqlMVMUCufmGRKraTPApxx/m4QKPO5Z6rU/Ilb3upMovg8I7jCT7m1cTS +eGGb/HK3qVzbne1xUc893E3M3W9gEguWFK7mu3QhP+MkweNspD3as/9Z aQkB+yuR4d1emY4IQVLloz+pCnF5xS2VviOg6YlgXsZCgWu0wEdgvt8Sf g==; X-IronPort-AV: E=Sophos;i="5.85,370,1624312800"; d="scan'208";a="20020841" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 13 Oct 2021 13:13:24 +0200 Received: from schifferm-ubuntu4.tq-net.de (schifferm-ubuntu4.tq-net.de [10.121.48.12]) by vtuxmail01.tq-net.de (Postfix) with ESMTPA id C42A5280075; Wed, 13 Oct 2021 13:13:24 +0200 (CEST) From: Matthias Schiffer To: Rob Herring , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Matthias Schiffer , Markus Niebel Subject: [PATCH 2/3] ARM: dts: imx6qdl: tqma6: add ERR006687 hardware workaround for "a" variant Date: Wed, 13 Oct 2021 13:12:01 +0200 Message-Id: <20211013111202.6231-2-matthias.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211013111202.6231-1-matthias.schiffer@ew.tq-group.com> References: <20211013111202.6231-1-matthias.schiffer@ew.tq-group.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The TQMa6x "a" has a workaround for ERR006687 implemented in hardware. Add the required pinmuxing and related setup to make use of this. As board DTS files based on the TQMa6x SoMs will define their own pinmuxing for the FEC ethernet controller as well, we can't apply this pin group unconditionally; instead, it is the responsibility of the board DTs derived from imx6qdl-tqma6a.dtsi to include this group. Signed-off-by: Matthias Schiffer --- arch/arm/boot/dts/imx6qdl-tqma6a.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-tqma6a.dtsi b/arch/arm/boot/dts/imx6qdl-tqma6a.dtsi index b679bec78e6c..bfb67da64b96 100644 --- a/arch/arm/boot/dts/imx6qdl-tqma6a.dtsi +++ b/arch/arm/boot/dts/imx6qdl-tqma6a.dtsi @@ -4,6 +4,12 @@ * Copyright 2013-2017 Markus Niebel */ +&fec { + interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>, + <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>; + fsl,err006687-workaround-present; +}; + &i2c1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c1>; @@ -26,3 +32,17 @@ pagesize = <32>; }; }; + +&iomuxc { + /* + * This pinmuxing is required for the ERR006687 workaround. Board + * DTS files that enable the FEC controller with + * fsl,err006687-workaround-present must include this group. + */ + pinctrl_enet_fix: enetfixgrp { + fsl,pins = < + /* ENET ping patch */ + MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1 + >; + }; +}; -- 2.17.1