Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp123092lqb; Tue, 4 Jun 2024 07:00:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVmMPGx1cqImVumqLpfBP/FCv5O67YF0d7DNo8VqlvOEW7gRYEELgmlqXfYgM4aXBzV6b+jhI2Uwsf7A5TroW7+EkpbS7AOLFeuMPQ/jg== X-Google-Smtp-Source: AGHT+IFPCm3Ufz2ekqPvJz4uLuypmh0xcMM5zz+PNj98nmZKOCeF/FvSOisFl9FcnXGMb2JnZQMn X-Received: by 2002:a17:906:600a:b0:a66:3091:42f7 with SMTP id a640c23a62f3a-a681fc5d52bmr918112466b.13.1717509629622; Tue, 04 Jun 2024 07:00:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717509629; cv=pass; d=google.com; s=arc-20160816; b=TQk0XNYQYOHOWLObqh6NqB3wkjbSFA/VkZc+C4hAzQpobi3XIkKbGnBzeTJdvDnyj3 iRUCBulZb/DJ7tZc0vkZVl1YFRVj85X06j5LNVKexTGcJx1/nfkAWPxF1W27LLDlHCPB jPuFFcy4ED2pwwvupGEax1sFHE3lm0DYt02T4qbGpu6ceb4PkwNrVSynF/LhFAhRHM3E niSbKUA+waXrDmbz4Rvq06rRjugAediD6mTV9B8+DofVxJw374JviSjPdfgL7zYnvl0y SkWKlCoOl2hG7moAiZafEg0dj8Nf47+olT5ZKWEN/UTK/LHu+6UR7s41ggt6w+j1jBVz qoPw== 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=4ICNKVo7MCS2eINXXAwpfYBKsrgFJPIS5gOBUknEPts=; b=U4bpAEDcE09Yv0DxjYdwzBIKv5PRT2wrZ4Gqhe5KXxGSNxxhX7B8DgaKaOSY69rJyJ toMDmFrmnyMEl+N7lVu8IGJHJZ6yq0ENXSThgo2DrqxZ2P9DNxHWy6I6W/6MWnPzBF1x 7bfId88btsiTL27QcU4g51TkNGEToWLKEqNxrIHWgraDSYae8bOD6yrBE9BO9hHwOEnm CmUj4mv0PjiXtejDWD2+OhJWjwZG4XUp5QVyeoyYDR9q1oAx7IFry2n/Gl9H1giEdwsD mB+ErzaMrTTjUW3+op+N1F5TsHy3Oebk5jpJGXG852Sgx/7a0Bp8Cw+yLpZRTcl1s8Vm VFQg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WeRH4UBA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200764-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a68f256107esi251499766b.683.2024.06.04.07.00.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 07:00:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WeRH4UBA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200764-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 58FA71F2199C for ; Tue, 4 Jun 2024 14:00:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D459512B145; Tue, 4 Jun 2024 13:59:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WeRH4UBA" 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 034C974297; Tue, 4 Jun 2024 13:59:55 +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=1717509596; cv=none; b=RcYKONxCUB1VNVttyz9Fv6+6rY4ZnRJX7y17fWG+qJOayNBja/8Bo8QyTeeaw6kfPx+V5KLt/fvlR6iXuemJQhrbpsmqTFgDwBXyxrM9J1pZHfivWfDKkKxFMkg4+RUv22bi97YVVEBzk5HpXRhxgEc1Kuv+ltfVtbiGuB8KrrE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717509596; c=relaxed/simple; bh=2Qw+7Rve50c6UoNrfytgIz8RzG/OQfuJ1xjLwlqspyo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=X6cqGN29AGYKVvoeVJEiLD9uXbV8geDU6NmcdLWX3Lwlf/bWMkg1mqb6WI2Mil9M5S4qiEpnjfg3zdPoo2vgjqomA9u0yGa9GJBG7f0oohw6BvZumk00xEDCuJ/rDBbDanK61IYtcggvLDf0NkTQLwCw2vKTqtaJ5P7POZbPFVo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WeRH4UBA; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A02AAC2BBFC; Tue, 4 Jun 2024 13:59:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717509595; bh=2Qw+7Rve50c6UoNrfytgIz8RzG/OQfuJ1xjLwlqspyo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WeRH4UBAp34KH9bLuOJCjmEiebZzChPZgnBRhtxkGe1K2BtDSFHntaN0fdjrck//a LQfoTbvTonNz/oyzjZErxU5vPzzzDMlBQ+7dwQYR0FDBK43OW7BjjEoq0Cs6lenjz8 zum7bSsdyk6LZQWM+oN81iUovvg4KRS3Y69Zaxouhpjh0SM9ubntBo9sqvsA3Yre7r NaPRubsW8VmWRvXv0/BIoj4LL4VAHbSYVg0ZjnrQyaaZG62UOTibh7CvySxJMMFN+m Uu/9rUUZKAbLEt2Aie9NLxmkEXUdgYn6fruLW1jhnIr0aWK0LJHyIhY5cVWiLVCajC aHHcnIbhjJ2uA== 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, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Michael Walle Subject: [PATCH 02/10] ARM: dts: imx6qdl-kontron-samx6i: fix PHY reset Date: Tue, 4 Jun 2024 15:59:26 +0200 Message-Id: <20240604135934.1951189-3-mwalle@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240604135934.1951189-1-mwalle@kernel.org> References: <20240604135934.1951189-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