1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/net/dsa/dsa-port.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ethernet Switch port Device Tree Bindings
10 - Andrew Lunn <andrew@lunn.ch>
11 - Florian Fainelli <f.fainelli@gmail.com>
12 - Vivien Didelot <vivien.didelot@gmail.com>
15 Ethernet switch port Description
18 - $ref: /schemas/net/ethernet-controller.yaml#
22 description: Port number
26 Describes the label associated with this port, which will become
28 $ref: /schemas/types.yaml#/definitions/string
32 Should be a list of phandles to other switch's DSA port. This
33 port is used as the outgoing port towards the phandle ports. The
34 full routing information must be given, not just the one hop
35 routes to neighbouring switches
36 $ref: /schemas/types.yaml#/definitions/phandle-array
42 Should be a phandle to a valid Ethernet device node. This host
43 device is what the switch port is connected to
44 $ref: /schemas/types.yaml#/definitions/phandle
48 Instead of the default, the switch will use this tag protocol if
49 possible. Useful when a device supports multiple protocols and
50 the default is incompatible with the Ethernet device.
72 rx-internal-delay-ps: true
74 tx-internal-delay-ps: true
79 # CPU and DSA ports must have phylink-compatible link descriptions
82 - required: [ ethernet ]
96 additionalProperties: true