1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Device Tree file for Globalscale Marvell ESPRESSOBin Board V7 with eMMC
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 (eMMC)";
20	compatible = "globalscale,espressobin-v7-emmc", "globalscale,espressobin-v7",
21		     "globalscale,espressobin", "marvell,armada3720",
22		     "marvell,armada3710";
23
24	aliases {
25		/* ethernet1 is wan port */
26		ethernet1 = &switch0port3;
27		ethernet3 = &switch0port1;
28	};
29};
30
31&switch0 {
32	ports {
33		switch0port1: port@1 {
34			reg = <1>;
35			label = "lan1";
36			phy-handle = <&switch0phy0>;
37		};
38
39		switch0port3: port@3 {
40			reg = <3>;
41			label = "wan";
42			phy-handle = <&switch0phy2>;
43		};
44	};
45};
46
47/* U11 */
48&sdhci0 {
49	non-removable;
50	bus-width = <8>;
51	mmc-ddr-1_8v;
52	mmc-hs400-1_8v;
53	marvell,xenon-emmc;
54	marvell,xenon-tun-count = <9>;
55	marvell,pad-type = "fixed-1-8v";
56
57	pinctrl-names = "default";
58	pinctrl-0 = <&mmc_pins>;
59	status = "okay";
60
61	#address-cells = <1>;
62	#size-cells = <0>;
63	mmccard: mmccard@0 {
64		compatible = "mmc-card";
65		reg = <0>;
66	};
67};
68