]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: imx8mp: Fix LAN8740Ai PHY reference clock on DH electronics i.MX8M Plus...
authorMarek Vasut <marek.vasut@mailbox.org>
Tue, 2 Dec 2025 13:41:51 +0000 (14:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2026 15:31:21 +0000 (16:31 +0100)
[ Upstream commit c63749a7ddc59ac6ec0b05abfa0a21af9f2c1d38 ]

Add missing 'clocks' property to LAN8740Ai PHY node, to allow the PHY driver
to manage LAN8740Ai CLKIN reference clock supply. This fixes sporadic link
bouncing caused by interruptions on the PHY reference clock, by letting the
PHY driver manage the reference clock and assure there are no interruptions.

This follows the matching PHY driver recommendation described in commit
bedd8d78aba3 ("net: phy: smsc: LAN8710/20: add phy refclk in support")

Fixes: 8d6712695bc8 ("arm64: dts: imx8mp: Add support for DH electronics i.MX8M Plus DHCOM and PDK2")
Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
Tested-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi

index 6835f28c1e3c51c3e28af499621685024009876b..1141b26d6b6f99ba6d602cfa7696f550fe6d9da1 100644 (file)
                ethphy0f: ethernet-phy@1 { /* SMSC LAN8740Ai */
                        compatible = "ethernet-phy-id0007.c110",
                                     "ethernet-phy-ieee802.3-c22";
+                       clocks = <&clk IMX8MP_CLK_ENET_QOS>;
                        interrupt-parent = <&gpio3>;
                        interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
                        pinctrl-0 = <&pinctrl_ethphy0>;