// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 
 | 
/* 
 | 
 * Device Tree file for Globalscale Marvell ESPRESSOBin Board V7 with eMMC 
 | 
 * Copyright (C) 2018 Marvell 
 | 
 * 
 | 
 * Romain Perier <romain.perier@free-electrons.com> 
 | 
 * Konstantin Porotchkin <kostap@marvell.com> 
 | 
 * 
 | 
 */ 
 | 
/* 
 | 
 * Schematic available at http://wiki.espressobin.net/tiki-download_file.php?fileId=200 
 | 
 */ 
 | 
  
 | 
/dts-v1/; 
 | 
  
 | 
#include "armada-3720-espressobin.dtsi" 
 | 
  
 | 
/ { 
 | 
    model = "Globalscale Marvell ESPRESSOBin Board V7 (eMMC)"; 
 | 
    compatible = "globalscale,espressobin-v7-emmc", "globalscale,espressobin-v7", 
 | 
             "globalscale,espressobin", "marvell,armada3720", 
 | 
             "marvell,armada3710"; 
 | 
  
 | 
    aliases { 
 | 
        /* ethernet1 is wan port */ 
 | 
        ethernet1 = &switch0port3; 
 | 
        ethernet3 = &switch0port1; 
 | 
    }; 
 | 
}; 
 | 
  
 | 
&switch0 { 
 | 
    ports { 
 | 
        switch0port1: port@1 { 
 | 
            reg = <1>; 
 | 
            label = "lan1"; 
 | 
            phy-handle = <&switch0phy0>; 
 | 
        }; 
 | 
  
 | 
        switch0port3: port@3 { 
 | 
            reg = <3>; 
 | 
            label = "wan"; 
 | 
            phy-handle = <&switch0phy2>; 
 | 
        }; 
 | 
    }; 
 | 
}; 
 | 
  
 | 
/* U11 */ 
 | 
&sdhci0 { 
 | 
    non-removable; 
 | 
    bus-width = <8>; 
 | 
    mmc-ddr-1_8v; 
 | 
    mmc-hs400-1_8v; 
 | 
    marvell,xenon-emmc; 
 | 
    marvell,xenon-tun-count = <9>; 
 | 
    marvell,pad-type = "fixed-1-8v"; 
 | 
  
 | 
    pinctrl-names = "default"; 
 | 
    pinctrl-0 = <&mmc_pins>; 
 | 
    status = "okay"; 
 | 
  
 | 
    #address-cells = <1>; 
 | 
    #size-cells = <0>; 
 | 
    mmccard: mmccard@0 { 
 | 
        compatible = "mmc-card"; 
 | 
        reg = <0>; 
 | 
    }; 
 | 
}; 
 |