]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: marvell: cn9131-cf-solidwan: fix cp1 comphy links
authorJosua Mayer <josua@solid-run.com>
Tue, 19 Nov 2024 17:33:08 +0000 (18:33 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Wed, 8 Jan 2025 08:17:48 +0000 (09:17 +0100)
Marvell CN913x platforms use common phy framework for configuring and
linking serdes lanes according to their usage.
Each CP (X) features 5 serdes lanes (Y) represented by cpX_comphyY
nodes.

CN9131 SolidWAN uses CP1 serdes lanes 3 and 5 for eth1 and eth2 of CP1
respectively. Devicetree however wrongly links from these ports to the
comphy of CP0.

Replace the wrong links to cp0_comphy with cp1_comphy inside cp1_eth1,
cp1_eth2.

Fixes: 1280840d2030 ("arm64: dts: add description for solidrun cn9131 solidwan board")
Signed-off-by: Josua Mayer <josua@solid-run.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/cn9131-cf-solidwan.dts

index b1ea7dcaed17dc0205d1ae91d4178dd1f8313a5b..47234d0858dd2195bb1485f25768ad3c757b7ac2 100644 (file)
        managed = "in-band-status";
        phy-mode = "sgmii";
        phy = <&cp1_phy0>;
-       phys = <&cp0_comphy3 1>;
+       phys = <&cp1_comphy3 1>;
        status = "okay";
 };
 
        managed = "in-band-status";
        phy-mode = "sgmii";
        phy = <&cp1_phy1>;
-       phys = <&cp0_comphy5 2>;
+       phys = <&cp1_comphy5 2>;
        status = "okay";
 };