From patchwork Thu Jun 27 23:30:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13715109 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9DD301A0B1F for ; Thu, 27 Jun 2024 23:31:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.62.61 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719531069; cv=none; b=jjxDkI7/ZarITTXyNIXQWU/vBdoLz+BDfVV+9zwBZ1iCG/EC1DXmQ2M+2SvdX4kR/yokPknUeudkiMcz7xK2UARhLPxwoB70yhSJMAOaR9yB5eq7QR5njk3zi9mjWQUNybJ7vgCLio3F4vuDsIXivpM4CltaAnBG7oub26k8r44= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719531069; c=relaxed/simple; bh=AZoGkoAdsxulyS4+UxFUqv44sLLbuy9KS1D6OsoJqPs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AelwPF4XlRxK2oChtMJAqKhj7osnYVoKnrfB7jVTj7zvfikeXzMOw/ZenCXkkjrJpEhrzQzptK0AUlpNZFcQvHDY6p8EMewLGw/8MxQNaX+DifldD4K4zICmpNy7tnAZbygu95CNDHome10dx3e8/fLY1wFhSCy5UTa/a6cNrBk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de; spf=pass smtp.mailfrom=denx.de; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b=XXz+a+a6; arc=none smtp.client-ip=85.214.62.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="XXz+a+a6" Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 099118851E; Fri, 28 Jun 2024 01:31:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1719531064; bh=4fEHdJjs1SpcSe5ouDCWC+X86QN5baJmT2JoBwn5kNM=; h=From:To:Cc:Subject:Date:From; b=XXz+a+a6WPc9a3RF+YxVadPdhfGlHM6FvYSjwE7dwwkeWH44Gr8QZBqpWnduXWGOY 1H703t6Pr/L25f90tChHfkPJaCJ1liXbXLkq40GGwMPWX2nVD7LlFItY0NfqLrhnTX Ume6PDfiwL/Fm3cEbxj80uNrA+Sl58nzSWu4chalkYeV1OL5i0EfrdL+Pe1ziWQQsN hJ8iVg40jzs1haqmY9/+xMsmIQSup4H59zIlExSMJSqrIV6vIMPBEKOLbxWezHWcK9 +3AkmxM4ZjLX3abL1XouAUiaAVW24VcZSt7RAZccvv0t7wWNyNUaEHC/p8XpqzfxAH CKyiOzn6JWNrg== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Andrew Lunn , Conor Dooley , Fabio Estevam , Krzysztof Kozlowski , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, imx@lists.linux.dev, kernel@dh-electronics.com, linux-kernel@vger.kernel.org Subject: [PATCH v2] arm64: dts: imx8mp: Update Fast ethernet PHY MDIO addresses to match DH i.MX8MP DHCOM rev.200 Date: Fri, 28 Jun 2024 01:30:09 +0200 Message-ID: <20240627233045.80551-1-marex@denx.de> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean The production DH i.MX8MP DHCOM SoM rev.200 uses updated PHY MDIO addresses for the Fast ethernet PHYs. Update the base SoM DT to cater for this change. Prototype rev.100 SoM was never publicly available and was manufactured in limited series, anything currently available is rev.200 or newer, so it is safe to update the DT this way. Signed-off-by: Marek Vasut Reviewed-by: Peng Fan Reviewed-by: Andrew Lunn --- Cc: Andrew Lunn Cc: Conor Dooley Cc: Fabio Estevam Cc: Krzysztof Kozlowski Cc: Pengutronix Kernel Team Cc: Rob Herring Cc: Sascha Hauer Cc: Shawn Guo Cc: devicetree@vger.kernel.org Cc: imx@lists.linux.dev Cc: kernel@dh-electronics.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- V2: Update the commit message, rev.100 SoM was a prototype that is not available --- arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi index 848df53c48685..4f7721a44daaa 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi @@ -110,14 +110,14 @@ mdio { #size-cells = <0>; /* Up to one of these two PHYs may be populated. */ - ethphy0f: ethernet-phy@0 { /* SMSC LAN8740Ai */ + ethphy0f: ethernet-phy@1 { /* SMSC LAN8740Ai */ compatible = "ethernet-phy-id0007.c110", "ethernet-phy-ieee802.3-c22"; interrupt-parent = <&gpio3>; interrupts = <19 IRQ_TYPE_LEVEL_LOW>; pinctrl-0 = <&pinctrl_ethphy0>; pinctrl-names = "default"; - reg = <0>; + reg = <1>; reset-assert-us = <1000>; reset-deassert-us = <1000>; reset-gpios = <&ioexp 4 GPIO_ACTIVE_LOW>; @@ -156,14 +156,14 @@ mdio { #size-cells = <0>; /* Up to one PHY may be populated. */ - ethphy1f: ethernet-phy@1 { /* SMSC LAN8740Ai */ + ethphy1f: ethernet-phy@2 { /* SMSC LAN8740Ai */ compatible = "ethernet-phy-id0007.c110", "ethernet-phy-ieee802.3-c22"; interrupt-parent = <&gpio4>; interrupts = <3 IRQ_TYPE_LEVEL_LOW>; pinctrl-0 = <&pinctrl_ethphy1>; pinctrl-names = "default"; - reg = <1>; + reg = <2>; reset-assert-us = <1000>; reset-deassert-us = <1000>; reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;