From: Stefan Roese Date: Thu, 6 Apr 2017 13:39:07 +0000 (+0200) Subject: arm64: mvebu: armada-7040-db: Enable 10GB port 0 / SFI (KR) X-Git-Tag: v2017.07-rc1~186^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0cc209124f62bf355bda2a76540438bcd2819e5b;p=u-boot arm64: mvebu: armada-7040-db: Enable 10GB port 0 / SFI (KR) 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 Cc: Stefan Chulski Cc: Kostya Porotchkin Cc: Nadav Haklai --- diff --git a/arch/arm/dts/armada-7040-db.dts b/arch/arm/dts/armada-7040-db.dts index b140b3476e..cfd2b4baf3 100644 --- a/arch/arm/dts/armada-7040-db.dts +++ b/arch/arm/dts/armada-7040-db.dts @@ -169,8 +169,7 @@ }; phy2 { - phy-type = ; - phy-speed = ; + phy-type = ; }; phy3 { @@ -224,6 +223,11 @@ status = "okay"; }; +&cpm_eth0 { + status = "okay"; + phy-mode = "sfi"; /* lane-2 */ +}; + &cpm_eth1 { status = "okay"; phy = <&phy0>;