]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: ti: k3-am642-phyboard-electra: Fix PRU-ICSSG Ethernet ports
authorWadim Egorov <w.egorov@phytec.de>
Wed, 21 May 2025 05:33:39 +0000 (07:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Aug 2025 10:13:34 +0000 (12:13 +0200)
[ Upstream commit 945e48a39c957924bc84d1a6c137da039e13855b ]

For the ICSSG PHYs to operate correctly, a 25 MHz reference clock must
be supplied on CLKOUT0. Previously, our bootloader configured this
clock, which is why the PRU Ethernet ports appeared to work, but the
change never made it into the device tree.

Add clock properties to make EXT_REFCLK1.CLKOUT0 output a 25MHz clock.

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Fixes: 87adfd1ab03a ("arm64: dts: ti: am642-phyboard-electra: Add PRU-ICSSG nodes")
Link: https://lore.kernel.org/r/20250521053339.1751844-1-w.egorov@phytec.de
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts

index 60285d736e07a38e8458399ffe20a4981200522b..78df1b43a633d6579925c5429aca9eb9c949e455 100644 (file)
 &icssg0_mdio {
        pinctrl-names = "default";
        pinctrl-0 = <&icssg0_mdio_pins_default &clkout0_pins_default>;
+       assigned-clocks = <&k3_clks 157 123>;
+       assigned-clock-parents = <&k3_clks 157 125>;
        status = "okay";
 
        icssg0_phy1: ethernet-phy@1 {