1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 2 3 #include "armada-385-clearfog-gtr.dtsi" 3 #include "armada-385-clearfog-gtr.dtsi" 4 4 5 / { 5 / { 6 model = "SolidRun Clearfog GTR L8"; 6 model = "SolidRun Clearfog GTR L8"; 7 compatible = "solidrun,clearfog-gtr-l8 << 8 "marvell,armada380"; << 9 << 10 /* CON25 */ << 11 sfp1: sfp-1 { << 12 compatible = "sff,sfp"; << 13 pinctrl-0 = <&cf_gtr_sfp1_pins << 14 pinctrl-names = "default"; << 15 i2c-bus = <&i2c0>; << 16 mod-def0-gpio = <&gpio0 24 GPI << 17 tx-disable-gpio = <&gpio1 22 G << 18 }; << 19 }; 7 }; 20 8 21 &mdio { 9 &mdio { 22 switch0: ethernet-switch@4 { !! 10 switch0: switch0@4 { 23 compatible = "marvell,mv88e619 11 compatible = "marvell,mv88e6190"; 24 reg = <4>; 12 reg = <4>; 25 pinctrl-names = "default"; 13 pinctrl-names = "default"; 26 pinctrl-0 = <&cf_gtr_switch_re 14 pinctrl-0 = <&cf_gtr_switch_reset_pins>; 27 reset-gpios = <&gpio0 18 GPIO_ 15 reset-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; 28 16 29 ethernet-ports { !! 17 ports { 30 #address-cells = <1>; 18 #address-cells = <1>; 31 #size-cells = <0>; 19 #size-cells = <0>; 32 20 33 ethernet-port@1 { !! 21 port@1 { 34 reg = <1>; 22 reg = <1>; 35 label = "lan1" !! 23 label = "lan8"; 36 phy-handle = < 24 phy-handle = <&switch0phy0>; 37 }; 25 }; 38 26 39 ethernet-port@2 { !! 27 port@2 { 40 reg = <2>; 28 reg = <2>; 41 label = "lan2" !! 29 label = "lan7"; 42 phy-handle = < 30 phy-handle = <&switch0phy1>; 43 }; 31 }; 44 32 45 ethernet-port@3 { !! 33 port@3 { 46 reg = <3>; 34 reg = <3>; 47 label = "lan3" !! 35 label = "lan6"; 48 phy-handle = < 36 phy-handle = <&switch0phy2>; 49 }; 37 }; 50 38 51 ethernet-port@4 { !! 39 port@4 { 52 reg = <4>; 40 reg = <4>; 53 label = "lan4" !! 41 label = "lan5"; 54 phy-handle = < 42 phy-handle = <&switch0phy3>; 55 }; 43 }; 56 44 57 ethernet-port@5 { !! 45 port@5 { 58 reg = <5>; 46 reg = <5>; 59 label = "lan5" !! 47 label = "lan4"; 60 phy-handle = < 48 phy-handle = <&switch0phy4>; 61 }; 49 }; 62 50 63 ethernet-port@6 { !! 51 port@6 { 64 reg = <6>; 52 reg = <6>; 65 label = "lan6" !! 53 label = "lan3"; 66 phy-handle = < 54 phy-handle = <&switch0phy5>; 67 }; 55 }; 68 56 69 ethernet-port@7 { !! 57 port@7 { 70 reg = <7>; 58 reg = <7>; 71 label = "lan7" !! 59 label = "lan2"; 72 phy-handle = < 60 phy-handle = <&switch0phy6>; 73 }; 61 }; 74 62 75 ethernet-port@8 { !! 63 port@8 { 76 reg = <8>; 64 reg = <8>; 77 label = "lan8" !! 65 label = "lan1"; 78 phy-handle = < 66 phy-handle = <&switch0phy7>; 79 }; 67 }; 80 68 81 ethernet-port@9 { !! 69 port@10 { 82 reg = <9>; << 83 label = "lan-s << 84 phy-mode = "sg << 85 sfp = <&sfp1>; << 86 managed = "in- << 87 }; << 88 << 89 ethernet-port@10 { << 90 reg = <10>; 70 reg = <10>; 91 phy-mode = "25 71 phy-mode = "2500base-x"; 92 ethernet = <&e << 93 72 >> 73 ethernet = <ð1>; 94 fixed-link { 74 fixed-link { 95 speed 75 speed = <2500>; 96 full-d 76 full-duplex; 97 }; 77 }; 98 }; 78 }; 99 79 100 }; 80 }; 101 81 102 mdio { 82 mdio { 103 #address-cells = <1>; 83 #address-cells = <1>; 104 #size-cells = <0>; 84 #size-cells = <0>; 105 85 106 switch0phy0: ethernet- !! 86 switch0phy0: switch0phy0@1 { 107 reg = <0x1>; 87 reg = <0x1>; 108 }; 88 }; 109 89 110 switch0phy1: ethernet- !! 90 switch0phy1: switch0phy1@2 { 111 reg = <0x2>; 91 reg = <0x2>; 112 }; 92 }; 113 93 114 switch0phy2: ethernet- !! 94 switch0phy2: switch0phy2@3 { 115 reg = <0x3>; 95 reg = <0x3>; 116 }; 96 }; 117 97 118 switch0phy3: ethernet- !! 98 switch0phy3: switch0phy3@4 { 119 reg = <0x4>; 99 reg = <0x4>; 120 }; 100 }; 121 101 122 switch0phy4: ethernet- !! 102 switch0phy4: switch0phy4@5 { 123 reg = <0x5>; 103 reg = <0x5>; 124 }; 104 }; 125 105 126 switch0phy5: ethernet- !! 106 switch0phy5: switch0phy5@6 { 127 reg = <0x6>; 107 reg = <0x6>; 128 }; 108 }; 129 109 130 switch0phy6: ethernet- !! 110 switch0phy6: switch0phy6@7 { 131 reg = <0x7>; 111 reg = <0x7>; 132 }; 112 }; 133 113 134 switch0phy7: ethernet- !! 114 switch0phy7: switch0phy7@8 { 135 reg = <0x8>; 115 reg = <0x8>; 136 }; 116 }; 137 }; 117 }; 138 118 139 }; 119 }; 140 }; 120 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.