1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2
3/dts-v1/;
4
5#include "armada-3720-uDPU.dtsi"
6
7/ {
8	model = "Methode eDPU Board";
9	compatible = "methode,edpu", "marvell,armada3720", "marvell,armada3710";
10};
11
12&eth0 {
13	phy-mode = "2500base-x";
14};
15
16/*
17 * External MV88E6361 switch is only available on v2 of the board.
18 * U-Boot will enable the MDIO bus and switch nodes.
19 */
20&mdio {
21	status = "disabled";
22	pinctrl-names = "default";
23	pinctrl-0 = <&smi_pins>;
24
25	/* Actual device is MV88E6361 */
26	switch: switch@0 {
27		compatible = "marvell,mv88e6190";
28		reg = <0>;
29		status = "disabled";
30
31		ports {
32			#address-cells = <1>;
33			#size-cells = <0>;
34
35			port@0 {
36				reg = <0>;
37				label = "cpu";
38				phy-mode = "2500base-x";
39				managed = "in-band-status";
40				ethernet = <&eth0>;
41			};
42
43			port@9 {
44				reg = <9>;
45				label = "downlink";
46				phy-mode = "2500base-x";
47				managed = "in-band-status";
48			};
49
50			port@a {
51				reg = <10>;
52				label = "uplink";
53				phy-mode = "2500base-x";
54				managed = "in-band-status";
55				sfp = <&sfp_eth1>;
56			};
57		};
58	};
59};
60