提交 16401cdb 编写于 作者: C Colin Foster 提交者: 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: NColin Foster <colin.foster@in-advantage.com>
Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com>
Reviewed-by: NRob Herring <robh@kernel.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册