| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
/* |
| 3 |
* Copyright (C) 2016 Marvell Technology Group Ltd. |
| 4 |
* |
| 5 |
* Device Tree file for MACCHIATOBin Armada 8040 community board platform |
| 6 |
*/ |
| 7 |
|
| 8 |
#include "armada-8040-mcbin.dtsi" |
| 9 |
|
| 10 |
/ { |
| 11 |
model = "Marvell 8040 MACCHIATOBin Double-shot"; |
| 12 |
compatible = "marvell,armada8040-mcbin-doubleshot", |
| 13 |
"marvell,armada8040-mcbin", "marvell,armada8040", |
| 14 |
"marvell,armada-ap806-quad", "marvell,armada-ap806"; |
| 15 |
}; |
| 16 |
|
| 17 |
&cp0_xmdio { |
| 18 |
status = "okay"; |
| 19 |
|
| 20 |
phy0: ethernet-phy@0 { |
| 21 |
compatible = "ethernet-phy-ieee802.3-c45"; |
| 22 |
reg = <0>; |
| 23 |
sfp = <&sfp_eth0>; |
| 24 |
}; |
| 25 |
|
| 26 |
phy8: ethernet-phy@8 { |
| 27 |
compatible = "ethernet-phy-ieee802.3-c45"; |
| 28 |
reg = <8>; |
| 29 |
sfp = <&sfp_eth1>; |
| 30 |
}; |
| 31 |
}; |
| 32 |
|
| 33 |
&cp0_eth0 { |
| 34 |
status = "okay"; |
| 35 |
/* Network PHY */ |
| 36 |
phy = <&phy0>; |
| 37 |
phy-mode = "10gbase-r"; |
| 38 |
}; |
| 39 |
|
| 40 |
&cp1_eth0 { |
| 41 |
status = "okay"; |
| 42 |
/* Network PHY */ |
| 43 |
phy = <&phy8>; |
| 44 |
phy-mode = "10gbase-r"; |
| 45 |
}; |