]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
MIPS: mobileye: eyeq5-epm: add two Cadence GEM Ethernet PHYs
authorThéo Lebrun <theo.lebrun@bootlin.com>
Wed, 25 Feb 2026 16:55:24 +0000 (17:55 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 6 Apr 2026 12:04:28 +0000 (14:04 +0200)
The Mobileye EyeQ5 eval board (EPM) embeds two MDIO PHYs.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/mobileye/eyeq5-epm5.dts

index 9fc1a1b0a81bec5ec52db17231104c86020d7e3b..babf52731ea6ab309ce6f50fd8ce3f1b334fd463 100644 (file)
                label = "U60";
        };
 };
+
+&macb0 {
+       phy-mode = "sgmii";
+       phy-handle = <&macb0_phy>;
+
+       mdio {
+               #address-cells = <1>;
+               #size-cells = <0>;
+               macb0_phy: ethernet-phy@e {
+                       reg = <0xe>;
+               };
+       };
+};
+
+&macb1 {
+       phy-mode = "rgmii-id";
+       phy-handle = <&macb1_phy>;
+
+       mdio {
+               #address-cells = <1>;
+               #size-cells = <0>;
+               macb1_phy: ethernet-phy@e {
+                       reg = <0xe>;
+               };
+       };
+};