// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 
 | 
/* 
 | 
 * Device Tree file for Globalscale Marvell ESPRESSOBin Board V7 
 | 
 * 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"; 
 | 
    compatible = "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>; 
 | 
        }; 
 | 
    }; 
 | 
}; 
 |