arm64: dts: marvell: 8040-mcbin: Enable 1GB Ethernet
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 8 Jun 2017 10:42:43 +0000 (11:42 +0100)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Sat, 17 Jun 2017 06:19:05 +0000 (08:19 +0200)
Enable the 1GB Ethernet interface that lives on the slave CP110,
with its corresponding phy (that oddly lives on the master CP110).

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts

index 100861aa7afdaa1e05245d9d80d7af7cfd85ec64..fe56efcfcefeb5f77c724ccde0c54e73bc37278b 100644 (file)
        status = "okay";
 };
 
+&cpm_mdio {
+       ge_phy: ethernet-phy@0 {
+               reg = <0>;
+       };
+};
+
 &cpm_sata0 {
        /* CPM Lane 0 - U29 */
        status = "okay";
        status = "okay";
 };
 
+&cps_ethernet {
+       status = "okay";
+};
+
+&cps_eth1 {
+       /* CPS Lane 0 - J5 (Gigabit RJ45) */
+       status = "okay";
+       phy = <&ge_phy>;
+       phy-mode = "sgmii";
+};
+
 &cps_sata0 {
        /* CPS Lane 1 - U32 */
        /* CPS Lane 3 - U31 */