summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorColin Foster <colin.foster@in-advantage.com>2023-01-12 20:56:08 +0300
committerDavid S. Miller <davem@davemloft.net>2023-01-16 21:42:54 +0300
commit16401cdb08f089291718f0cf0eb8127dfb02a973 (patch)
treef913bdff24d7d797890fc2a22b455f47d8dde8b3 /Documentation
parent3cec368a8beca1e7cfe4069e8234ecfe7f969d8d (diff)
downloadlinux-16401cdb08f089291718f0cf0eb8127dfb02a973.tar.xz
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/net/dsa/dsa.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.yaml b/Documentation/devicetree/bindings/net/dsa/dsa.yaml
index efaa94cb89ae..7487ac0d6bb9 100644
--- a/Documentation/devicetree/bindings/net/dsa/dsa.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/dsa.yaml
@@ -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: