devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: imx8mp: Update Fast ethernet PHY MDIO addresses to match DH i.MX8MP DHCOM rev.200
@ 2024-06-27 23:30 Marek Vasut
  2024-06-28  1:01 ` Peng Fan
  2024-07-01  9:21 ` Shawn Guo
  0 siblings, 2 replies; 4+ messages in thread
From: Marek Vasut @ 2024-06-27 23:30 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Marek Vasut, Andrew Lunn, Conor Dooley, Fabio Estevam,
	Krzysztof Kozlowski, Pengutronix Kernel Team, Rob Herring,
	Sascha Hauer, Shawn Guo, devicetree, imx, kernel, linux-kernel

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 <marex@denx.de>
---
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: Rob Herring <robh@kernel.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Shawn Guo <shawnguo@kernel.org>
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>;
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: [PATCH v2] arm64: dts: imx8mp: Update Fast ethernet PHY MDIO addresses to match DH i.MX8MP DHCOM rev.200
  2024-06-27 23:30 [PATCH v2] arm64: dts: imx8mp: Update Fast ethernet PHY MDIO addresses to match DH i.MX8MP DHCOM rev.200 Marek Vasut
@ 2024-06-28  1:01 ` Peng Fan
  2024-06-28 14:09   ` Andrew Lunn
  2024-07-01  9:21 ` Shawn Guo
  1 sibling, 1 reply; 4+ messages in thread
From: Peng Fan @ 2024-06-28  1:01 UTC (permalink / raw)
  To: Marek Vasut, linux-arm-kernel@lists.infradead.org
  Cc: 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
> 
> 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 <marex@denx.de>
> ---

Reviewed-by: Peng Fan <peng.fan@nxp.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] arm64: dts: imx8mp: Update Fast ethernet PHY MDIO addresses to match DH i.MX8MP DHCOM rev.200
  2024-06-28  1:01 ` Peng Fan
@ 2024-06-28 14:09   ` Andrew Lunn
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Lunn @ 2024-06-28 14:09 UTC (permalink / raw)
  To: Peng Fan
  Cc: Marek Vasut, linux-arm-kernel@lists.infradead.org, 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

On Fri, Jun 28, 2024 at 01:01:49AM +0000, Peng Fan wrote:
> > Subject: [PATCH v2] arm64: dts: imx8mp: Update Fast ethernet PHY
> > MDIO addresses to match DH i.MX8MP DHCOM rev.200
> > 
> > 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 <marex@denx.de>
> > ---
> 
> Reviewed-by: Peng Fan <peng.fan@nxp.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] arm64: dts: imx8mp: Update Fast ethernet PHY MDIO addresses to match DH i.MX8MP DHCOM rev.200
  2024-06-27 23:30 [PATCH v2] arm64: dts: imx8mp: Update Fast ethernet PHY MDIO addresses to match DH i.MX8MP DHCOM rev.200 Marek Vasut
  2024-06-28  1:01 ` Peng Fan
@ 2024-07-01  9:21 ` Shawn Guo
  1 sibling, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2024-07-01  9:21 UTC (permalink / raw)
  To: Marek Vasut
  Cc: linux-arm-kernel, Andrew Lunn, Conor Dooley, Fabio Estevam,
	Krzysztof Kozlowski, Pengutronix Kernel Team, Rob Herring,
	Sascha Hauer, Shawn Guo, devicetree, imx, kernel, linux-kernel

On Fri, Jun 28, 2024 at 01:30:09AM +0200, Marek Vasut wrote:
> 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 <marex@denx.de>

Applied, thanks!


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-01  9:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-27 23:30 [PATCH v2] arm64: dts: imx8mp: Update Fast ethernet PHY MDIO addresses to match DH i.MX8MP DHCOM rev.200 Marek Vasut
2024-06-28  1:01 ` Peng Fan
2024-06-28 14:09   ` Andrew Lunn
2024-07-01  9:21 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).