arm64: dts: marvell: add second 1G port on the Armada 8040 DB
authorMarcin Wojtas <mw@semihalf.com>
Mon, 15 May 2017 23:28:33 +0000 (01:28 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Sat, 17 Jun 2017 06:19:02 +0000 (08:19 +0200)
Armada 8040 DB is equipped with 4 (2x 10G SFI + 2x 1G RGMII)
ethernet ports of which only one was hitherto enabled.
Because currently mvpp2 driver is capable of supporting only
1G RGMII/SGMII, enable second port from CP slave HW block.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm64/boot/dts/marvell/armada-8040-db.dts

index dc0d084005b2ef1b23bc97bf8b940e75eda50576..3cde649f96e404c14032d78bda04cccd62f2c79e 100644 (file)
        status = "okay";
 };
 
+&cps_mdio {
+       phy0: ethernet-phy@0 {
+               reg = <0>;
+       };
+};
+
+&cps_ethernet {
+       status = "okay";
+};
+
+&cps_eth1 {
+       status = "okay";
+       phy = <&phy0>;
+       phy-mode = "rgmii-id";
+};
+
 &ap_sdhci0 {
        status = "okay";
        bus-width = <4>;