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: Colin Foster <colin.foster@in-advantage.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>
This commit is contained in:
parent
3cec368a8b
commit
16401cdb08
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user