arm64: dts: imx8mp: Adjust EQoS PHY address on i.MX8MP DHCOM
authorMarek Vasut <marex@denx.de>
Fri, 17 Feb 2023 19:26:45 +0000 (20:26 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 14 Mar 2023 01:52:03 +0000 (09:52 +0800)
The current variant of the SoM has LAN8740Ai PHY connected to EQoS
strapped to MDIO address 0 , adjust the MDIO address to match the
hardware.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi

index 1471a17045f7a1bae93e420b364824b44e420e9f..d34020e83bbde4cbb32ad48719a099856bd0633c 100644 (file)
                #size-cells = <0>;
 
                /* Up to one of these two PHYs may be populated. */
-               ethphy0f: ethernet-phy@1 { /* SMSC LAN8740Ai */
+               ethphy0f: ethernet-phy@0 { /* 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 = <1>;
+                       reg = <0>;
                        reset-assert-us = <1000>;
                        reset-deassert-us = <1000>;
                        reset-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;