ARM: dts: imx6ul-pico: Describe the Ethernet PHY clock
authorFabio Estevam <festevam@denx.de>
Sun, 5 Nov 2023 13:32:19 +0000 (10:32 -0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 5 Dec 2023 12:29:11 +0000 (20:29 +0800)
Since commit c7e73b5051d6 ("ARM: imx: mach-imx6ul: remove 14x14 EVK
specific PHY fixup")thet Ethernet PHY is no longer configured via code
in board file.

This caused Ethernet to stop working.

Fix this problem by describing the clocks and clock-names to the
Ethernet PHY node so that the KSZ8081 chip can be clocked correctly.

Fixes: c7e73b5051d6 ("ARM: imx: mach-imx6ul: remove 14x14 EVK specific PHY fixup")
Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx6ul-pico.dtsi

index 4ffe99ed55ca2c000efd480ee54a914cb9c2b14b..07dcecbe485dca41b66f3deef932f750d31f5544 100644 (file)
                        max-speed = <100>;
                        interrupt-parent = <&gpio5>;
                        interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
+                       clocks = <&clks IMX6UL_CLK_ENET_REF>;
+                       clock-names = "rmii-ref";
                };
        };
 };