arm64: dts: marvell: mcbin: add comphy references to Ethernet ports
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Thu, 21 Sep 2017 07:54:07 +0000 (09:54 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 22 Sep 2017 12:03:00 +0000 (14:03 +0200)
This patch adds comphy phandles to the Ethernet ports in the mcbin
device tree. The comphy is used to configure the serdes PHYs used by
these ports.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts

index e7a7cbe..a59a35c 100644 (file)
 
 &cpm_eth0 {
        status = "okay";
+       /* Network PHY */
        phy = <&phy0>;
        phy-mode = "10gbase-kr";
+       /* Generic PHY, providing serdes lanes */
+       phys = <&cpm_comphy4 0>;
 };
 
 &cpm_sata0 {
 
 &cps_eth0 {
        status = "okay";
+       /* Network PHY */
        phy = <&phy8>;
        phy-mode = "10gbase-kr";
+       /* Generic PHY, providing serdes lanes */
+       phys = <&cps_comphy4 0>;
 };
 
 &cps_eth1 {
        /* CPS Lane 0 - J5 (Gigabit RJ45) */
        status = "okay";
+       /* Network PHY */
        phy = <&ge_phy>;
        phy-mode = "sgmii";
+       /* Generic PHY, providing serdes lanes */
+       phys = <&cps_comphy0 1>;
 };
 
 &cps_pinctrl {