1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2*724ba675SRob Herring 3*724ba675SRob Herring#include "armada-385-clearfog-gtr.dtsi" 4*724ba675SRob Herring 5*724ba675SRob Herring/ { 6*724ba675SRob Herring model = "SolidRun Clearfog GTR L8"; 7*724ba675SRob Herring}; 8*724ba675SRob Herring 9*724ba675SRob Herring&mdio { 10*724ba675SRob Herring switch0: switch0@4 { 11*724ba675SRob Herring compatible = "marvell,mv88e6190"; 12*724ba675SRob Herring reg = <4>; 13*724ba675SRob Herring pinctrl-names = "default"; 14*724ba675SRob Herring pinctrl-0 = <&cf_gtr_switch_reset_pins>; 15*724ba675SRob Herring reset-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; 16*724ba675SRob Herring 17*724ba675SRob Herring ports { 18*724ba675SRob Herring #address-cells = <1>; 19*724ba675SRob Herring #size-cells = <0>; 20*724ba675SRob Herring 21*724ba675SRob Herring port@1 { 22*724ba675SRob Herring reg = <1>; 23*724ba675SRob Herring label = "lan8"; 24*724ba675SRob Herring phy-handle = <&switch0phy0>; 25*724ba675SRob Herring }; 26*724ba675SRob Herring 27*724ba675SRob Herring port@2 { 28*724ba675SRob Herring reg = <2>; 29*724ba675SRob Herring label = "lan7"; 30*724ba675SRob Herring phy-handle = <&switch0phy1>; 31*724ba675SRob Herring }; 32*724ba675SRob Herring 33*724ba675SRob Herring port@3 { 34*724ba675SRob Herring reg = <3>; 35*724ba675SRob Herring label = "lan6"; 36*724ba675SRob Herring phy-handle = <&switch0phy2>; 37*724ba675SRob Herring }; 38*724ba675SRob Herring 39*724ba675SRob Herring port@4 { 40*724ba675SRob Herring reg = <4>; 41*724ba675SRob Herring label = "lan5"; 42*724ba675SRob Herring phy-handle = <&switch0phy3>; 43*724ba675SRob Herring }; 44*724ba675SRob Herring 45*724ba675SRob Herring port@5 { 46*724ba675SRob Herring reg = <5>; 47*724ba675SRob Herring label = "lan4"; 48*724ba675SRob Herring phy-handle = <&switch0phy4>; 49*724ba675SRob Herring }; 50*724ba675SRob Herring 51*724ba675SRob Herring port@6 { 52*724ba675SRob Herring reg = <6>; 53*724ba675SRob Herring label = "lan3"; 54*724ba675SRob Herring phy-handle = <&switch0phy5>; 55*724ba675SRob Herring }; 56*724ba675SRob Herring 57*724ba675SRob Herring port@7 { 58*724ba675SRob Herring reg = <7>; 59*724ba675SRob Herring label = "lan2"; 60*724ba675SRob Herring phy-handle = <&switch0phy6>; 61*724ba675SRob Herring }; 62*724ba675SRob Herring 63*724ba675SRob Herring port@8 { 64*724ba675SRob Herring reg = <8>; 65*724ba675SRob Herring label = "lan1"; 66*724ba675SRob Herring phy-handle = <&switch0phy7>; 67*724ba675SRob Herring }; 68*724ba675SRob Herring 69*724ba675SRob Herring port@10 { 70*724ba675SRob Herring reg = <10>; 71*724ba675SRob Herring phy-mode = "2500base-x"; 72*724ba675SRob Herring 73*724ba675SRob Herring ethernet = <ð1>; 74*724ba675SRob Herring fixed-link { 75*724ba675SRob Herring speed = <2500>; 76*724ba675SRob Herring full-duplex; 77*724ba675SRob Herring }; 78*724ba675SRob Herring }; 79*724ba675SRob Herring 80*724ba675SRob Herring }; 81*724ba675SRob Herring 82*724ba675SRob Herring mdio { 83*724ba675SRob Herring #address-cells = <1>; 84*724ba675SRob Herring #size-cells = <0>; 85*724ba675SRob Herring 86*724ba675SRob Herring switch0phy0: switch0phy0@1 { 87*724ba675SRob Herring reg = <0x1>; 88*724ba675SRob Herring }; 89*724ba675SRob Herring 90*724ba675SRob Herring switch0phy1: switch0phy1@2 { 91*724ba675SRob Herring reg = <0x2>; 92*724ba675SRob Herring }; 93*724ba675SRob Herring 94*724ba675SRob Herring switch0phy2: switch0phy2@3 { 95*724ba675SRob Herring reg = <0x3>; 96*724ba675SRob Herring }; 97*724ba675SRob Herring 98*724ba675SRob Herring switch0phy3: switch0phy3@4 { 99*724ba675SRob Herring reg = <0x4>; 100*724ba675SRob Herring }; 101*724ba675SRob Herring 102*724ba675SRob Herring switch0phy4: switch0phy4@5 { 103*724ba675SRob Herring reg = <0x5>; 104*724ba675SRob Herring }; 105*724ba675SRob Herring 106*724ba675SRob Herring switch0phy5: switch0phy5@6 { 107*724ba675SRob Herring reg = <0x6>; 108*724ba675SRob Herring }; 109*724ba675SRob Herring 110*724ba675SRob Herring switch0phy6: switch0phy6@7 { 111*724ba675SRob Herring reg = <0x7>; 112*724ba675SRob Herring }; 113*724ba675SRob Herring 114*724ba675SRob Herring switch0phy7: switch0phy7@8 { 115*724ba675SRob Herring reg = <0x8>; 116*724ba675SRob Herring }; 117*724ba675SRob Herring }; 118*724ba675SRob Herring 119*724ba675SRob Herring }; 120*724ba675SRob Herring}; 121