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"; 7668445d1SJosua Mayer compatible = "solidrun,clearfog-gtr-l8", "marvell,armada385", 8668445d1SJosua Mayer "marvell,armada380"; 9*429cc56bSJosua Mayer 10*429cc56bSJosua Mayer /* CON25 */ 11*429cc56bSJosua Mayer sfp1: sfp-1 { 12*429cc56bSJosua Mayer compatible = "sff,sfp"; 13*429cc56bSJosua Mayer pinctrl-0 = <&cf_gtr_sfp1_pins>; 14*429cc56bSJosua Mayer pinctrl-names = "default"; 15*429cc56bSJosua Mayer i2c-bus = <&i2c0>; 16*429cc56bSJosua Mayer mod-def0-gpio = <&gpio0 24 GPIO_ACTIVE_LOW>; 17*429cc56bSJosua Mayer tx-disable-gpio = <&gpio1 22 GPIO_ACTIVE_HIGH>; 18*429cc56bSJosua Mayer }; 19724ba675SRob Herring}; 20724ba675SRob Herring 21724ba675SRob Herring&mdio { 226e75ac5aSLinus Walleij switch0: ethernet-switch@4 { 23724ba675SRob Herring compatible = "marvell,mv88e6190"; 24724ba675SRob Herring reg = <4>; 25724ba675SRob Herring pinctrl-names = "default"; 26724ba675SRob Herring pinctrl-0 = <&cf_gtr_switch_reset_pins>; 27724ba675SRob Herring reset-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; 28724ba675SRob Herring 296e75ac5aSLinus Walleij ethernet-ports { 30724ba675SRob Herring #address-cells = <1>; 31724ba675SRob Herring #size-cells = <0>; 32724ba675SRob Herring 336e75ac5aSLinus Walleij ethernet-port@1 { 34724ba675SRob Herring reg = <1>; 35724ba675SRob Herring label = "lan8"; 36724ba675SRob Herring phy-handle = <&switch0phy0>; 37724ba675SRob Herring }; 38724ba675SRob Herring 396e75ac5aSLinus Walleij ethernet-port@2 { 40724ba675SRob Herring reg = <2>; 41724ba675SRob Herring label = "lan7"; 42724ba675SRob Herring phy-handle = <&switch0phy1>; 43724ba675SRob Herring }; 44724ba675SRob Herring 456e75ac5aSLinus Walleij ethernet-port@3 { 46724ba675SRob Herring reg = <3>; 47724ba675SRob Herring label = "lan6"; 48724ba675SRob Herring phy-handle = <&switch0phy2>; 49724ba675SRob Herring }; 50724ba675SRob Herring 516e75ac5aSLinus Walleij ethernet-port@4 { 52724ba675SRob Herring reg = <4>; 53724ba675SRob Herring label = "lan5"; 54724ba675SRob Herring phy-handle = <&switch0phy3>; 55724ba675SRob Herring }; 56724ba675SRob Herring 576e75ac5aSLinus Walleij ethernet-port@5 { 58724ba675SRob Herring reg = <5>; 59724ba675SRob Herring label = "lan4"; 60724ba675SRob Herring phy-handle = <&switch0phy4>; 61724ba675SRob Herring }; 62724ba675SRob Herring 636e75ac5aSLinus Walleij ethernet-port@6 { 64724ba675SRob Herring reg = <6>; 65724ba675SRob Herring label = "lan3"; 66724ba675SRob Herring phy-handle = <&switch0phy5>; 67724ba675SRob Herring }; 68724ba675SRob Herring 696e75ac5aSLinus Walleij ethernet-port@7 { 70724ba675SRob Herring reg = <7>; 71724ba675SRob Herring label = "lan2"; 72724ba675SRob Herring phy-handle = <&switch0phy6>; 73724ba675SRob Herring }; 74724ba675SRob Herring 756e75ac5aSLinus Walleij ethernet-port@8 { 76724ba675SRob Herring reg = <8>; 77724ba675SRob Herring label = "lan1"; 78724ba675SRob Herring phy-handle = <&switch0phy7>; 79724ba675SRob Herring }; 80724ba675SRob Herring 81*429cc56bSJosua Mayer ethernet-port@9 { 82*429cc56bSJosua Mayer reg = <9>; 83*429cc56bSJosua Mayer label = "lan-sfp"; 84*429cc56bSJosua Mayer phy-mode = "sgmii"; 85*429cc56bSJosua Mayer sfp = <&sfp1>; 86*429cc56bSJosua Mayer managed = "in-band-status"; 87*429cc56bSJosua Mayer }; 88*429cc56bSJosua Mayer 896e75ac5aSLinus Walleij ethernet-port@10 { 90724ba675SRob Herring reg = <10>; 91724ba675SRob Herring phy-mode = "2500base-x"; 92724ba675SRob Herring ethernet = <ð1>; 93*429cc56bSJosua Mayer 94724ba675SRob Herring fixed-link { 95724ba675SRob Herring speed = <2500>; 96724ba675SRob Herring full-duplex; 97724ba675SRob Herring }; 98724ba675SRob Herring }; 99724ba675SRob Herring 100724ba675SRob Herring }; 101724ba675SRob Herring 102724ba675SRob Herring mdio { 103724ba675SRob Herring #address-cells = <1>; 104724ba675SRob Herring #size-cells = <0>; 105724ba675SRob Herring 1066e75ac5aSLinus Walleij switch0phy0: ethernet-phy@1 { 107724ba675SRob Herring reg = <0x1>; 108724ba675SRob Herring }; 109724ba675SRob Herring 1106e75ac5aSLinus Walleij switch0phy1: ethernet-phy@2 { 111724ba675SRob Herring reg = <0x2>; 112724ba675SRob Herring }; 113724ba675SRob Herring 1146e75ac5aSLinus Walleij switch0phy2: ethernet-phy@3 { 115724ba675SRob Herring reg = <0x3>; 116724ba675SRob Herring }; 117724ba675SRob Herring 1186e75ac5aSLinus Walleij switch0phy3: ethernet-phy@4 { 119724ba675SRob Herring reg = <0x4>; 120724ba675SRob Herring }; 121724ba675SRob Herring 1226e75ac5aSLinus Walleij switch0phy4: ethernet-phy@5 { 123724ba675SRob Herring reg = <0x5>; 124724ba675SRob Herring }; 125724ba675SRob Herring 1266e75ac5aSLinus Walleij switch0phy5: ethernet-phy@6 { 127724ba675SRob Herring reg = <0x6>; 128724ba675SRob Herring }; 129724ba675SRob Herring 1306e75ac5aSLinus Walleij switch0phy6: ethernet-phy@7 { 131724ba675SRob Herring reg = <0x7>; 132724ba675SRob Herring }; 133724ba675SRob Herring 1346e75ac5aSLinus Walleij switch0phy7: ethernet-phy@8 { 135724ba675SRob Herring reg = <0x8>; 136724ba675SRob Herring }; 137724ba675SRob Herring }; 138724ba675SRob Herring 139724ba675SRob Herring }; 140724ba675SRob Herring}; 141