diff options
author | Stefan Roese <sr@denx.de> | 2017-04-06 13:39:07 (GMT) |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2017-05-31 05:39:06 (GMT) |
commit | 0cc209124f62bf355bda2a76540438bcd2819e5b (patch) | |
tree | 9ae4b6620fd7fc500d6c865c0f88df5aefb40e21 /arch/arm/dts | |
parent | 7d19a24df8dff2c69ae4f3c35706a329e630d264 (diff) | |
download | u-boot-0cc209124f62bf355bda2a76540438bcd2819e5b.tar.xz |
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 <sr@denx.de>
Cc: Stefan Chulski <stefanc@marvell.com>
Cc: Kostya Porotchkin <kostap@marvell.com>
Cc: Nadav Haklai <nadavh@marvell.com>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r-- | arch/arm/dts/armada-7040-db.dts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/dts/armada-7040-db.dts b/arch/arm/dts/armada-7040-db.dts index b140b34..cfd2b4b 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_TYPE_SGMII0>; - phy-speed = <PHY_SPEED_1_25G>; + phy-type = <PHY_TYPE_SFI>; }; phy3 { @@ -224,6 +223,11 @@ status = "okay"; }; +&cpm_eth0 { + status = "okay"; + phy-mode = "sfi"; /* lane-2 */ +}; + &cpm_eth1 { status = "okay"; phy = <&phy0>; |