linux/Documentation/devicetree/bindings/net/ethernet-switch-port.yaml

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/ethernet-switch-port.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Generic Ethernet Switch Port

maintainers:
  - Andrew Lunn <[email protected]>
  - Florian Fainelli <[email protected]>
  - Vladimir Oltean <[email protected]>

description:
  An Ethernet switch port is a component of a switch that manages one MAC, and
  can pass Ethernet frames.

$ref: ethernet-controller.yaml#

properties:
  reg:
    description: Port number

additionalProperties: true

...