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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Mar 2018 09:24:38 +0000 (10:24 +0100)
commit 760b3843fcd88f2a46e66eec08e2e6023a425809 upstream.

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>
Cc: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts

index 2b6b792..e6ee744 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 {