xref: /linux/scripts/dtc/include-prefixes/arm/marvell/armada-385-clearfog-gtr-l8.dts (revision 668445d1c7ca4c0e056fda85935d2c291b46ac10)
1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2724ba675SRob Herring
3724ba675SRob Herring#include "armada-385-clearfog-gtr.dtsi"
4724ba675SRob Herring
5724ba675SRob Herring/ {
6724ba675SRob Herring	model = "SolidRun Clearfog GTR L8";
7*668445d1SJosua Mayer	compatible = "solidrun,clearfog-gtr-l8", "marvell,armada385",
8*668445d1SJosua Mayer		     "marvell,armada380";
9724ba675SRob Herring};
10724ba675SRob Herring
11724ba675SRob Herring&mdio {
126e75ac5aSLinus Walleij	switch0: ethernet-switch@4 {
13724ba675SRob Herring		compatible = "marvell,mv88e6190";
14724ba675SRob Herring		reg = <4>;
15724ba675SRob Herring		pinctrl-names = "default";
16724ba675SRob Herring		pinctrl-0 = <&cf_gtr_switch_reset_pins>;
17724ba675SRob Herring		reset-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
18724ba675SRob Herring
196e75ac5aSLinus Walleij		ethernet-ports {
20724ba675SRob Herring			#address-cells = <1>;
21724ba675SRob Herring			#size-cells = <0>;
22724ba675SRob Herring
236e75ac5aSLinus Walleij			ethernet-port@1 {
24724ba675SRob Herring				reg = <1>;
25724ba675SRob Herring				label = "lan8";
26724ba675SRob Herring				phy-handle = <&switch0phy0>;
27724ba675SRob Herring			};
28724ba675SRob Herring
296e75ac5aSLinus Walleij			ethernet-port@2 {
30724ba675SRob Herring				reg = <2>;
31724ba675SRob Herring				label = "lan7";
32724ba675SRob Herring				phy-handle = <&switch0phy1>;
33724ba675SRob Herring			};
34724ba675SRob Herring
356e75ac5aSLinus Walleij			ethernet-port@3 {
36724ba675SRob Herring				reg = <3>;
37724ba675SRob Herring				label = "lan6";
38724ba675SRob Herring				phy-handle = <&switch0phy2>;
39724ba675SRob Herring			};
40724ba675SRob Herring
416e75ac5aSLinus Walleij			ethernet-port@4 {
42724ba675SRob Herring				reg = <4>;
43724ba675SRob Herring				label = "lan5";
44724ba675SRob Herring				phy-handle = <&switch0phy3>;
45724ba675SRob Herring			};
46724ba675SRob Herring
476e75ac5aSLinus Walleij			ethernet-port@5 {
48724ba675SRob Herring				reg = <5>;
49724ba675SRob Herring				label = "lan4";
50724ba675SRob Herring				phy-handle = <&switch0phy4>;
51724ba675SRob Herring			};
52724ba675SRob Herring
536e75ac5aSLinus Walleij			ethernet-port@6 {
54724ba675SRob Herring				reg = <6>;
55724ba675SRob Herring				label = "lan3";
56724ba675SRob Herring				phy-handle = <&switch0phy5>;
57724ba675SRob Herring			};
58724ba675SRob Herring
596e75ac5aSLinus Walleij			ethernet-port@7 {
60724ba675SRob Herring				reg = <7>;
61724ba675SRob Herring				label = "lan2";
62724ba675SRob Herring				phy-handle = <&switch0phy6>;
63724ba675SRob Herring			};
64724ba675SRob Herring
656e75ac5aSLinus Walleij			ethernet-port@8 {
66724ba675SRob Herring				reg = <8>;
67724ba675SRob Herring				label = "lan1";
68724ba675SRob Herring				phy-handle = <&switch0phy7>;
69724ba675SRob Herring			};
70724ba675SRob Herring
716e75ac5aSLinus Walleij			ethernet-port@10 {
72724ba675SRob Herring				reg = <10>;
73724ba675SRob Herring				phy-mode = "2500base-x";
74724ba675SRob Herring
75724ba675SRob Herring				ethernet = <&eth1>;
76724ba675SRob Herring				fixed-link {
77724ba675SRob Herring					speed = <2500>;
78724ba675SRob Herring					full-duplex;
79724ba675SRob Herring				};
80724ba675SRob Herring			};
81724ba675SRob Herring
82724ba675SRob Herring		};
83724ba675SRob Herring
84724ba675SRob Herring		mdio {
85724ba675SRob Herring			#address-cells = <1>;
86724ba675SRob Herring			#size-cells = <0>;
87724ba675SRob Herring
886e75ac5aSLinus Walleij			switch0phy0: ethernet-phy@1 {
89724ba675SRob Herring				reg = <0x1>;
90724ba675SRob Herring			};
91724ba675SRob Herring
926e75ac5aSLinus Walleij			switch0phy1: ethernet-phy@2 {
93724ba675SRob Herring				reg = <0x2>;
94724ba675SRob Herring			};
95724ba675SRob Herring
966e75ac5aSLinus Walleij			switch0phy2: ethernet-phy@3 {
97724ba675SRob Herring				reg = <0x3>;
98724ba675SRob Herring			};
99724ba675SRob Herring
1006e75ac5aSLinus Walleij			switch0phy3: ethernet-phy@4 {
101724ba675SRob Herring				reg = <0x4>;
102724ba675SRob Herring			};
103724ba675SRob Herring
1046e75ac5aSLinus Walleij			switch0phy4: ethernet-phy@5 {
105724ba675SRob Herring				reg = <0x5>;
106724ba675SRob Herring			};
107724ba675SRob Herring
1086e75ac5aSLinus Walleij			switch0phy5: ethernet-phy@6 {
109724ba675SRob Herring				reg = <0x6>;
110724ba675SRob Herring			};
111724ba675SRob Herring
1126e75ac5aSLinus Walleij			switch0phy6: ethernet-phy@7 {
113724ba675SRob Herring				reg = <0x7>;
114724ba675SRob Herring			};
115724ba675SRob Herring
1166e75ac5aSLinus Walleij			switch0phy7: ethernet-phy@8 {
117724ba675SRob Herring				reg = <0x8>;
118724ba675SRob Herring			};
119724ba675SRob Herring		};
120724ba675SRob Herring
121724ba675SRob Herring	};
122724ba675SRob Herring};
123