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