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