]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - src/arm64/marvell/armada-3720-espressobin-v7-emmc.dts
Import DTS files from Linux 5.7
[FreeBSD/FreeBSD.git] / src / arm64 / marvell / armada-3720-espressobin-v7-emmc.dts
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
25 &switch0 {
26         ports {
27                 port@1 {
28                         reg = <1>;
29                         label = "lan1";
30                         phy-handle = <&switch0phy0>;
31                 };
32
33                 port@3 {
34                         reg = <3>;
35                         label = "wan";
36                         phy-handle = <&switch0phy2>;
37                 };
38         };
39 };
40
41 /* U11 */
42 &sdhci0 {
43         non-removable;
44         bus-width = <8>;
45         mmc-ddr-1_8v;
46         mmc-hs400-1_8v;
47         marvell,xenon-emmc;
48         marvell,xenon-tun-count = <9>;
49         marvell,pad-type = "fixed-1-8v";
50
51         pinctrl-names = "default";
52         pinctrl-0 = <&mmc_pins>;
53         status = "okay";
54
55         #address-cells = <1>;
56         #size-cells = <0>;
57         mmccard: mmccard@0 {
58                 compatible = "mmc-card";
59                 reg = <0>;
60         };
61 };