1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Device Tree file for Globalscale Marvell ESPRESSOBin Board V7
4 * Copyright (C) 2018 Marvell
5 *
6 * Romain Perier <romain.perier@free-electrons.com>
7 * Konstantin Porotchkin <kostap@marvell.com>
8 *
9 */
10/*
11 * Schematic available at http://wiki.espressobin.net/tiki-download_file.php?fileId=200
12 */
13
14/dts-v1/;
15
16#include "armada-3720-espressobin.dtsi"
17
18/ {
19	model = "Globalscale Marvell ESPRESSOBin Board V7";
20	compatible = "globalscale,espressobin-v7", "globalscale,espressobin",
21		     "marvell,armada3720", "marvell,armada3710";
22
23	aliases {
24		/* ethernet1 is wan port */
25		ethernet1 = &switch0port3;
26		ethernet3 = &switch0port1;
27	};
28};
29
30&switch0 {
31	ports {
32		switch0port1: port@1 {
33			reg = <1>;
34			label = "lan1";
35			phy-handle = <&switch0phy0>;
36		};
37
38		switch0port3: port@3 {
39			reg = <3>;
40			label = "wan";
41			phy-handle = <&switch0phy2>;
42		};
43	};
44};
45