Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp242761lqt; Thu, 6 Jun 2024 02:08:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX1F8lZkWNZuWXtQuf0XFNXlRGnxTBECZDTZPOm0AO1GDdEVqfQuZdXX3vYCh6eO6jhbuinri8EBfpkuoJir09B1ULilBoqr6ywbfi7iQ== X-Google-Smtp-Source: AGHT+IE/d06BjXrygmsN/dovqs8KDhrCBXDzc63TFPOnY6a4Kbqwffswi5QSwLr7dtaexF0QlddI X-Received: by 2002:a25:cecd:0:b0:deb:c07d:7f5d with SMTP id 3f1490d57ef6-dfaca98cd21mr5281980276.11.1717664929765; Thu, 06 Jun 2024 02:08:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717664929; cv=pass; d=google.com; s=arc-20160816; b=WYdBhSm+LiMSFFaeSz6TxW40eifNqsi4O1wQuUMAYN8+ScHlC9y9g6SKMierqZnm5F c6lJlKJBs+9T6wKEH2bjozle/nKvZKKxE14Tt7cNcKm03tsaF458mzGIXC+1oaJ3+yon 9XeBeUBizQOpMrzzBRVpgwewZSmCVhyihl2arnO6plFAUOiDi09d0Jxv34meH5niBnwK GOLLiByMDkWOq6aPYruoSD4XSkhnSDRF7ZGBdz5y7VOTn1y9lHfani2+mJRMsW4k398h WL+z7r1n6FwlWLrqgFEXoxFnn5ATgEEcCo8gjRjQSOxQKo7kCf8QFtrbr5YfXU+ZZ6fz g0Mg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=9RQSHhiPr5P5gr0BCPxUZ9s6tE/N/ZAdq52SswK/jus=; fh=1NYPRM3qy5MjpJdGnc8yJc3m7Ib9JFJqLhulqQTJHnI=; b=DuLmc5e2PbZBLYeCWd5I+Y1/mRD1UKrEv184l7BTR5BR3OrQ6HIT4VFN7BcM6fvhOx yXsK7RMWj267UJecBxN+3wWlSiVsa7+rSh120Z7pCaY8+63rZHHHMJgjlEr33VXeizVv rDnweGAZBJBZpWvpi6G3Fu32qfiIhdydp8hQW8LTwXHtB/tDSertYkBBeb2blEzyedwp 9MOhTO2op7oTndhTdXJOzRnh9OnHW3PedQemAYTys0ihPfINkQDuRx02WprE/yauZ+dj ICriGjjBjPoHQk6hzXaDZ5Uduk16to+W0GBeY/aYgm4dlNXRbDg7JCPUl3a6I+vbBh8V 4kIQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S2d+6eBj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203931-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203931-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6b04f632125si10797306d6.106.2024.06.06.02.08.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 02:08:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203931-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S2d+6eBj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203931-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203931-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6B0A91C241B4 for ; Thu, 6 Jun 2024 09:07:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD63C1552EF; Thu, 6 Jun 2024 09:02:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="S2d+6eBj" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D3908154C15; Thu, 6 Jun 2024 09:02:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717664546; cv=none; b=A0ZuJV9UWZ2eZZo/GowvUUVBlk/czwYRZTjz0gC2KWAgBNXHzVrTGC4UsFBt5059KeQuTs9KahyWUcufkse2PHrEZiWTdEeoeV9Xmi0+FPGyhv+9HSvwu4Y4ZJREH/jeNuzJZufNUoyiPaB23D1myAZmVWWtYC2eGu9TbIuxGlE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717664546; c=relaxed/simple; bh=2Qw+7Rve50c6UoNrfytgIz8RzG/OQfuJ1xjLwlqspyo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=DGcWLeysvGCBH8+9WnZzIIgo3tMVVjVGCLHYp9UAxWXGI9wNLe01Ax00/Egs+2Jp+nzhJNQgduRd6oMzV0Ak91HUDFhNMTsF4VQFbC15eKVQ7ZME1uXQv9ZIg6Gi5QK18nHWmMyxLFUhAr3Y2Aslohq8M2NLWbhJ+RzM/Sv//I4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=S2d+6eBj; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64E1AC4AF07; Thu, 6 Jun 2024 09:02:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717664546; bh=2Qw+7Rve50c6UoNrfytgIz8RzG/OQfuJ1xjLwlqspyo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S2d+6eBjZ5kP68dFSj0TZzIf77aFWFvjtoO4cL7KOZjFtNAa8JqtPRCvHkvK4iZnE vvx2fZriKpWQIVmjfo8nTCZ8rGtkvcOodMqnpuOe3JVTwtW3LXMGaQN50RjKg+7QFW 0ABben+eHgityInCqu19O+/vV19lW5kqNXt7Pfm1fr9rhkaaCOJqzxh9lvB0/HAy1q rHj7PZe1Wfjo+brqxERA5hVzduUe+niEyIt8EBer0jdhkmxlapUlYWGIT5Q27Dcl64 C1j7Pdv6bMcD2Grt14K70TuNakWIk7Pre9VnvxqOGq1YsdbhOKDFiVqjOkv1Fohser WDZn/ZHBD6W7A== From: Michael Walle To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Li Yang Cc: Pengutronix Kernel Team , Fabio Estevam , Priit Laes , Michael Grzeschik , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marco Felsch , imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Michael Walle Subject: [PATCH v2 02/13] ARM: dts: imx6qdl-kontron-samx6i: fix PHY reset Date: Thu, 6 Jun 2024 11:01:55 +0200 Message-Id: <20240606090206.2021237-3-mwalle@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240606090206.2021237-1-mwalle@kernel.org> References: <20240606090206.2021237-1-mwalle@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The PHY reset line is connected to both the SoC (GPIO1_25) and the CPLD. We must not use the GPIO1_25 as it will drive against the output buffer of the CPLD. Instead there is another GPIO (GPIO2_01), an input to the CPLD, which will tell the CPLD to assert the PHY reset line. Fixes: 2a51f9dae13d ("ARM: dts: imx6qdl-kontron-samx6i: Add iMX6-based Kontron SMARC-sAMX6i module") Fixes: 5694eed98cca ("ARM: dts: imx6qdl-kontron-samx6i: move phy reset into phy-node") Signed-off-by: Michael Walle --- arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi index d8c1dfb8c9ab..d6c049b9a9c6 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi @@ -269,7 +269,7 @@ mdio { ethphy: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <1>; - reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; + reset-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; reset-assert-us = <1000>; }; }; @@ -516,7 +516,7 @@ MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0 - MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b0b0 /* RST_GBE0_PHY# */ + MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0 /* RST_GBE0_PHY# */ >; }; -- 2.39.2