summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/marvell/armada-3720-eDPU.dts
blob: d6d37a1f6f3800fefe071a092aa2dd598894245d (plain)
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)

/dts-v1/;

#include "armada-3720-uDPU.dtsi"

/ {
	model = "Methode eDPU Board";
	compatible = "methode,edpu", "marvell,armada3720", "marvell,armada3710";
};

&eth0 {
	phy-mode = "2500base-x";
};

/*
 * External MV88E6361 switch is only available on v2 of the board.
 * U-Boot will enable the MDIO bus and switch nodes.
 */
&mdio {
	status = "disabled";
	pinctrl-names = "default";
	pinctrl-0 = <&smi_pins>;

	/* Actual device is MV88E6361 */
	switch: switch@0 {
		compatible = "marvell,mv88e6190";
		#address-cells = <1>;
		#size-cells = <0>;
		reg = <0>;
		status = "disabled";

		ports {
			#address-cells = <1>;
			#size-cells = <0>;

			port@0 {
				reg = <0>;
				label = "cpu";
				phy-mode = "2500base-x";
				managed = "in-band-status";
				ethernet = <&eth0>;
			};

			port@9 {
				reg = <9>;
				label = "downlink";
				phy-mode = "2500base-x";
				managed = "in-band-status";
			};

			port@a {
				reg = <10>;
				label = "uplink";
				phy-mode = "2500base-x";
				managed = "in-band-status";
				sfp = <&sfp_eth1>;
			};
		};
	};
};