hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// 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>;
       };
   };
};