Commit 31f47f30 authored by Rob Herring's avatar Rob Herring Committed by Jakub Kicinski
Browse files

dt-bindings: net: dsa: Drop 'ethernet-ports' node properties



Constraints on 'ethernet-ports' node properties are already defined by the
reference to ethernet-switch.yaml, so they can be dropped from the DSA
schema.

Signed-off-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarArınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20231016-dt-net-cleanups-v1-8-a525a090b444@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 7c93392d
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -40,15 +40,6 @@ $defs:

    patternProperties:
      "^(ethernet-)?ports$":
        type: object
        additionalProperties: false

        properties:
          '#address-cells':
            const: 1
          '#size-cells':
            const: 0

        patternProperties:
          "^(ethernet-)?port@[0-9a-f]+$":
            description: Ethernet switch ports