Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Revert "Merge branch 'mv88e6xxx-dsa-bindings'"

This reverts the following commits:

commit 53313ed25ba8 ("dt-bindings: marvell: Add Marvell MV88E6060 DSA schema")
commit 0f35369b4efe ("dt-bindings: marvell: Rewrite MV88E6xxx in schema")
commit 605a5f5d406d ("ARM64: dts: marvell: Fix some common switch mistakes")
commit bfedd8423643 ("ARM: dts: nxp: Fix some common switch mistakes")
commit 2b83557a588f ("ARM: dts: marvell: Fix some common switch mistakes")
commit ddae07ce9bb3 ("dt-bindings: net: mvusb: Fix up DSA example")
commit b5ef61718ad7 ("dt-bindings: net: dsa: Require ports or ethernet-ports")

As repoted by Vladimir, it breaks boot on the Turris MOX board.

Link: https://lore.kernel.org/all/20231025093632.fb2qdtunzaznd73z@skbuf/
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

+457 -761
-6
Documentation/devicetree/bindings/net/dsa/dsa.yaml
··· 46 46 $ref: dsa-port.yaml# 47 47 unevaluatedProperties: false 48 48 49 - oneOf: 50 - - required: 51 - - ports 52 - - required: 53 - - ethernet-ports 54 - 55 49 ...
-88
Documentation/devicetree/bindings/net/dsa/marvell,mv88e6060.yaml
··· 1 - # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/net/dsa/marvell,mv88e6060.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: Marvell MV88E6060 DSA switch 8 - 9 - maintainers: 10 - - Andrew Lunn <andrew@lunn.ch> 11 - 12 - description: 13 - The Marvell MV88E6060 switch has been produced and sold by Marvell 14 - since at least 2008. The switch has one pin ADDR4 that controls the 15 - MDIO address of the switch to be 0x10 or 0x00, and on the MDIO bus 16 - connected to the switch, the PHYs inside the switch appear as 17 - independent devices on address 0x00-0x04 or 0x10-0x14, so in difference 18 - from many other DSA switches this switch does not have an internal 19 - MDIO bus for the PHY devices. 20 - 21 - properties: 22 - compatible: 23 - const: marvell,mv88e6060 24 - description: 25 - The MV88E6060 is the oldest Marvell DSA switch product, and 26 - as such a bit limited in features compared to later hardware. 27 - 28 - reg: 29 - maxItems: 1 30 - 31 - reset-gpios: 32 - description: 33 - GPIO to be used to reset the whole device 34 - maxItems: 1 35 - 36 - allOf: 37 - - $ref: dsa.yaml#/$defs/ethernet-ports 38 - 39 - required: 40 - - compatible 41 - - reg 42 - 43 - unevaluatedProperties: false 44 - 45 - examples: 46 - - | 47 - #include <dt-bindings/gpio/gpio.h> 48 - #include <dt-bindings/interrupt-controller/irq.h> 49 - mdio { 50 - #address-cells = <1>; 51 - #size-cells = <0>; 52 - 53 - ethernet-switch@16 { 54 - compatible = "marvell,mv88e6060"; 55 - reg = <16>; 56 - 57 - ethernet-ports { 58 - #address-cells = <1>; 59 - #size-cells = <0>; 60 - 61 - ethernet-port@0 { 62 - reg = <0>; 63 - label = "lan1"; 64 - }; 65 - ethernet-port@1 { 66 - reg = <1>; 67 - label = "lan2"; 68 - }; 69 - ethernet-port@2 { 70 - reg = <2>; 71 - label = "lan3"; 72 - }; 73 - ethernet-port@3 { 74 - reg = <3>; 75 - label = "lan4"; 76 - }; 77 - ethernet-port@5 { 78 - reg = <5>; 79 - phy-mode = "rev-mii"; 80 - ethernet = <&ethc>; 81 - fixed-link { 82 - speed = <100>; 83 - full-duplex; 84 - }; 85 - }; 86 - }; 87 - }; 88 - };
-330
Documentation/devicetree/bindings/net/dsa/marvell,mv88e6xxx.yaml
··· 1 - # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/net/dsa/marvell,mv88e6xxx.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: Marvell MV88E6xxx DSA switch family 8 - 9 - maintainers: 10 - - Andrew Lunn <andrew@lunn.ch> 11 - 12 - description: 13 - The Marvell MV88E6xxx switch series has been produced and sold 14 - by Marvell since at least 2008. The switch has a few compatibles which 15 - just indicate the base address of the switch, then operating systems 16 - can investigate switch ID registers to find out which actual version 17 - of the switch it is dealing with. 18 - 19 - properties: 20 - compatible: 21 - enum: 22 - - marvell,mv88e6085 23 - - marvell,mv88e6190 24 - - marvell,mv88e6250 25 - description: | 26 - marvell,mv88e6085: This switch uses base address 0x10. 27 - This switch and its siblings will be autodetected from 28 - ID registers found in the switch, so only "marvell,mv88e6085" should be 29 - specified. This includes the following list of MV88Exxxx switches: 30 - 6085, 6095, 6097, 6123, 6131, 6141, 6161, 6165, 6171, 6172, 6175, 6176, 31 - 6185, 6240, 6320, 6321, 6341, 6350, 6351, 6352 32 - marvell,mv88e6190: This switch uses base address 0x00. 33 - This switch and its siblings will be autodetected from 34 - ID registers found in the switch, so only "marvell,mv88e6190" should be 35 - specified. This includes the following list of MV88Exxxx switches: 36 - 6190, 6190X, 6191, 6290, 6361, 6390, 6390X 37 - marvell,mv88e6250: This switch uses base address 0x08 or 0x18. 38 - This switch and its siblings will be autodetected from 39 - ID registers found in the switch, so only "marvell,mv88e6250" should be 40 - specified. This includes the following list of MV88Exxxx switches: 41 - 6220, 6250 42 - 43 - reg: 44 - maxItems: 1 45 - 46 - eeprom-length: 47 - $ref: /schemas/types.yaml#/definitions/uint32 48 - description: Set to the length of an EEPROM connected to the switch. Must be 49 - set if the switch can not detect the presence and/or size of a connected 50 - EEPROM, otherwise optional. 51 - 52 - reset-gpios: 53 - description: 54 - GPIO to be used to reset the whole device 55 - maxItems: 1 56 - 57 - interrupts: 58 - description: The switch provides an external interrupt line, but it is 59 - not always used by target systems. 60 - maxItems: 1 61 - 62 - interrupt-controller: 63 - description: The switch has an internal interrupt controller used by 64 - the different sub-blocks. 65 - 66 - '#interrupt-cells': 67 - description: The internal interrupt controller only supports triggering 68 - on active high level interrupts so the second cell must alway be set to 69 - IRQ_TYPE_LEVEL_HIGH. 70 - const: 2 71 - 72 - mdio: 73 - $ref: /schemas/net/mdio.yaml# 74 - unevaluatedProperties: false 75 - description: Marvell MV88E6xxx switches have an varying combination of 76 - internal and external MDIO buses, in some cases a combined bus that 77 - can be used both internally and externally. This node is for the 78 - primary bus, used internally and sometimes also externally. 79 - 80 - mdio-external: 81 - $ref: /schemas/net/mdio.yaml# 82 - unevaluatedProperties: false 83 - description: Marvell MV88E6xxx switches that have a separate external 84 - MDIO bus use this port to access external components on the MDIO bus. 85 - 86 - properties: 87 - compatible: 88 - const: marvell,mv88e6xxx-mdio-external 89 - 90 - required: 91 - - compatible 92 - 93 - allOf: 94 - - $ref: dsa.yaml#/$defs/ethernet-ports 95 - 96 - required: 97 - - compatible 98 - - reg 99 - 100 - unevaluatedProperties: false 101 - 102 - examples: 103 - - | 104 - #include <dt-bindings/gpio/gpio.h> 105 - mdio { 106 - #address-cells = <1>; 107 - #size-cells = <0>; 108 - 109 - ethernet-switch@0 { 110 - compatible = "marvell,mv88e6085"; 111 - reg = <0>; 112 - reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; 113 - 114 - mdio { 115 - #address-cells = <1>; 116 - #size-cells = <0>; 117 - 118 - sw_phy0: ethernet-phy@0 { 119 - reg = <0x0>; 120 - }; 121 - 122 - sw_phy1: ethernet-phy@1 { 123 - reg = <0x1>; 124 - }; 125 - 126 - sw_phy2: ethernet-phy@2 { 127 - reg = <0x2>; 128 - }; 129 - 130 - sw_phy3: ethernet-phy@3 { 131 - reg = <0x3>; 132 - }; 133 - }; 134 - 135 - ethernet-ports { 136 - #address-cells = <1>; 137 - #size-cells = <0>; 138 - 139 - ethernet-port@0 { 140 - reg = <0>; 141 - label = "lan4"; 142 - phy-handle = <&sw_phy0>; 143 - phy-mode = "internal"; 144 - }; 145 - 146 - ethernet-port@1 { 147 - reg = <1>; 148 - label = "lan3"; 149 - phy-handle = <&sw_phy1>; 150 - phy-mode = "internal"; 151 - }; 152 - 153 - ethernet-port@2 { 154 - reg = <2>; 155 - label = "lan2"; 156 - phy-handle = <&sw_phy2>; 157 - phy-mode = "internal"; 158 - }; 159 - 160 - ethernet-port@3 { 161 - reg = <3>; 162 - label = "lan1"; 163 - phy-handle = <&sw_phy3>; 164 - phy-mode = "internal"; 165 - }; 166 - 167 - ethernet-port@5 { 168 - reg = <5>; 169 - ethernet = <&fec>; 170 - phy-mode = "rgmii-id"; 171 - 172 - fixed-link { 173 - speed = <1000>; 174 - full-duplex; 175 - }; 176 - }; 177 - }; 178 - }; 179 - }; 180 - - | 181 - #include <dt-bindings/interrupt-controller/irq.h> 182 - mdio { 183 - #address-cells = <1>; 184 - #size-cells = <0>; 185 - 186 - ethernet-switch@0 { 187 - compatible = "marvell,mv88e6190"; 188 - #interrupt-cells = <2>; 189 - interrupt-controller; 190 - interrupt-parent = <&gpio1>; 191 - interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 192 - pinctrl-0 = <&switch_interrupt_pins>; 193 - pinctrl-names = "default"; 194 - reg = <0>; 195 - 196 - mdio { 197 - #address-cells = <1>; 198 - #size-cells = <0>; 199 - 200 - switch0phy1: ethernet-phy@1 { 201 - reg = <0x1>; 202 - }; 203 - 204 - switch0phy2: ethernet-phy@2 { 205 - reg = <0x2>; 206 - }; 207 - 208 - switch0phy3: ethernet-phy@3 { 209 - reg = <0x3>; 210 - }; 211 - 212 - switch0phy4: ethernet-phy@4 { 213 - reg = <0x4>; 214 - }; 215 - 216 - switch0phy5: ethernet-phy@5 { 217 - reg = <0x5>; 218 - }; 219 - 220 - switch0phy6: ethernet-phy@6 { 221 - reg = <0x6>; 222 - }; 223 - 224 - switch0phy7: ethernet-phy@7 { 225 - reg = <0x7>; 226 - }; 227 - 228 - switch0phy8: ethernet-phy@8 { 229 - reg = <0x8>; 230 - }; 231 - }; 232 - 233 - mdio-external { 234 - compatible = "marvell,mv88e6xxx-mdio-external"; 235 - #address-cells = <1>; 236 - #size-cells = <0>; 237 - 238 - phy1: ethernet-phy@b { 239 - reg = <0xb>; 240 - compatible = "ethernet-phy-ieee802.3-c45"; 241 - }; 242 - 243 - phy2: ethernet-phy@c { 244 - reg = <0xc>; 245 - compatible = "ethernet-phy-ieee802.3-c45"; 246 - }; 247 - }; 248 - 249 - ethernet-ports { 250 - #address-cells = <1>; 251 - #size-cells = <0>; 252 - 253 - ethernet-port@0 { 254 - ethernet = <&eth0>; 255 - phy-mode = "rgmii"; 256 - reg = <0>; 257 - 258 - fixed-link { 259 - full-duplex; 260 - pause; 261 - speed = <1000>; 262 - }; 263 - }; 264 - 265 - ethernet-port@1 { 266 - label = "lan1"; 267 - phy-handle = <&switch0phy1>; 268 - reg = <1>; 269 - }; 270 - 271 - ethernet-port@2 { 272 - label = "lan2"; 273 - phy-handle = <&switch0phy2>; 274 - reg = <2>; 275 - }; 276 - 277 - ethernet-port@3 { 278 - label = "lan3"; 279 - phy-handle = <&switch0phy3>; 280 - reg = <3>; 281 - }; 282 - 283 - ethernet-port@4 { 284 - label = "lan4"; 285 - phy-handle = <&switch0phy4>; 286 - reg = <4>; 287 - }; 288 - 289 - ethernet-port@5 { 290 - label = "lan5"; 291 - phy-handle = <&switch0phy5>; 292 - reg = <5>; 293 - }; 294 - 295 - ethernet-port@6 { 296 - label = "lan6"; 297 - phy-handle = <&switch0phy6>; 298 - reg = <6>; 299 - }; 300 - 301 - ethernet-port@7 { 302 - label = "lan7"; 303 - phy-handle = <&switch0phy7>; 304 - reg = <7>; 305 - }; 306 - 307 - ethernet-port@8 { 308 - label = "lan8"; 309 - phy-handle = <&switch0phy8>; 310 - reg = <8>; 311 - }; 312 - 313 - ethernet-port@9 { 314 - /* 88X3310P external phy */ 315 - label = "lan9"; 316 - phy-handle = <&phy1>; 317 - phy-mode = "xaui"; 318 - reg = <9>; 319 - }; 320 - 321 - ethernet-port@a { 322 - /* 88X3310P external phy */ 323 - label = "lan10"; 324 - phy-handle = <&phy2>; 325 - phy-mode = "xaui"; 326 - reg = <0xa>; 327 - }; 328 - }; 329 - }; 330 - };
+109
Documentation/devicetree/bindings/net/dsa/marvell.txt
··· 1 + Marvell DSA Switch Device Tree Bindings 2 + --------------------------------------- 3 + 4 + WARNING: This binding is currently unstable. Do not program it into a 5 + FLASH never to be changed again. Once this binding is stable, this 6 + warning will be removed. 7 + 8 + If you need a stable binding, use the old dsa.txt binding. 9 + 10 + Marvell Switches are MDIO devices. The following properties should be 11 + placed as a child node of an mdio device. 12 + 13 + The properties described here are those specific to Marvell devices. 14 + Additional required and optional properties can be found in dsa.txt. 15 + 16 + The compatibility string is used only to find an identification register, 17 + which is at a different MDIO base address in different switch families. 18 + - "marvell,mv88e6085" : Switch has base address 0x10. Use with models: 19 + 6085, 6095, 6097, 6123, 6131, 6141, 6161, 6165, 20 + 6171, 6172, 6175, 6176, 6185, 6240, 6320, 6321, 21 + 6341, 6350, 6351, 6352 22 + - "marvell,mv88e6190" : Switch has base address 0x00. Use with models: 23 + 6190, 6190X, 6191, 6290, 6361, 6390, 6390X 24 + - "marvell,mv88e6250" : Switch has base address 0x08 or 0x18. Use with model: 25 + 6220, 6250 26 + 27 + Required properties: 28 + - compatible : Should be one of "marvell,mv88e6085", 29 + "marvell,mv88e6190" or "marvell,mv88e6250" as 30 + indicated above 31 + - reg : Address on the MII bus for the switch. 32 + 33 + Optional properties: 34 + 35 + - reset-gpios : Should be a gpio specifier for a reset line 36 + - interrupts : Interrupt from the switch 37 + - interrupt-controller : Indicates the switch is itself an interrupt 38 + controller. This is used for the PHY interrupts. 39 + #interrupt-cells = <2> : Controller uses two cells, number and flag 40 + - eeprom-length : Set to the length of an EEPROM connected to the 41 + switch. Must be set if the switch can not detect 42 + the presence and/or size of a connected EEPROM, 43 + otherwise optional. 44 + - mdio : Container of PHY and devices on the switches MDIO 45 + bus. 46 + - mdio? : Container of PHYs and devices on the external MDIO 47 + bus. The node must contains a compatible string of 48 + "marvell,mv88e6xxx-mdio-external" 49 + 50 + Example: 51 + 52 + mdio { 53 + #address-cells = <1>; 54 + #size-cells = <0>; 55 + interrupt-parent = <&gpio0>; 56 + interrupts = <27 IRQ_TYPE_LEVEL_LOW>; 57 + interrupt-controller; 58 + #interrupt-cells = <2>; 59 + 60 + switch0: switch@0 { 61 + compatible = "marvell,mv88e6085"; 62 + reg = <0>; 63 + reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; 64 + 65 + mdio { 66 + #address-cells = <1>; 67 + #size-cells = <0>; 68 + switch1phy0: switch1phy0@0 { 69 + reg = <0>; 70 + interrupt-parent = <&switch0>; 71 + interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; 72 + }; 73 + }; 74 + }; 75 + }; 76 + 77 + mdio { 78 + #address-cells = <1>; 79 + #size-cells = <0>; 80 + interrupt-parent = <&gpio0>; 81 + interrupts = <27 IRQ_TYPE_LEVEL_LOW>; 82 + interrupt-controller; 83 + #interrupt-cells = <2>; 84 + 85 + switch0: switch@0 { 86 + compatible = "marvell,mv88e6190"; 87 + reg = <0>; 88 + reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; 89 + 90 + mdio { 91 + #address-cells = <1>; 92 + #size-cells = <0>; 93 + switch1phy0: switch1phy0@0 { 94 + reg = <0>; 95 + interrupt-parent = <&switch0>; 96 + interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; 97 + }; 98 + }; 99 + 100 + mdio1 { 101 + compatible = "marvell,mv88e6xxx-mdio-external"; 102 + #address-cells = <1>; 103 + #size-cells = <0>; 104 + switch1phy9: switch1phy0@9 { 105 + reg = <9>; 106 + }; 107 + }; 108 + }; 109 + };
+2 -5
Documentation/devicetree/bindings/net/marvell,mvusb.yaml
··· 50 50 #address-cells = <1>; 51 51 #size-cells = <0>; 52 52 53 - ethernet-switch@0 { 53 + switch@0 { 54 54 compatible = "marvell,mv88e6190"; 55 55 reg = <0x0>; 56 56 57 - ethernet-ports { 58 - #address-cells = <1>; 59 - #size-cells = <0>; 60 - 57 + ports { 61 58 /* Port definitions */ 62 59 }; 63 60
+1 -2
MAINTAINERS
··· 12626 12626 M: Andrew Lunn <andrew@lunn.ch> 12627 12627 L: netdev@vger.kernel.org 12628 12628 S: Maintained 12629 - F: Documentation/devicetree/bindings/net/dsa/marvell,mv88e6060.yaml 12630 - F: Documentation/devicetree/bindings/net/dsa/marvell,mv88e6xxx.yaml 12629 + F: Documentation/devicetree/bindings/net/dsa/marvell.txt 12631 12630 F: Documentation/networking/devlink/mv88e6xxx.rst 12632 12631 F: drivers/net/dsa/mv88e6xxx/ 12633 12632 F: include/linux/dsa/mv88e6xxx.h
+13 -11
arch/arm/boot/dts/marvell/armada-370-rd.dts
··· 149 149 }; 150 150 }; 151 151 152 - switch: ethernet-switch@10 { 152 + switch: switch@10 { 153 153 compatible = "marvell,mv88e6085"; 154 + #address-cells = <1>; 155 + #size-cells = <0>; 154 156 reg = <0x10>; 155 157 interrupt-controller; 156 158 #interrupt-cells = <2>; 157 159 158 - ethernet-ports { 160 + ports { 159 161 #address-cells = <1>; 160 162 #size-cells = <0>; 161 163 162 - ethernet-port@0 { 164 + port@0 { 163 165 reg = <0>; 164 166 label = "lan0"; 165 167 }; 166 168 167 - ethernet-port@1 { 169 + port@1 { 168 170 reg = <1>; 169 171 label = "lan1"; 170 172 }; 171 173 172 - ethernet-port@2 { 174 + port@2 { 173 175 reg = <2>; 174 176 label = "lan2"; 175 177 }; 176 178 177 - ethernet-port@3 { 179 + port@3 { 178 180 reg = <3>; 179 181 label = "lan3"; 180 182 }; 181 183 182 - ethernet-port@5 { 184 + port@5 { 183 185 reg = <5>; 184 186 ethernet = <&eth1>; 185 187 phy-mode = "rgmii-id"; ··· 196 194 #address-cells = <1>; 197 195 #size-cells = <0>; 198 196 199 - switchphy0: ethernet-phy@0 { 197 + switchphy0: switchphy@0 { 200 198 reg = <0>; 201 199 interrupt-parent = <&switch>; 202 200 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; 203 201 }; 204 202 205 - switchphy1: ethernet-phy@1 { 203 + switchphy1: switchphy@1 { 206 204 reg = <1>; 207 205 interrupt-parent = <&switch>; 208 206 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>; 209 207 }; 210 208 211 - switchphy2: ethernet-phy@2 { 209 + switchphy2: switchphy@2 { 212 210 reg = <2>; 213 211 interrupt-parent = <&switch>; 214 212 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; 215 213 }; 216 214 217 - switchphy3: ethernet-phy@3 { 215 + switchphy3: switchphy@3 { 218 216 reg = <3>; 219 217 interrupt-parent = <&switch>; 220 218 interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
+23 -21
arch/arm/boot/dts/marvell/armada-381-netgear-gs110emx.dts
··· 77 77 pinctrl-0 = <&mdio_pins>; 78 78 status = "okay"; 79 79 80 - ethernet-switch@0 { 80 + switch@0 { 81 81 compatible = "marvell,mv88e6190"; 82 + #address-cells = <1>; 82 83 #interrupt-cells = <2>; 83 84 interrupt-controller; 84 85 interrupt-parent = <&gpio1>; 85 86 interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 86 87 pinctrl-0 = <&switch_interrupt_pins>; 87 88 pinctrl-names = "default"; 89 + #size-cells = <0>; 88 90 reg = <0>; 89 91 90 92 mdio { 91 93 #address-cells = <1>; 92 94 #size-cells = <0>; 93 95 94 - switch0phy1: ethernet-phy@1 { 96 + switch0phy1: switch0phy1@1 { 95 97 reg = <0x1>; 96 98 }; 97 99 98 - switch0phy2: ethernet-phy@2 { 100 + switch0phy2: switch0phy2@2 { 99 101 reg = <0x2>; 100 102 }; 101 103 102 - switch0phy3: ethernet-phy@3 { 104 + switch0phy3: switch0phy3@3 { 103 105 reg = <0x3>; 104 106 }; 105 107 106 - switch0phy4: ethernet-phy@4 { 108 + switch0phy4: switch0phy4@4 { 107 109 reg = <0x4>; 108 110 }; 109 111 110 - switch0phy5: ethernet-phy@5 { 112 + switch0phy5: switch0phy5@5 { 111 113 reg = <0x5>; 112 114 }; 113 115 114 - switch0phy6: ethernet-phy@6 { 116 + switch0phy6: switch0phy6@6 { 115 117 reg = <0x6>; 116 118 }; 117 119 118 - switch0phy7: ethernet-phy@7 { 120 + switch0phy7: switch0phy7@7 { 119 121 reg = <0x7>; 120 122 }; 121 123 122 - switch0phy8: ethernet-phy@8 { 124 + switch0phy8: switch0phy8@8 { 123 125 reg = <0x8>; 124 126 }; 125 127 }; ··· 142 140 }; 143 141 }; 144 142 145 - ethernet-ports { 143 + ports { 146 144 #address-cells = <1>; 147 145 #size-cells = <0>; 148 146 149 - ethernet-port@0 { 147 + port@0 { 150 148 ethernet = <&eth0>; 151 149 phy-mode = "rgmii"; 152 150 reg = <0>; ··· 158 156 }; 159 157 }; 160 158 161 - ethernet-port@1 { 159 + port@1 { 162 160 label = "lan1"; 163 161 phy-handle = <&switch0phy1>; 164 162 reg = <1>; 165 163 }; 166 164 167 - ethernet-port@2 { 165 + port@2 { 168 166 label = "lan2"; 169 167 phy-handle = <&switch0phy2>; 170 168 reg = <2>; 171 169 }; 172 170 173 - ethernet-port@3 { 171 + port@3 { 174 172 label = "lan3"; 175 173 phy-handle = <&switch0phy3>; 176 174 reg = <3>; 177 175 }; 178 176 179 - ethernet-port@4 { 177 + port@4 { 180 178 label = "lan4"; 181 179 phy-handle = <&switch0phy4>; 182 180 reg = <4>; 183 181 }; 184 182 185 - ethernet-port@5 { 183 + port@5 { 186 184 label = "lan5"; 187 185 phy-handle = <&switch0phy5>; 188 186 reg = <5>; 189 187 }; 190 188 191 - ethernet-port@6 { 189 + port@6 { 192 190 label = "lan6"; 193 191 phy-handle = <&switch0phy6>; 194 192 reg = <6>; 195 193 }; 196 194 197 - ethernet-port@7 { 195 + port@7 { 198 196 label = "lan7"; 199 197 phy-handle = <&switch0phy7>; 200 198 reg = <7>; 201 199 }; 202 200 203 - ethernet-port@8 { 201 + port@8 { 204 202 label = "lan8"; 205 203 phy-handle = <&switch0phy8>; 206 204 reg = <8>; 207 205 }; 208 206 209 - ethernet-port@9 { 207 + port@9 { 210 208 /* 88X3310P external phy */ 211 209 label = "lan9"; 212 210 phy-handle = <&phy1>; ··· 214 212 reg = <9>; 215 213 }; 216 214 217 - ethernet-port@a { 215 + port@a { 218 216 /* 88X3310P external phy */ 219 217 label = "lan10"; 220 218 phy-handle = <&phy2>;
+19 -19
arch/arm/boot/dts/marvell/armada-385-clearfog-gtr-l8.dts
··· 7 7 }; 8 8 9 9 &mdio { 10 - switch0: ethernet-switch@4 { 10 + switch0: switch0@4 { 11 11 compatible = "marvell,mv88e6190"; 12 12 reg = <4>; 13 13 pinctrl-names = "default"; 14 14 pinctrl-0 = <&cf_gtr_switch_reset_pins>; 15 15 reset-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; 16 16 17 - ethernet-ports { 17 + ports { 18 18 #address-cells = <1>; 19 19 #size-cells = <0>; 20 20 21 - ethernet-port@1 { 21 + port@1 { 22 22 reg = <1>; 23 23 label = "lan8"; 24 24 phy-handle = <&switch0phy0>; 25 25 }; 26 26 27 - ethernet-port@2 { 27 + port@2 { 28 28 reg = <2>; 29 29 label = "lan7"; 30 30 phy-handle = <&switch0phy1>; 31 31 }; 32 32 33 - ethernet-port@3 { 33 + port@3 { 34 34 reg = <3>; 35 35 label = "lan6"; 36 36 phy-handle = <&switch0phy2>; 37 37 }; 38 38 39 - ethernet-port@4 { 39 + port@4 { 40 40 reg = <4>; 41 41 label = "lan5"; 42 42 phy-handle = <&switch0phy3>; 43 43 }; 44 44 45 - ethernet-port@5 { 45 + port@5 { 46 46 reg = <5>; 47 47 label = "lan4"; 48 48 phy-handle = <&switch0phy4>; 49 49 }; 50 50 51 - ethernet-port@6 { 51 + port@6 { 52 52 reg = <6>; 53 53 label = "lan3"; 54 54 phy-handle = <&switch0phy5>; 55 55 }; 56 56 57 - ethernet-port@7 { 57 + port@7 { 58 58 reg = <7>; 59 59 label = "lan2"; 60 60 phy-handle = <&switch0phy6>; 61 61 }; 62 62 63 - ethernet-port@8 { 63 + port@8 { 64 64 reg = <8>; 65 65 label = "lan1"; 66 66 phy-handle = <&switch0phy7>; 67 67 }; 68 68 69 - ethernet-port@10 { 69 + port@10 { 70 70 reg = <10>; 71 71 phy-mode = "2500base-x"; 72 72 ··· 83 83 #address-cells = <1>; 84 84 #size-cells = <0>; 85 85 86 - switch0phy0: ethernet-phy@1 { 86 + switch0phy0: switch0phy0@1 { 87 87 reg = <0x1>; 88 88 }; 89 89 90 - switch0phy1: ethernet-phy@2 { 90 + switch0phy1: switch0phy1@2 { 91 91 reg = <0x2>; 92 92 }; 93 93 94 - switch0phy2: ethernet-phy@3 { 94 + switch0phy2: switch0phy2@3 { 95 95 reg = <0x3>; 96 96 }; 97 97 98 - switch0phy3: ethernet-phy@4 { 98 + switch0phy3: switch0phy3@4 { 99 99 reg = <0x4>; 100 100 }; 101 101 102 - switch0phy4: ethernet-phy@5 { 102 + switch0phy4: switch0phy4@5 { 103 103 reg = <0x5>; 104 104 }; 105 105 106 - switch0phy5: ethernet-phy@6 { 106 + switch0phy5: switch0phy5@6 { 107 107 reg = <0x6>; 108 108 }; 109 109 110 - switch0phy6: ethernet-phy@7 { 110 + switch0phy6: switch0phy6@7 { 111 111 reg = <0x7>; 112 112 }; 113 113 114 - switch0phy7: ethernet-phy@8 { 114 + switch0phy7: switch0phy7@8 { 115 115 reg = <0x8>; 116 116 }; 117 117 };
+11 -11
arch/arm/boot/dts/marvell/armada-385-clearfog-gtr-s4.dts
··· 11 11 }; 12 12 13 13 &mdio { 14 - switch0: ethernet-switch@4 { 14 + switch0: switch0@4 { 15 15 compatible = "marvell,mv88e6085"; 16 16 reg = <4>; 17 17 pinctrl-names = "default"; 18 18 pinctrl-0 = <&cf_gtr_switch_reset_pins>; 19 19 reset-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; 20 20 21 - ethernet-ports { 21 + ports { 22 22 #address-cells = <1>; 23 23 #size-cells = <0>; 24 24 25 - ethernet-port@1 { 25 + port@1 { 26 26 reg = <1>; 27 27 label = "lan2"; 28 28 phy-handle = <&switch0phy0>; 29 29 }; 30 30 31 - ethernet-port@2 { 31 + port@2 { 32 32 reg = <2>; 33 33 label = "lan1"; 34 34 phy-handle = <&switch0phy1>; 35 35 }; 36 36 37 - ethernet-port@3 { 37 + port@3 { 38 38 reg = <3>; 39 39 label = "lan4"; 40 40 phy-handle = <&switch0phy2>; 41 41 }; 42 42 43 - ethernet-port@4 { 43 + port@4 { 44 44 reg = <4>; 45 45 label = "lan3"; 46 46 phy-handle = <&switch0phy3>; 47 47 }; 48 48 49 - ethernet-port@5 { 49 + port@5 { 50 50 reg = <5>; 51 51 phy-mode = "2500base-x"; 52 52 ethernet = <&eth1>; ··· 63 63 #address-cells = <1>; 64 64 #size-cells = <0>; 65 65 66 - switch0phy0: ethernet-phy@11 { 66 + switch0phy0: switch0phy0@11 { 67 67 reg = <0x11>; 68 68 }; 69 69 70 - switch0phy1: ethernet-phy@12 { 70 + switch0phy1: switch0phy1@12 { 71 71 reg = <0x12>; 72 72 }; 73 73 74 - switch0phy2: ethernet-phy@13 { 74 + switch0phy2: switch0phy2@13 { 75 75 reg = <0x13>; 76 76 }; 77 77 78 - switch0phy3: ethernet-phy@14 { 78 + switch0phy3: switch0phy3@14 { 79 79 reg = <0x14>; 80 80 }; 81 81 };
+10 -8
arch/arm/boot/dts/marvell/armada-385-linksys.dtsi
··· 158 158 &mdio { 159 159 status = "okay"; 160 160 161 - ethernet-switch@0 { 161 + switch@0 { 162 162 compatible = "marvell,mv88e6085"; 163 + #address-cells = <1>; 164 + #size-cells = <0>; 163 165 reg = <0>; 164 166 165 - ethernet-ports { 167 + ports { 166 168 #address-cells = <1>; 167 169 #size-cells = <0>; 168 170 169 - ethernet-port@0 { 171 + port@0 { 170 172 reg = <0>; 171 173 label = "lan4"; 172 174 }; 173 175 174 - ethernet-port@1 { 176 + port@1 { 175 177 reg = <1>; 176 178 label = "lan3"; 177 179 }; 178 180 179 - ethernet-port@2 { 181 + port@2 { 180 182 reg = <2>; 181 183 label = "lan2"; 182 184 }; 183 185 184 - ethernet-port@3 { 186 + port@3 { 185 187 reg = <3>; 186 188 label = "lan1"; 187 189 }; 188 190 189 - ethernet-port@4 { 191 + port@4 { 190 192 reg = <4>; 191 193 label = "wan"; 192 194 }; 193 195 194 - ethernet-port@5 { 196 + port@5 { 195 197 reg = <5>; 196 198 phy-mode = "sgmii"; 197 199 ethernet = <&eth2>;
+11 -9
arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts
··· 435 435 }; 436 436 437 437 /* Switch MV88E6176 at address 0x10 */ 438 - ethernet-switch@10 { 438 + switch@10 { 439 439 pinctrl-names = "default"; 440 440 pinctrl-0 = <&swint_pins>; 441 441 compatible = "marvell,mv88e6085"; 442 + #address-cells = <1>; 443 + #size-cells = <0>; 442 444 443 445 dsa,member = <0 0>; 444 446 reg = <0x10>; ··· 448 446 interrupt-parent = <&gpio1>; 449 447 interrupts = <13 IRQ_TYPE_LEVEL_LOW>; 450 448 451 - ethernet-ports { 449 + ports { 452 450 #address-cells = <1>; 453 451 #size-cells = <0>; 454 452 455 - ethernet-port@0 { 453 + ports@0 { 456 454 reg = <0>; 457 455 label = "lan0"; 458 456 }; 459 457 460 - ethernet-port@1 { 458 + ports@1 { 461 459 reg = <1>; 462 460 label = "lan1"; 463 461 }; 464 462 465 - ethernet-port@2 { 463 + ports@2 { 466 464 reg = <2>; 467 465 label = "lan2"; 468 466 }; 469 467 470 - ethernet-port@3 { 468 + ports@3 { 471 469 reg = <3>; 472 470 label = "lan3"; 473 471 }; 474 472 475 - ethernet-port@4 { 473 + ports@4 { 476 474 reg = <4>; 477 475 label = "lan4"; 478 476 }; 479 477 480 - ethernet-port@5 { 478 + ports@5 { 481 479 reg = <5>; 482 480 ethernet = <&eth1>; 483 481 phy-mode = "rgmii-id"; ··· 488 486 }; 489 487 }; 490 488 491 - ethernet-port@6 { 489 + ports@6 { 492 490 reg = <6>; 493 491 ethernet = <&eth0>; 494 492 phy-mode = "rgmii-id";
+11 -9
arch/arm/boot/dts/marvell/armada-388-clearfog.dts
··· 92 92 &mdio { 93 93 status = "okay"; 94 94 95 - ethernet-switch@4 { 95 + switch@4 { 96 96 compatible = "marvell,mv88e6085"; 97 + #address-cells = <1>; 98 + #size-cells = <0>; 97 99 reg = <4>; 98 100 pinctrl-0 = <&clearfog_dsa0_clk_pins &clearfog_dsa0_pins>; 99 101 pinctrl-names = "default"; 100 102 101 - ethernet-ports { 103 + ports { 102 104 #address-cells = <1>; 103 105 #size-cells = <0>; 104 106 105 - ethernet-port@0 { 107 + port@0 { 106 108 reg = <0>; 107 109 label = "lan5"; 108 110 }; 109 111 110 - ethernet-port@1 { 112 + port@1 { 111 113 reg = <1>; 112 114 label = "lan4"; 113 115 }; 114 116 115 - ethernet-port@2 { 117 + port@2 { 116 118 reg = <2>; 117 119 label = "lan3"; 118 120 }; 119 121 120 - ethernet-port@3 { 122 + port@3 { 121 123 reg = <3>; 122 124 label = "lan2"; 123 125 }; 124 126 125 - ethernet-port@4 { 127 + port@4 { 126 128 reg = <4>; 127 129 label = "lan1"; 128 130 }; 129 131 130 - ethernet-port@5 { 132 + port@5 { 131 133 reg = <5>; 132 134 ethernet = <&eth1>; 133 135 phy-mode = "1000base-x"; ··· 140 138 }; 141 139 }; 142 140 143 - ethernet-port@6 { 141 + port@6 { 144 142 /* 88E1512 external phy */ 145 143 reg = <6>; 146 144 label = "lan6";
+10 -8
arch/arm/boot/dts/marvell/armada-xp-linksys-mamba.dts
··· 265 265 &mdio { 266 266 status = "okay"; 267 267 268 - ethernet-switch@0 { 268 + switch@0 { 269 269 compatible = "marvell,mv88e6085"; 270 + #address-cells = <1>; 271 + #size-cells = <0>; 270 272 reg = <0>; 271 273 272 - ethernet-ports { 274 + ports { 273 275 #address-cells = <1>; 274 276 #size-cells = <0>; 275 277 276 - ethernet-port@0 { 278 + port@0 { 277 279 reg = <0>; 278 280 label = "lan4"; 279 281 }; 280 282 281 - ethernet-port@1 { 283 + port@1 { 282 284 reg = <1>; 283 285 label = "lan3"; 284 286 }; 285 287 286 - ethernet-port@2 { 288 + port@2 { 287 289 reg = <2>; 288 290 label = "lan2"; 289 291 }; 290 292 291 - ethernet-port@3 { 293 + port@3 { 292 294 reg = <3>; 293 295 label = "lan1"; 294 296 }; 295 297 296 - ethernet-port@4 { 298 + port@4 { 297 299 reg = <4>; 298 300 label = "internet"; 299 301 }; 300 302 301 - ethernet-port@5 { 303 + port@5 { 302 304 reg = <5>; 303 305 phy-mode = "rgmii-id"; 304 306 ethernet = <&eth0>;
+7 -7
arch/arm/boot/dts/nxp/vf/vf610-zii-cfu1.dts
··· 162 162 suppress-preamble; 163 163 status = "okay"; 164 164 165 - switch0: ethernet-switch@0 { 165 + switch0: switch0@0 { 166 166 compatible = "marvell,mv88e6085"; 167 167 pinctrl-names = "default"; 168 168 pinctrl-0 = <&pinctrl_switch>; ··· 173 173 interrupt-controller; 174 174 #interrupt-cells = <2>; 175 175 176 - ethernet-ports { 176 + ports { 177 177 #address-cells = <1>; 178 178 #size-cells = <0>; 179 179 180 - ethernet-port@0 { 180 + port@0 { 181 181 reg = <0>; 182 182 label = "eth_cu_1000_1"; 183 183 }; 184 184 185 - ethernet-port@1 { 185 + port@1 { 186 186 reg = <1>; 187 187 label = "eth_cu_1000_2"; 188 188 }; 189 189 190 - ethernet-port@2 { 190 + port@2 { 191 191 reg = <2>; 192 192 label = "eth_cu_1000_3"; 193 193 }; 194 194 195 - ethernet-port@5 { 195 + port@5 { 196 196 reg = <5>; 197 197 label = "eth_fc_1000_1"; 198 198 phy-mode = "1000base-x"; ··· 200 200 sfp = <&sff>; 201 201 }; 202 202 203 - ethernet-port@6 { 203 + port@6 { 204 204 reg = <6>; 205 205 phy-mode = "rmii"; 206 206 ethernet = <&fec1>;
+35 -35
arch/arm/boot/dts/nxp/vf/vf610-zii-scu4-aib.dts
··· 47 47 #address-cells = <1>; 48 48 #size-cells = <0>; 49 49 50 - switch0: ethernet-switch@0 { 50 + switch0: switch0@0 { 51 51 compatible = "marvell,mv88e6190"; 52 52 reg = <0>; 53 53 dsa,member = <0 0>; 54 54 eeprom-length = <65536>; 55 55 56 - ethernet-ports { 56 + ports { 57 57 #address-cells = <1>; 58 58 #size-cells = <0>; 59 59 60 - ethernet-port@0 { 60 + port@0 { 61 61 reg = <0>; 62 62 phy-mode = "rmii"; 63 63 ethernet = <&fec1>; ··· 68 68 }; 69 69 }; 70 70 71 - ethernet-port@1 { 71 + port@1 { 72 72 reg = <1>; 73 73 label = "aib2main_1"; 74 74 }; 75 75 76 - ethernet-port@2 { 76 + port@2 { 77 77 reg = <2>; 78 78 label = "aib2main_2"; 79 79 }; 80 80 81 - ethernet-port@3 { 81 + port@3 { 82 82 reg = <3>; 83 83 label = "eth_cu_1000_5"; 84 84 }; 85 85 86 - ethernet-port@4 { 86 + port@4 { 87 87 reg = <4>; 88 88 label = "eth_cu_1000_6"; 89 89 }; 90 90 91 - ethernet-port@5 { 91 + port@5 { 92 92 reg = <5>; 93 93 label = "eth_cu_1000_4"; 94 94 }; 95 95 96 - ethernet-port@6 { 96 + port@6 { 97 97 reg = <6>; 98 98 label = "eth_cu_1000_7"; 99 99 }; 100 100 101 - ethernet-port@7 { 101 + port@7 { 102 102 reg = <7>; 103 103 label = "modem_pic"; 104 104 ··· 108 108 }; 109 109 }; 110 110 111 - switch0port10: ethernet-port@10 { 111 + switch0port10: port@10 { 112 112 reg = <10>; 113 113 label = "dsa"; 114 114 phy-mode = "xgmii"; ··· 130 130 #address-cells = <1>; 131 131 #size-cells = <0>; 132 132 133 - switch1: ethernet-switch@0 { 133 + switch1: switch1@0 { 134 134 compatible = "marvell,mv88e6190"; 135 135 reg = <0>; 136 136 dsa,member = <0 1>; 137 137 eeprom-length = <65536>; 138 138 139 - ethernet-ports { 139 + ports { 140 140 #address-cells = <1>; 141 141 #size-cells = <0>; 142 142 143 - ethernet-port@1 { 143 + port@1 { 144 144 reg = <1>; 145 145 label = "eth_cu_1000_3"; 146 146 }; 147 147 148 - ethernet-port@2 { 148 + port@2 { 149 149 reg = <2>; 150 150 label = "eth_cu_100_2"; 151 151 }; 152 152 153 - ethernet-port@3 { 153 + port@3 { 154 154 reg = <3>; 155 155 label = "eth_cu_100_3"; 156 156 }; 157 157 158 - switch1port9: ethernet-port@9 { 158 + switch1port9: port@9 { 159 159 reg = <9>; 160 160 label = "dsa"; 161 161 phy-mode = "xgmii"; ··· 168 168 }; 169 169 }; 170 170 171 - switch1port10: ethernet-port@10 { 171 + switch1port10: port@10 { 172 172 reg = <10>; 173 173 label = "dsa"; 174 174 phy-mode = "xgmii"; ··· 188 188 #address-cells = <1>; 189 189 #size-cells = <0>; 190 190 191 - switch2: ethernet-switch@0 { 191 + switch2: switch2@0 { 192 192 compatible = "marvell,mv88e6190"; 193 193 reg = <0>; 194 194 dsa,member = <0 2>; 195 195 eeprom-length = <65536>; 196 196 197 - ethernet-ports { 197 + ports { 198 198 #address-cells = <1>; 199 199 #size-cells = <0>; 200 200 201 - ethernet-port@2 { 201 + port@2 { 202 202 reg = <2>; 203 203 label = "eth_fc_1000_2"; 204 204 phy-mode = "1000base-x"; ··· 206 206 sfp = <&sff1>; 207 207 }; 208 208 209 - ethernet-port@3 { 209 + port@3 { 210 210 reg = <3>; 211 211 label = "eth_fc_1000_3"; 212 212 phy-mode = "1000base-x"; ··· 214 214 sfp = <&sff2>; 215 215 }; 216 216 217 - ethernet-port@4 { 217 + port@4 { 218 218 reg = <4>; 219 219 label = "eth_fc_1000_4"; 220 220 phy-mode = "1000base-x"; ··· 222 222 sfp = <&sff3>; 223 223 }; 224 224 225 - ethernet-port@5 { 225 + port@5 { 226 226 reg = <5>; 227 227 label = "eth_fc_1000_5"; 228 228 phy-mode = "1000base-x"; ··· 230 230 sfp = <&sff4>; 231 231 }; 232 232 233 - ethernet-port@6 { 233 + port@6 { 234 234 reg = <6>; 235 235 label = "eth_fc_1000_6"; 236 236 phy-mode = "1000base-x"; ··· 238 238 sfp = <&sff5>; 239 239 }; 240 240 241 - ethernet-port@7 { 241 + port@7 { 242 242 reg = <7>; 243 243 label = "eth_fc_1000_7"; 244 244 phy-mode = "1000base-x"; ··· 246 246 sfp = <&sff6>; 247 247 }; 248 248 249 - ethernet-port@9 { 249 + port@9 { 250 250 reg = <9>; 251 251 label = "eth_fc_1000_1"; 252 252 phy-mode = "1000base-x"; ··· 254 254 sfp = <&sff0>; 255 255 }; 256 256 257 - switch2port10: ethernet-port@10 { 257 + switch2port10: port@10 { 258 258 reg = <10>; 259 259 label = "dsa"; 260 260 phy-mode = "2500base-x"; ··· 276 276 #address-cells = <1>; 277 277 #size-cells = <0>; 278 278 279 - switch3: ethernet-switch@0 { 279 + switch3: switch3@0 { 280 280 compatible = "marvell,mv88e6190"; 281 281 reg = <0>; 282 282 dsa,member = <0 3>; 283 283 eeprom-length = <65536>; 284 284 285 - ethernet-ports { 285 + ports { 286 286 #address-cells = <1>; 287 287 #size-cells = <0>; 288 288 289 - ethernet-port@2 { 289 + port@2 { 290 290 reg = <2>; 291 291 label = "eth_fc_1000_8"; 292 292 phy-mode = "1000base-x"; ··· 294 294 sfp = <&sff7>; 295 295 }; 296 296 297 - ethernet-port@3 { 297 + port@3 { 298 298 reg = <3>; 299 299 label = "eth_fc_1000_9"; 300 300 phy-mode = "1000base-x"; ··· 302 302 sfp = <&sff8>; 303 303 }; 304 304 305 - ethernet-port@4 { 305 + port@4 { 306 306 reg = <4>; 307 307 label = "eth_fc_1000_10"; 308 308 phy-mode = "1000base-x"; ··· 310 310 sfp = <&sff9>; 311 311 }; 312 312 313 - switch3port9: ethernet-port@9 { 313 + switch3port9: port@9 { 314 314 reg = <9>; 315 315 label = "dsa"; 316 316 phy-mode = "2500base-x"; ··· 322 322 }; 323 323 }; 324 324 325 - switch3port10: ethernet-port@10 { 325 + switch3port10: port@10 { 326 326 reg = <10>; 327 327 label = "dsa"; 328 328 phy-mode = "xgmii";
+9 -9
arch/arm/boot/dts/nxp/vf/vf610-zii-spb4.dts
··· 123 123 suppress-preamble; 124 124 status = "okay"; 125 125 126 - switch0: ethernet-switch@0 { 126 + switch0: switch0@0 { 127 127 compatible = "marvell,mv88e6190"; 128 128 pinctrl-0 = <&pinctrl_gpio_switch0>; 129 129 pinctrl-names = "default"; ··· 134 134 interrupt-controller; 135 135 #interrupt-cells = <2>; 136 136 137 - ethernet-ports { 137 + ports { 138 138 #address-cells = <1>; 139 139 #size-cells = <0>; 140 140 141 - ethernet-port@0 { 141 + port@0 { 142 142 reg = <0>; 143 143 phy-mode = "rmii"; 144 144 ethernet = <&fec1>; ··· 149 149 }; 150 150 }; 151 151 152 - ethernet-port@1 { 152 + port@1 { 153 153 reg = <1>; 154 154 label = "eth_cu_1000_1"; 155 155 }; 156 156 157 - ethernet-port@2 { 157 + port@2 { 158 158 reg = <2>; 159 159 label = "eth_cu_1000_2"; 160 160 }; 161 161 162 - ethernet-port@3 { 162 + port@3 { 163 163 reg = <3>; 164 164 label = "eth_cu_1000_3"; 165 165 }; 166 166 167 - ethernet-port@4 { 167 + port@4 { 168 168 reg = <4>; 169 169 label = "eth_cu_1000_4"; 170 170 }; 171 171 172 - ethernet-port@5 { 172 + port@5 { 173 173 reg = <5>; 174 174 label = "eth_cu_1000_5"; 175 175 }; 176 176 177 - ethernet-port@6 { 177 + port@6 { 178 178 reg = <6>; 179 179 label = "eth_cu_1000_6"; 180 180 };
+10 -10
arch/arm/boot/dts/nxp/vf/vf610-zii-ssmb-dtu.dts
··· 112 112 suppress-preamble; 113 113 status = "okay"; 114 114 115 - switch0: ethernet-switch@0 { 115 + switch0: switch0@0 { 116 116 compatible = "marvell,mv88e6190"; 117 117 pinctrl-0 = <&pinctrl_gpio_switch0>; 118 118 pinctrl-names = "default"; ··· 123 123 interrupt-controller; 124 124 #interrupt-cells = <2>; 125 125 126 - ethernet-ports { 126 + ports { 127 127 #address-cells = <1>; 128 128 #size-cells = <0>; 129 129 130 - ethernet-port@0 { 130 + port@0 { 131 131 reg = <0>; 132 132 phy-mode = "rmii"; 133 133 ethernet = <&fec1>; ··· 138 138 }; 139 139 }; 140 140 141 - ethernet-port@1 { 141 + port@1 { 142 142 reg = <1>; 143 143 label = "eth_cu_100_3"; 144 144 }; 145 145 146 - ethernet-port@5 { 146 + port@5 { 147 147 reg = <5>; 148 148 label = "eth_cu_1000_4"; 149 149 }; 150 150 151 - ethernet-port@6 { 151 + port@6 { 152 152 reg = <6>; 153 153 label = "eth_cu_1000_5"; 154 154 }; 155 155 156 - ethernet-port@8 { 156 + port@8 { 157 157 reg = <8>; 158 158 label = "eth_cu_1000_1"; 159 159 }; 160 160 161 - ethernet-port@9 { 161 + port@9 { 162 162 reg = <9>; 163 163 label = "eth_cu_1000_2"; 164 164 phy-handle = <&phy9>; ··· 167 167 }; 168 168 }; 169 169 170 - mdio-external { 170 + mdio1 { 171 171 compatible = "marvell,mv88e6xxx-mdio-external"; 172 172 #address-cells = <1>; 173 173 #size-cells = <0>; 174 174 175 - phy9: ethernet-phy@0 { 175 + phy9: phy9@0 { 176 176 compatible = "ethernet-phy-ieee802.3-c45"; 177 177 pinctrl-0 = <&pinctrl_gpio_phy9>; 178 178 pinctrl-names = "default";
+9 -9
arch/arm/boot/dts/nxp/vf/vf610-zii-ssmb-spu3.dts
··· 137 137 suppress-preamble; 138 138 status = "okay"; 139 139 140 - switch0: ethernet-switch@0 { 140 + switch0: switch0@0 { 141 141 compatible = "marvell,mv88e6190"; 142 142 pinctrl-0 = <&pinctrl_gpio_switch0>; 143 143 pinctrl-names = "default"; ··· 148 148 interrupt-controller; 149 149 #interrupt-cells = <2>; 150 150 151 - ethernet-ports { 151 + ports { 152 152 #address-cells = <1>; 153 153 #size-cells = <0>; 154 154 155 - ethernet-port@0 { 155 + port@0 { 156 156 reg = <0>; 157 157 phy-mode = "rmii"; 158 158 ethernet = <&fec1>; ··· 163 163 }; 164 164 }; 165 165 166 - ethernet-port@1 { 166 + port@1 { 167 167 reg = <1>; 168 168 label = "eth_cu_1000_1"; 169 169 }; 170 170 171 - ethernet-port@2 { 171 + port@2 { 172 172 reg = <2>; 173 173 label = "eth_cu_1000_2"; 174 174 }; 175 175 176 - ethernet-port@3 { 176 + port@3 { 177 177 reg = <3>; 178 178 label = "eth_cu_1000_3"; 179 179 }; 180 180 181 - ethernet-port@4 { 181 + port@4 { 182 182 reg = <4>; 183 183 label = "eth_cu_1000_4"; 184 184 }; 185 185 186 - ethernet-port@5 { 186 + port@5 { 187 187 reg = <5>; 188 188 label = "eth_cu_1000_5"; 189 189 }; 190 190 191 - ethernet-port@6 { 191 + port@6 { 192 192 reg = <6>; 193 193 label = "eth_cu_1000_6"; 194 194 };
+7 -7
arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts
··· 126 126 127 127 reset-gpios = <&gpiosb 23 GPIO_ACTIVE_LOW>; 128 128 129 - ethernet-ports { 130 - switch0port1: ethernet-port@1 { 129 + ports { 130 + switch0port1: port@1 { 131 131 reg = <1>; 132 132 label = "lan0"; 133 133 phy-handle = <&switch0phy0>; 134 134 }; 135 135 136 - switch0port2: ethernet-port@2 { 136 + switch0port2: port@2 { 137 137 reg = <2>; 138 138 label = "lan1"; 139 139 phy-handle = <&switch0phy1>; 140 140 }; 141 141 142 - switch0port3: ethernet-port@3 { 142 + switch0port3: port@3 { 143 143 reg = <3>; 144 144 label = "lan2"; 145 145 phy-handle = <&switch0phy2>; 146 146 }; 147 147 148 - switch0port4: ethernet-port@4 { 148 + switch0port4: port@4 { 149 149 reg = <4>; 150 150 label = "lan3"; 151 151 phy-handle = <&switch0phy3>; 152 152 }; 153 153 154 - switch0port5: ethernet-port@5 { 154 + switch0port5: port@5 { 155 155 reg = <5>; 156 156 label = "wan"; 157 157 phy-handle = <&extphy>; ··· 160 160 }; 161 161 162 162 mdio { 163 - switch0phy3: ethernet-phy@14 { 163 + switch0phy3: switch0phy3@14 { 164 164 reg = <0x14>; 165 165 }; 166 166 };
+11 -9
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
··· 145 145 }; 146 146 147 147 &mdio { 148 - switch0: ethernet-switch@1 { 148 + switch0: switch0@1 { 149 149 compatible = "marvell,mv88e6085"; 150 + #address-cells = <1>; 151 + #size-cells = <0>; 150 152 reg = <1>; 151 153 152 154 dsa,member = <0 0>; 153 155 154 - ethernet-ports { 156 + ports { 155 157 #address-cells = <1>; 156 158 #size-cells = <0>; 157 159 158 - switch0port0: ethernet-port@0 { 160 + switch0port0: port@0 { 159 161 reg = <0>; 160 162 label = "cpu"; 161 163 ethernet = <&eth0>; ··· 168 166 }; 169 167 }; 170 168 171 - switch0port1: ethernet-port@1 { 169 + switch0port1: port@1 { 172 170 reg = <1>; 173 171 label = "wan"; 174 172 phy-handle = <&switch0phy0>; 175 173 }; 176 174 177 - switch0port2: ethernet-port@2 { 175 + switch0port2: port@2 { 178 176 reg = <2>; 179 177 label = "lan0"; 180 178 phy-handle = <&switch0phy1>; 181 179 }; 182 180 183 - switch0port3: ethernet-port@3 { 181 + switch0port3: port@3 { 184 182 reg = <3>; 185 183 label = "lan1"; 186 184 phy-handle = <&switch0phy2>; ··· 192 190 #address-cells = <1>; 193 191 #size-cells = <0>; 194 192 195 - switch0phy0: ethernet-phy@11 { 193 + switch0phy0: switch0phy0@11 { 196 194 reg = <0x11>; 197 195 }; 198 - switch0phy1: ethernet-phy@12 { 196 + switch0phy1: switch0phy1@12 { 199 197 reg = <0x12>; 200 198 }; 201 - switch0phy2: ethernet-phy@13 { 199 + switch0phy2: switch0phy2@13 { 202 200 reg = <0x13>; 203 201 }; 204 202 };
+11 -9
arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts
··· 152 152 }; 153 153 154 154 &mdio { 155 - switch0: ethernet-switch@1 { 155 + switch0: switch0@1 { 156 156 compatible = "marvell,mv88e6085"; 157 + #address-cells = <1>; 158 + #size-cells = <0>; 157 159 reg = <1>; 158 160 159 161 dsa,member = <0 0>; 160 162 161 - ports: ethernet-ports { 163 + ports: ports { 162 164 #address-cells = <1>; 163 165 #size-cells = <0>; 164 166 165 - ethernet-port@0 { 167 + port@0 { 166 168 reg = <0>; 167 169 label = "cpu"; 168 170 ethernet = <&eth0>; 169 171 }; 170 172 171 - ethernet-port@1 { 173 + port@1 { 172 174 reg = <1>; 173 175 label = "wan"; 174 176 phy-handle = <&switch0phy0>; 175 177 }; 176 178 177 - ethernet-port@2 { 179 + port@2 { 178 180 reg = <2>; 179 181 label = "lan0"; 180 182 phy-handle = <&switch0phy1>; ··· 185 183 nvmem-cell-names = "mac-address"; 186 184 }; 187 185 188 - ethernet-port@3 { 186 + port@3 { 189 187 reg = <3>; 190 188 label = "lan1"; 191 189 phy-handle = <&switch0phy2>; ··· 199 197 #address-cells = <1>; 200 198 #size-cells = <0>; 201 199 202 - switch0phy0: ethernet-phy@11 { 200 + switch0phy0: switch0phy0@11 { 203 201 reg = <0x11>; 204 202 }; 205 - switch0phy1: ethernet-phy@12 { 203 + switch0phy1: switch0phy1@12 { 206 204 reg = <0x12>; 207 205 }; 208 - switch0phy2: ethernet-phy@13 { 206 + switch0phy2: switch0phy2@13 { 209 207 reg = <0x13>; 210 208 }; 211 209 };
+92 -97
arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
··· 304 304 reg = <1>; 305 305 }; 306 306 307 - /* 308 - * NOTE: switch nodes are enabled by U-Boot if modules are present 309 - * DO NOT change this node name (switch0@10) even if it is not following 310 - * conventions! Deployed U-Boot binaries are explicitly looking for 311 - * this node in order to augment the device tree! 312 - */ 307 + /* switch nodes are enabled by U-Boot if modules are present */ 313 308 switch0@10 { 314 309 compatible = "marvell,mv88e6190"; 315 310 reg = <0x10>; ··· 317 322 #address-cells = <1>; 318 323 #size-cells = <0>; 319 324 320 - switch0phy1: ethernet-phy@1 { 325 + switch0phy1: switch0phy1@1 { 321 326 reg = <0x1>; 322 327 }; 323 328 324 - switch0phy2: ethernet-phy@2 { 329 + switch0phy2: switch0phy2@2 { 325 330 reg = <0x2>; 326 331 }; 327 332 328 - switch0phy3: ethernet-phy@3 { 333 + switch0phy3: switch0phy3@3 { 329 334 reg = <0x3>; 330 335 }; 331 336 332 - switch0phy4: ethernet-phy@4 { 337 + switch0phy4: switch0phy4@4 { 333 338 reg = <0x4>; 334 339 }; 335 340 336 - switch0phy5: ethernet-phy@5 { 341 + switch0phy5: switch0phy5@5 { 337 342 reg = <0x5>; 338 343 }; 339 344 340 - switch0phy6: ethernet-phy@6 { 345 + switch0phy6: switch0phy6@6 { 341 346 reg = <0x6>; 342 347 }; 343 348 344 - switch0phy7: ethernet-phy@7 { 349 + switch0phy7: switch0phy7@7 { 345 350 reg = <0x7>; 346 351 }; 347 352 348 - switch0phy8: ethernet-phy@8 { 353 + switch0phy8: switch0phy8@8 { 349 354 reg = <0x8>; 350 355 }; 351 356 }; 352 357 353 - ethernet-ports { 358 + ports { 354 359 #address-cells = <1>; 355 360 #size-cells = <0>; 356 361 357 - ethernet-port@1 { 362 + port@1 { 358 363 reg = <0x1>; 359 364 label = "lan1"; 360 365 phy-handle = <&switch0phy1>; 361 366 }; 362 367 363 - ethernet-port@2 { 368 + port@2 { 364 369 reg = <0x2>; 365 370 label = "lan2"; 366 371 phy-handle = <&switch0phy2>; 367 372 }; 368 373 369 - ethernet-port@3 { 374 + port@3 { 370 375 reg = <0x3>; 371 376 label = "lan3"; 372 377 phy-handle = <&switch0phy3>; 373 378 }; 374 379 375 - ethernet-port@4 { 380 + port@4 { 376 381 reg = <0x4>; 377 382 label = "lan4"; 378 383 phy-handle = <&switch0phy4>; 379 384 }; 380 385 381 - ethernet-port@5 { 386 + port@5 { 382 387 reg = <0x5>; 383 388 label = "lan5"; 384 389 phy-handle = <&switch0phy5>; 385 390 }; 386 391 387 - ethernet-port@6 { 392 + port@6 { 388 393 reg = <0x6>; 389 394 label = "lan6"; 390 395 phy-handle = <&switch0phy6>; 391 396 }; 392 397 393 - ethernet-port@7 { 398 + port@7 { 394 399 reg = <0x7>; 395 400 label = "lan7"; 396 401 phy-handle = <&switch0phy7>; 397 402 }; 398 403 399 - ethernet-port@8 { 404 + port@8 { 400 405 reg = <0x8>; 401 406 label = "lan8"; 402 407 phy-handle = <&switch0phy8>; 403 408 }; 404 409 405 - ethernet-port@9 { 410 + port@9 { 406 411 reg = <0x9>; 407 412 label = "cpu"; 408 413 ethernet = <&eth1>; ··· 410 415 managed = "in-band-status"; 411 416 }; 412 417 413 - switch0port10: ethernet-port@a { 418 + switch0port10: port@a { 414 419 reg = <0xa>; 415 420 label = "dsa"; 416 421 phy-mode = "2500base-x"; ··· 430 435 }; 431 436 }; 432 437 433 - ethernet-switch@2 { 438 + switch0@2 { 434 439 compatible = "marvell,mv88e6085"; 435 440 reg = <0x2>; 436 441 dsa,member = <0 0>; ··· 442 447 #address-cells = <1>; 443 448 #size-cells = <0>; 444 449 445 - switch0phy1_topaz: ethernet-phy@11 { 450 + switch0phy1_topaz: switch0phy1@11 { 446 451 reg = <0x11>; 447 452 }; 448 453 449 - switch0phy2_topaz: ethernet-phy@12 { 454 + switch0phy2_topaz: switch0phy2@12 { 450 455 reg = <0x12>; 451 456 }; 452 457 453 - switch0phy3_topaz: ethernet-phy@13 { 458 + switch0phy3_topaz: switch0phy3@13 { 454 459 reg = <0x13>; 455 460 }; 456 461 457 - switch0phy4_topaz: ethernet-phy@14 { 462 + switch0phy4_topaz: switch0phy4@14 { 458 463 reg = <0x14>; 459 464 }; 460 465 }; 461 466 462 - ethernet-ports { 467 + ports { 463 468 #address-cells = <1>; 464 469 #size-cells = <0>; 465 470 466 - ethernet-port@1 { 471 + port@1 { 467 472 reg = <0x1>; 468 473 label = "lan1"; 469 474 phy-handle = <&switch0phy1_topaz>; 470 475 }; 471 476 472 - ethernet-port@2 { 477 + port@2 { 473 478 reg = <0x2>; 474 479 label = "lan2"; 475 480 phy-handle = <&switch0phy2_topaz>; 476 481 }; 477 482 478 - ethernet-port@3 { 483 + port@3 { 479 484 reg = <0x3>; 480 485 label = "lan3"; 481 486 phy-handle = <&switch0phy3_topaz>; 482 487 }; 483 488 484 - ethernet-port@4 { 489 + port@4 { 485 490 reg = <0x4>; 486 491 label = "lan4"; 487 492 phy-handle = <&switch0phy4_topaz>; 488 493 }; 489 494 490 - ethernet-port@5 { 495 + port@5 { 491 496 reg = <0x5>; 492 497 label = "cpu"; 493 498 phy-mode = "2500base-x"; ··· 497 502 }; 498 503 }; 499 504 500 - ethernet-switch@11 { 505 + switch1@11 { 501 506 compatible = "marvell,mv88e6190"; 502 507 reg = <0x11>; 503 508 dsa,member = <0 1>; ··· 509 514 #address-cells = <1>; 510 515 #size-cells = <0>; 511 516 512 - switch1phy1: ethernet-phy@1 { 517 + switch1phy1: switch1phy1@1 { 513 518 reg = <0x1>; 514 519 }; 515 520 516 - switch1phy2: ethernet-phy@2 { 521 + switch1phy2: switch1phy2@2 { 517 522 reg = <0x2>; 518 523 }; 519 524 520 - switch1phy3: ethernet-phy@3 { 525 + switch1phy3: switch1phy3@3 { 521 526 reg = <0x3>; 522 527 }; 523 528 524 - switch1phy4: ethernet-phy@4 { 529 + switch1phy4: switch1phy4@4 { 525 530 reg = <0x4>; 526 531 }; 527 532 528 - switch1phy5: ethernet-phy@5 { 533 + switch1phy5: switch1phy5@5 { 529 534 reg = <0x5>; 530 535 }; 531 536 532 - switch1phy6: ethernet-phy@6 { 537 + switch1phy6: switch1phy6@6 { 533 538 reg = <0x6>; 534 539 }; 535 540 536 - switch1phy7: ethernet-phy@7 { 541 + switch1phy7: switch1phy7@7 { 537 542 reg = <0x7>; 538 543 }; 539 544 540 - switch1phy8: ethernet-phy@8 { 545 + switch1phy8: switch1phy8@8 { 541 546 reg = <0x8>; 542 547 }; 543 548 }; 544 549 545 - ethernet-ports { 550 + ports { 546 551 #address-cells = <1>; 547 552 #size-cells = <0>; 548 553 549 - ethernet-port@1 { 554 + port@1 { 550 555 reg = <0x1>; 551 556 label = "lan9"; 552 557 phy-handle = <&switch1phy1>; 553 558 }; 554 559 555 - ethernet-port@2 { 560 + port@2 { 556 561 reg = <0x2>; 557 562 label = "lan10"; 558 563 phy-handle = <&switch1phy2>; 559 564 }; 560 565 561 - ethernet-port@3 { 566 + port@3 { 562 567 reg = <0x3>; 563 568 label = "lan11"; 564 569 phy-handle = <&switch1phy3>; 565 570 }; 566 571 567 - ethernet-port@4 { 572 + port@4 { 568 573 reg = <0x4>; 569 574 label = "lan12"; 570 575 phy-handle = <&switch1phy4>; 571 576 }; 572 577 573 - ethernet-port@5 { 578 + port@5 { 574 579 reg = <0x5>; 575 580 label = "lan13"; 576 581 phy-handle = <&switch1phy5>; 577 582 }; 578 583 579 - ethernet-port@6 { 584 + port@6 { 580 585 reg = <0x6>; 581 586 label = "lan14"; 582 587 phy-handle = <&switch1phy6>; 583 588 }; 584 589 585 - ethernet-port@7 { 590 + port@7 { 586 591 reg = <0x7>; 587 592 label = "lan15"; 588 593 phy-handle = <&switch1phy7>; 589 594 }; 590 595 591 - ethernet-port@8 { 596 + port@8 { 592 597 reg = <0x8>; 593 598 label = "lan16"; 594 599 phy-handle = <&switch1phy8>; 595 600 }; 596 601 597 - switch1port9: ethernet-port@9 { 602 + switch1port9: port@9 { 598 603 reg = <0x9>; 599 604 label = "dsa"; 600 605 phy-mode = "2500base-x"; ··· 602 607 link = <&switch0port10>; 603 608 }; 604 609 605 - switch1port10: ethernet-port@a { 610 + switch1port10: port@a { 606 611 reg = <0xa>; 607 612 label = "dsa"; 608 613 phy-mode = "2500base-x"; ··· 622 627 }; 623 628 }; 624 629 625 - ethernet-switch@2 { 630 + switch1@2 { 626 631 compatible = "marvell,mv88e6085"; 627 632 reg = <0x2>; 628 633 dsa,member = <0 1>; ··· 634 639 #address-cells = <1>; 635 640 #size-cells = <0>; 636 641 637 - switch1phy1_topaz: ethernet-phy@11 { 642 + switch1phy1_topaz: switch1phy1@11 { 638 643 reg = <0x11>; 639 644 }; 640 645 641 - switch1phy2_topaz: ethernet-phy@12 { 646 + switch1phy2_topaz: switch1phy2@12 { 642 647 reg = <0x12>; 643 648 }; 644 649 645 - switch1phy3_topaz: ethernet-phy@13 { 650 + switch1phy3_topaz: switch1phy3@13 { 646 651 reg = <0x13>; 647 652 }; 648 653 649 - switch1phy4_topaz: ethernet-phy@14 { 654 + switch1phy4_topaz: switch1phy4@14 { 650 655 reg = <0x14>; 651 656 }; 652 657 }; 653 658 654 - ethernet-ports { 659 + ports { 655 660 #address-cells = <1>; 656 661 #size-cells = <0>; 657 662 658 - ethernet-port@1 { 663 + port@1 { 659 664 reg = <0x1>; 660 665 label = "lan9"; 661 666 phy-handle = <&switch1phy1_topaz>; 662 667 }; 663 668 664 - ethernet-port@2 { 669 + port@2 { 665 670 reg = <0x2>; 666 671 label = "lan10"; 667 672 phy-handle = <&switch1phy2_topaz>; 668 673 }; 669 674 670 - ethernet-port@3 { 675 + port@3 { 671 676 reg = <0x3>; 672 677 label = "lan11"; 673 678 phy-handle = <&switch1phy3_topaz>; 674 679 }; 675 680 676 - ethernet-port@4 { 681 + port@4 { 677 682 reg = <0x4>; 678 683 label = "lan12"; 679 684 phy-handle = <&switch1phy4_topaz>; 680 685 }; 681 686 682 - ethernet-port@5 { 687 + port@5 { 683 688 reg = <0x5>; 684 689 label = "dsa"; 685 690 phy-mode = "2500base-x"; ··· 689 694 }; 690 695 }; 691 696 692 - ethernet-switch@12 { 697 + switch2@12 { 693 698 compatible = "marvell,mv88e6190"; 694 699 reg = <0x12>; 695 700 dsa,member = <0 2>; ··· 701 706 #address-cells = <1>; 702 707 #size-cells = <0>; 703 708 704 - switch2phy1: ethernet-phy@1 { 709 + switch2phy1: switch2phy1@1 { 705 710 reg = <0x1>; 706 711 }; 707 712 708 - switch2phy2: ethernet-phy@2 { 713 + switch2phy2: switch2phy2@2 { 709 714 reg = <0x2>; 710 715 }; 711 716 712 - switch2phy3: ethernet-phy@3 { 717 + switch2phy3: switch2phy3@3 { 713 718 reg = <0x3>; 714 719 }; 715 720 716 - switch2phy4: ethernet-phy@4 { 721 + switch2phy4: switch2phy4@4 { 717 722 reg = <0x4>; 718 723 }; 719 724 720 - switch2phy5: ethernet-phy@5 { 725 + switch2phy5: switch2phy5@5 { 721 726 reg = <0x5>; 722 727 }; 723 728 724 - switch2phy6: ethernet-phy@6 { 729 + switch2phy6: switch2phy6@6 { 725 730 reg = <0x6>; 726 731 }; 727 732 728 - switch2phy7: ethernet-phy@7 { 733 + switch2phy7: switch2phy7@7 { 729 734 reg = <0x7>; 730 735 }; 731 736 732 - switch2phy8: ethernet-phy@8 { 737 + switch2phy8: switch2phy8@8 { 733 738 reg = <0x8>; 734 739 }; 735 740 }; 736 741 737 - ethernet-ports { 742 + ports { 738 743 #address-cells = <1>; 739 744 #size-cells = <0>; 740 745 741 - ethernet-port@1 { 746 + port@1 { 742 747 reg = <0x1>; 743 748 label = "lan17"; 744 749 phy-handle = <&switch2phy1>; 745 750 }; 746 751 747 - ethernet-port@2 { 752 + port@2 { 748 753 reg = <0x2>; 749 754 label = "lan18"; 750 755 phy-handle = <&switch2phy2>; 751 756 }; 752 757 753 - ethernet-port@3 { 758 + port@3 { 754 759 reg = <0x3>; 755 760 label = "lan19"; 756 761 phy-handle = <&switch2phy3>; 757 762 }; 758 763 759 - ethernet-port@4 { 764 + port@4 { 760 765 reg = <0x4>; 761 766 label = "lan20"; 762 767 phy-handle = <&switch2phy4>; 763 768 }; 764 769 765 - ethernet-port@5 { 770 + port@5 { 766 771 reg = <0x5>; 767 772 label = "lan21"; 768 773 phy-handle = <&switch2phy5>; 769 774 }; 770 775 771 - ethernet-port@6 { 776 + port@6 { 772 777 reg = <0x6>; 773 778 label = "lan22"; 774 779 phy-handle = <&switch2phy6>; 775 780 }; 776 781 777 - ethernet-port@7 { 782 + port@7 { 778 783 reg = <0x7>; 779 784 label = "lan23"; 780 785 phy-handle = <&switch2phy7>; 781 786 }; 782 787 783 - ethernet-port@8 { 788 + port@8 { 784 789 reg = <0x8>; 785 790 label = "lan24"; 786 791 phy-handle = <&switch2phy8>; 787 792 }; 788 793 789 - switch2port9: ethernet-port@9 { 794 + switch2port9: port@9 { 790 795 reg = <0x9>; 791 796 label = "dsa"; 792 797 phy-mode = "2500base-x"; ··· 805 810 }; 806 811 }; 807 812 808 - ethernet-switch@2 { 813 + switch2@2 { 809 814 compatible = "marvell,mv88e6085"; 810 815 reg = <0x2>; 811 816 dsa,member = <0 2>; ··· 817 822 #address-cells = <1>; 818 823 #size-cells = <0>; 819 824 820 - switch2phy1_topaz: ethernet-phy@11 { 825 + switch2phy1_topaz: switch2phy1@11 { 821 826 reg = <0x11>; 822 827 }; 823 828 824 - switch2phy2_topaz: ethernet-phy@12 { 829 + switch2phy2_topaz: switch2phy2@12 { 825 830 reg = <0x12>; 826 831 }; 827 832 828 - switch2phy3_topaz: ethernet-phy@13 { 833 + switch2phy3_topaz: switch2phy3@13 { 829 834 reg = <0x13>; 830 835 }; 831 836 832 - switch2phy4_topaz: ethernet-phy@14 { 837 + switch2phy4_topaz: switch2phy4@14 { 833 838 reg = <0x14>; 834 839 }; 835 840 }; 836 841 837 - ethernet-ports { 842 + ports { 838 843 #address-cells = <1>; 839 844 #size-cells = <0>; 840 845 841 - ethernet-port@1 { 846 + port@1 { 842 847 reg = <0x1>; 843 848 label = "lan17"; 844 849 phy-handle = <&switch2phy1_topaz>; 845 850 }; 846 851 847 - ethernet-port@2 { 852 + port@2 { 848 853 reg = <0x2>; 849 854 label = "lan18"; 850 855 phy-handle = <&switch2phy2_topaz>; 851 856 }; 852 857 853 - ethernet-port@3 { 858 + port@3 { 854 859 reg = <0x3>; 855 860 label = "lan19"; 856 861 phy-handle = <&switch2phy3_topaz>; 857 862 }; 858 863 859 - ethernet-port@4 { 864 + port@4 { 860 865 reg = <0x4>; 861 866 label = "lan20"; 862 867 phy-handle = <&switch2phy4_topaz>; 863 868 }; 864 869 865 - ethernet-port@5 { 870 + port@5 { 866 871 reg = <0x5>; 867 872 label = "dsa"; 868 873 phy-mode = "2500base-x";
+13 -11
arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts
··· 301 301 }; 302 302 303 303 /* 88E6141 Topaz switch */ 304 - switch: ethernet-switch@3 { 304 + switch: switch@3 { 305 305 compatible = "marvell,mv88e6085"; 306 + #address-cells = <1>; 307 + #size-cells = <0>; 306 308 reg = <3>; 307 309 308 310 pinctrl-names = "default"; ··· 314 312 interrupt-parent = <&cp0_gpio1>; 315 313 interrupts = <1 IRQ_TYPE_LEVEL_LOW>; 316 314 317 - ethernet-ports { 315 + ports { 318 316 #address-cells = <1>; 319 317 #size-cells = <0>; 320 318 321 - swport1: ethernet-port@1 { 319 + swport1: port@1 { 322 320 reg = <1>; 323 321 label = "lan0"; 324 322 phy-handle = <&swphy1>; 325 323 }; 326 324 327 - swport2: ethernet-port@2 { 325 + swport2: port@2 { 328 326 reg = <2>; 329 327 label = "lan1"; 330 328 phy-handle = <&swphy2>; 331 329 }; 332 330 333 - swport3: ethernet-port@3 { 331 + swport3: port@3 { 334 332 reg = <3>; 335 333 label = "lan2"; 336 334 phy-handle = <&swphy3>; 337 335 }; 338 336 339 - swport4: ethernet-port@4 { 337 + swport4: port@4 { 340 338 reg = <4>; 341 339 label = "lan3"; 342 340 phy-handle = <&swphy4>; 343 341 }; 344 342 345 - ethernet-port@5 { 343 + port@5 { 346 344 reg = <5>; 347 345 label = "cpu"; 348 346 ethernet = <&cp0_eth1>; ··· 355 353 #address-cells = <1>; 356 354 #size-cells = <0>; 357 355 358 - swphy1: ethernet-phy@17 { 356 + swphy1: swphy1@17 { 359 357 reg = <17>; 360 358 }; 361 359 362 - swphy2: ethernet-phy@18 { 360 + swphy2: swphy2@18 { 363 361 reg = <18>; 364 362 }; 365 363 366 - swphy3: ethernet-phy@19 { 364 + swphy3: swphy3@19 { 367 365 reg = <19>; 368 366 }; 369 367 370 - swphy4: ethernet-phy@20 { 368 + swphy4: swphy4@20 { 371 369 reg = <20>; 372 370 }; 373 371 };
+11 -11
arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
··· 497 497 reset-deassert-us = <10000>; 498 498 }; 499 499 500 - switch0: ethernet-switch@4 { 500 + switch0: switch0@4 { 501 501 compatible = "marvell,mv88e6085"; 502 502 reg = <4>; 503 503 pinctrl-names = "default"; 504 504 pinctrl-0 = <&cp1_switch_reset_pins>; 505 505 reset-gpios = <&cp1_gpio1 24 GPIO_ACTIVE_LOW>; 506 506 507 - ethernet-ports { 507 + ports { 508 508 #address-cells = <1>; 509 509 #size-cells = <0>; 510 510 511 - ethernet-port@1 { 511 + port@1 { 512 512 reg = <1>; 513 513 label = "lan2"; 514 514 phy-handle = <&switch0phy0>; 515 515 }; 516 516 517 - ethernet-port@2 { 517 + port@2 { 518 518 reg = <2>; 519 519 label = "lan1"; 520 520 phy-handle = <&switch0phy1>; 521 521 }; 522 522 523 - ethernet-port@3 { 523 + port@3 { 524 524 reg = <3>; 525 525 label = "lan4"; 526 526 phy-handle = <&switch0phy2>; 527 527 }; 528 528 529 - ethernet-port@4 { 529 + port@4 { 530 530 reg = <4>; 531 531 label = "lan3"; 532 532 phy-handle = <&switch0phy3>; 533 533 }; 534 534 535 - ethernet-port@5 { 535 + port@5 { 536 536 reg = <5>; 537 537 label = "cpu"; 538 538 ethernet = <&cp1_eth2>; ··· 545 545 #address-cells = <1>; 546 546 #size-cells = <0>; 547 547 548 - switch0phy0: ethernet-phy@11 { 548 + switch0phy0: switch0phy0@11 { 549 549 reg = <0x11>; 550 550 }; 551 551 552 - switch0phy1: ethernet-phy@12 { 552 + switch0phy1: switch0phy1@12 { 553 553 reg = <0x12>; 554 554 }; 555 555 556 - switch0phy2: ethernet-phy@13 { 556 + switch0phy2: switch0phy2@13 { 557 557 reg = <0x13>; 558 558 }; 559 559 560 - switch0phy3: ethernet-phy@14 { 560 + switch0phy3: switch0phy3@14 { 561 561 reg = <0x14>; 562 562 }; 563 563 };
+22 -20
arch/arm64/boot/dts/marvell/cn9130-crb.dtsi
··· 207 207 reg = <0>; 208 208 }; 209 209 210 - switch6: ethernet-switch@6 { 210 + switch6: switch0@6 { 211 211 /* Actual device is MV88E6393X */ 212 212 compatible = "marvell,mv88e6190"; 213 + #address-cells = <1>; 214 + #size-cells = <0>; 213 215 reg = <6>; 214 216 interrupt-parent = <&cp0_gpio1>; 215 217 interrupts = <28 IRQ_TYPE_LEVEL_LOW>; ··· 220 218 221 219 dsa,member = <0 0>; 222 220 223 - ethernet-ports { 221 + ports { 224 222 #address-cells = <1>; 225 223 #size-cells = <0>; 226 224 227 - ethernet-port@1 { 225 + port@1 { 228 226 reg = <1>; 229 227 label = "p1"; 230 228 phy-handle = <&switch0phy1>; 231 229 }; 232 230 233 - ethernet-port@2 { 231 + port@2 { 234 232 reg = <2>; 235 233 label = "p2"; 236 234 phy-handle = <&switch0phy2>; 237 235 }; 238 236 239 - ethernet-port@3 { 237 + port@3 { 240 238 reg = <3>; 241 239 label = "p3"; 242 240 phy-handle = <&switch0phy3>; 243 241 }; 244 242 245 - ethernet-port@4 { 243 + port@4 { 246 244 reg = <4>; 247 245 label = "p4"; 248 246 phy-handle = <&switch0phy4>; 249 247 }; 250 248 251 - ethernet-port@5 { 249 + port@5 { 252 250 reg = <5>; 253 251 label = "p5"; 254 252 phy-handle = <&switch0phy5>; 255 253 }; 256 254 257 - ethernet-port@6 { 255 + port@6 { 258 256 reg = <6>; 259 257 label = "p6"; 260 258 phy-handle = <&switch0phy6>; 261 259 }; 262 260 263 - ethernet-port@7 { 261 + port@7 { 264 262 reg = <7>; 265 263 label = "p7"; 266 264 phy-handle = <&switch0phy7>; 267 265 }; 268 266 269 - ethernet-port@8 { 267 + port@8 { 270 268 reg = <8>; 271 269 label = "p8"; 272 270 phy-handle = <&switch0phy8>; 273 271 }; 274 272 275 - ethernet-port@9 { 273 + port@9 { 276 274 reg = <9>; 277 275 label = "p9"; 278 276 phy-mode = "10gbase-r"; ··· 280 278 managed = "in-band-status"; 281 279 }; 282 280 283 - ethernet-port@a { 281 + port@a { 284 282 reg = <10>; 285 283 ethernet = <&cp0_eth0>; 286 284 phy-mode = "10gbase-r"; ··· 293 291 #address-cells = <1>; 294 292 #size-cells = <0>; 295 293 296 - switch0phy1: ethernet-phy@1 { 294 + switch0phy1: switch0phy1@1 { 297 295 reg = <0x1>; 298 296 }; 299 297 300 - switch0phy2: ethernet-phy@2 { 298 + switch0phy2: switch0phy2@2 { 301 299 reg = <0x2>; 302 300 }; 303 301 304 - switch0phy3: ethernet-phy@3 { 302 + switch0phy3: switch0phy3@3 { 305 303 reg = <0x3>; 306 304 }; 307 305 308 - switch0phy4: ethernet-phy@4 { 306 + switch0phy4: switch0phy4@4 { 309 307 reg = <0x4>; 310 308 }; 311 309 312 - switch0phy5: ethernet-phy@5 { 310 + switch0phy5: switch0phy5@5 { 313 311 reg = <0x5>; 314 312 }; 315 313 316 - switch0phy6: ethernet-phy@6 { 314 + switch0phy6: switch0phy6@6 { 317 315 reg = <0x6>; 318 316 }; 319 317 320 - switch0phy7: ethernet-phy@7 { 318 + switch0phy7: switch0phy7@7 { 321 319 reg = <0x7>; 322 320 }; 323 321 324 - switch0phy8: ethernet-phy@8 { 322 + switch0phy8: switch0phy8@8 { 325 323 reg = <0x8>; 326 324 }; 327 325 };