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