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