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"; 7724ba675SRob Herring}; 8724ba675SRob Herring 9724ba675SRob Herring&mdio { 10*6e75ac5aSLinus Walleij switch0: ethernet-switch@4 { 11724ba675SRob Herring compatible = "marvell,mv88e6190"; 12724ba675SRob Herring reg = <4>; 13724ba675SRob Herring pinctrl-names = "default"; 14724ba675SRob Herring pinctrl-0 = <&cf_gtr_switch_reset_pins>; 15724ba675SRob Herring reset-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; 16724ba675SRob Herring 17*6e75ac5aSLinus Walleij ethernet-ports { 18724ba675SRob Herring #address-cells = <1>; 19724ba675SRob Herring #size-cells = <0>; 20724ba675SRob Herring 21*6e75ac5aSLinus Walleij ethernet-port@1 { 22724ba675SRob Herring reg = <1>; 23724ba675SRob Herring label = "lan8"; 24724ba675SRob Herring phy-handle = <&switch0phy0>; 25724ba675SRob Herring }; 26724ba675SRob Herring 27*6e75ac5aSLinus Walleij ethernet-port@2 { 28724ba675SRob Herring reg = <2>; 29724ba675SRob Herring label = "lan7"; 30724ba675SRob Herring phy-handle = <&switch0phy1>; 31724ba675SRob Herring }; 32724ba675SRob Herring 33*6e75ac5aSLinus Walleij ethernet-port@3 { 34724ba675SRob Herring reg = <3>; 35724ba675SRob Herring label = "lan6"; 36724ba675SRob Herring phy-handle = <&switch0phy2>; 37724ba675SRob Herring }; 38724ba675SRob Herring 39*6e75ac5aSLinus Walleij ethernet-port@4 { 40724ba675SRob Herring reg = <4>; 41724ba675SRob Herring label = "lan5"; 42724ba675SRob Herring phy-handle = <&switch0phy3>; 43724ba675SRob Herring }; 44724ba675SRob Herring 45*6e75ac5aSLinus Walleij ethernet-port@5 { 46724ba675SRob Herring reg = <5>; 47724ba675SRob Herring label = "lan4"; 48724ba675SRob Herring phy-handle = <&switch0phy4>; 49724ba675SRob Herring }; 50724ba675SRob Herring 51*6e75ac5aSLinus Walleij ethernet-port@6 { 52724ba675SRob Herring reg = <6>; 53724ba675SRob Herring label = "lan3"; 54724ba675SRob Herring phy-handle = <&switch0phy5>; 55724ba675SRob Herring }; 56724ba675SRob Herring 57*6e75ac5aSLinus Walleij ethernet-port@7 { 58724ba675SRob Herring reg = <7>; 59724ba675SRob Herring label = "lan2"; 60724ba675SRob Herring phy-handle = <&switch0phy6>; 61724ba675SRob Herring }; 62724ba675SRob Herring 63*6e75ac5aSLinus Walleij ethernet-port@8 { 64724ba675SRob Herring reg = <8>; 65724ba675SRob Herring label = "lan1"; 66724ba675SRob Herring phy-handle = <&switch0phy7>; 67724ba675SRob Herring }; 68724ba675SRob Herring 69*6e75ac5aSLinus Walleij ethernet-port@10 { 70724ba675SRob Herring reg = <10>; 71724ba675SRob Herring phy-mode = "2500base-x"; 72724ba675SRob Herring 73724ba675SRob Herring ethernet = <ð1>; 74724ba675SRob Herring fixed-link { 75724ba675SRob Herring speed = <2500>; 76724ba675SRob Herring full-duplex; 77724ba675SRob Herring }; 78724ba675SRob Herring }; 79724ba675SRob Herring 80724ba675SRob Herring }; 81724ba675SRob Herring 82724ba675SRob Herring mdio { 83724ba675SRob Herring #address-cells = <1>; 84724ba675SRob Herring #size-cells = <0>; 85724ba675SRob Herring 86*6e75ac5aSLinus Walleij switch0phy0: ethernet-phy@1 { 87724ba675SRob Herring reg = <0x1>; 88724ba675SRob Herring }; 89724ba675SRob Herring 90*6e75ac5aSLinus Walleij switch0phy1: ethernet-phy@2 { 91724ba675SRob Herring reg = <0x2>; 92724ba675SRob Herring }; 93724ba675SRob Herring 94*6e75ac5aSLinus Walleij switch0phy2: ethernet-phy@3 { 95724ba675SRob Herring reg = <0x3>; 96724ba675SRob Herring }; 97724ba675SRob Herring 98*6e75ac5aSLinus Walleij switch0phy3: ethernet-phy@4 { 99724ba675SRob Herring reg = <0x4>; 100724ba675SRob Herring }; 101724ba675SRob Herring 102*6e75ac5aSLinus Walleij switch0phy4: ethernet-phy@5 { 103724ba675SRob Herring reg = <0x5>; 104724ba675SRob Herring }; 105724ba675SRob Herring 106*6e75ac5aSLinus Walleij switch0phy5: ethernet-phy@6 { 107724ba675SRob Herring reg = <0x6>; 108724ba675SRob Herring }; 109724ba675SRob Herring 110*6e75ac5aSLinus Walleij switch0phy6: ethernet-phy@7 { 111724ba675SRob Herring reg = <0x7>; 112724ba675SRob Herring }; 113724ba675SRob Herring 114*6e75ac5aSLinus Walleij switch0phy7: ethernet-phy@8 { 115724ba675SRob Herring reg = <0x8>; 116724ba675SRob Herring }; 117724ba675SRob Herring }; 118724ba675SRob Herring 119724ba675SRob Herring }; 120724ba675SRob Herring}; 121