Commit 1f4d4ad6 authored by Colin Foster's avatar Colin Foster Committed by David S. Miller

dt-bindings: net: mscc,vsc7514-switch: utilize generic ethernet-switch.yaml

Several bindings for ethernet switches are available for non-dsa switches
by way of ethernet-switch.yaml. Remove these duplicate entries and utilize
the common bindings for the VSC7514.
Signed-off-by: default avatarColin Foster <colin.foster@in-advantage.com>
Suggested-by: default avatarVladimir Oltean <olteanv@gmail.com>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 68e3e3be
...@@ -18,10 +18,9 @@ description: | ...@@ -18,10 +18,9 @@ description: |
packets using CPU. Additionally, PTP is supported as well as FDMA for faster packets using CPU. Additionally, PTP is supported as well as FDMA for faster
packet extraction/injection. packet extraction/injection.
properties: $ref: ethernet-switch.yaml#
$nodename:
pattern: "^switch@[0-9a-f]+$"
properties:
compatible: compatible:
const: mscc,vsc7514-switch const: mscc,vsc7514-switch
...@@ -100,35 +99,11 @@ properties: ...@@ -100,35 +99,11 @@ properties:
patternProperties: patternProperties:
"^port@[0-9a-f]+$": "^port@[0-9a-f]+$":
type: object
description: Ethernet ports handled by the switch
$ref: ethernet-controller.yaml# $ref: ethernet-switch-port.yaml#
unevaluatedProperties: false unevaluatedProperties: false
properties:
reg:
description: Switch port number
phy-handle: true
phy-mode: true
fixed-link: true
mac-address: true
required:
- reg
- phy-mode
oneOf:
- required:
- phy-handle
- required:
- fixed-link
required: required:
- compatible - compatible
- reg - reg
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment