Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003  * Copyright (C) 2016 Marvell Technology Group Ltd.
0004  *
0005  * Device Tree file for MACCHIATOBin Armada 8040 community board platform
0006  */
0007 
0008 #include "armada-8040-mcbin.dtsi"
0009 
0010 / {
0011         model = "Marvell 8040 MACCHIATOBin Double-shot";
0012         compatible = "marvell,armada8040-mcbin-doubleshot",
0013                         "marvell,armada8040-mcbin", "marvell,armada8040",
0014                         "marvell,armada-ap806-quad", "marvell,armada-ap806";
0015 };
0016 
0017 &cp0_xmdio {
0018         status = "okay";
0019 
0020         phy0: ethernet-phy@0 {
0021                 compatible = "ethernet-phy-ieee802.3-c45";
0022                 reg = <0>;
0023                 sfp = <&sfp_eth0>;
0024         };
0025 
0026         phy8: ethernet-phy@8 {
0027                 compatible = "ethernet-phy-ieee802.3-c45";
0028                 reg = <8>;
0029                 sfp = <&sfp_eth1>;
0030         };
0031 };
0032 
0033 &cp0_eth0 {
0034         status = "okay";
0035         /* Network PHY */
0036         phy = <&phy0>;
0037         phy-mode = "10gbase-r";
0038 };
0039 
0040 &cp1_eth0 {
0041         status = "okay";
0042         /* Network PHY */
0043         phy = <&phy8>;
0044         phy-mode = "10gbase-r";
0045 };