The dsa-port.yaml binding had several references that can be common to all ethernet ports, not just dsa-specific ones. Break out the generic bindings to ethernet-switch-port.yaml they can be used by non-dsa drivers. Signed-off-by: Colin Foster <colin.foster@in-advantage.com> Suggested-by: Vladimir Oltean <olteanv@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
27 lines
597 B
YAML
27 lines
597 B
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 <andrew@lunn.ch>
|
|
- Florian Fainelli <f.fainelli@gmail.com>
|
|
- Vladimir Oltean <olteanv@gmail.com>
|
|
|
|
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
|
|
|
|
...
|