1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/net/ethernet-switch.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic Ethernet Switch
10 - Andrew Lunn <andrew@lunn.ch>
11 - Florian Fainelli <f.fainelli@gmail.com>
12 - Vladimir Oltean <olteanv@gmail.com>
15 Ethernet switches are multi-port Ethernet controllers. Each port has
16 its own number and is represented as its own Ethernet controller.
17 The minimum required functionality is to pass packets to software.
18 They may or may not be able to forward packets automonously between
25 pattern: "^(ethernet-)?switch(@.*)?$"
28 "^(ethernet-)?ports$":
30 unevaluatedProperties: false
39 "^(ethernet-)?port@[0-9a-f]+$":
41 description: Ethernet switch ports
53 additionalProperties: true
57 description: An ethernet switch without any extra port properties
61 "^(ethernet-)?ports$":
63 "^(ethernet-)?port@[0-9a-f]+$":
64 description: Ethernet switch ports
65 $ref: ethernet-switch-port.yaml#
66 unevaluatedProperties: false