]> git.sur5r.net Git - u-boot/commitdiff
arm64: mvebu: armada-7040-db: Enable 10GB port 0 / SFI (KR)
authorStefan Roese <sr@denx.de>
Thu, 6 Apr 2017 13:39:07 +0000 (15:39 +0200)
committerStefan Roese <sr@denx.de>
Wed, 31 May 2017 05:39:06 +0000 (07:39 +0200)
This patch enables the mvpp2 port 0 usage on the Armada 7k DB by setting
the correct PHY type (KR / SFI) for the COMPHY driver and enabling the
ethernet0 device node in the dts.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Stefan Chulski <stefanc@marvell.com>
Cc: Kostya Porotchkin <kostap@marvell.com>
Cc: Nadav Haklai <nadavh@marvell.com>
arch/arm/dts/armada-7040-db.dts

index b140b3476e751c94bbe7019549b2d100ef9605fc..cfd2b4baf34d8b91cb4a9a74b1d676a5f4a85496 100644 (file)
        };
 
        phy2 {
-               phy-type = <PHY_TYPE_SGMII0>;
-               phy-speed = <PHY_SPEED_1_25G>;
+               phy-type = <PHY_TYPE_SFI>;
        };
 
        phy3 {
        status = "okay";
 };
 
+&cpm_eth0 {
+       status = "okay";
+       phy-mode = "sfi"; /* lane-2 */
+};
+
 &cpm_eth1 {
        status = "okay";
        phy = <&phy0>;