Commit 16401cdb authored by Colin Foster's avatar Colin Foster Committed by David S. Miller

dt-bindings: net: dsa: allow additional ethernet-port properties

Explicitly allow additional properties for both the ethernet-port and
ethernet-ports properties. This specifically will allow the qca8k.yaml
binding to use shared properties.
Signed-off-by: default avatarColin Foster <colin.foster@in-advantage.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 3cec368a
......@@ -41,6 +41,8 @@ patternProperties:
'#size-cells':
const: 0
unevaluatedProperties: false
patternProperties:
"^(ethernet-)?port@[0-9]+$":
type: object
......@@ -48,7 +50,7 @@ patternProperties:
$ref: dsa-port.yaml#
unevaluatedProperties: false
additionalProperties: true
oneOf:
- required:
......
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