ARM: dts: imx6qdl-dhcom: Identify the PHY by ethernet-phy-id0007.c0f0
authorChristoph Niedermaier <cniedermaier@dh-electronics.com>
Wed, 8 Dec 2021 15:07:26 +0000 (16:07 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 14 Dec 2021 08:29:54 +0000 (16:29 +0800)
Identify the PHY by its compatible ID value. In some cases during
boot, the PHY needs to be reset to be accessible, but this is only
possible if the PHY is recognized. In that case, the automatic
detection of the PHY does not work and a static compatible ID
value is need.

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: kernel@dh-electronics.com
To: linux-arm-kernel@lists.infradead.org
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi

index e71687061161082008d68f5b30f6bb09213f4848..b2b7daf43ede7862787c2f2e971aeca74b1ec994 100644 (file)
                #size-cells = <0>;
 
                ethphy0: ethernet-phy@0 { /* SMSC LAN8710Ai */
-                       compatible = "ethernet-phy-ieee802.3-c22";
+                       compatible = "ethernet-phy-id0007.c0f0",
+                                    "ethernet-phy-ieee802.3-c22";
                        interrupt-parent = <&gpio4>;
                        interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
                        pinctrl-0 = <&pinctrl_ethphy0>;