dt-bindings: net: dsa-port: constrain number of 'reg' in ports

'reg' without any constraints allows multiple items which is not the
intention in DSA port schema (as physical port is expected to have only
one address).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Krzysztof Kozlowski 2022-11-02 12:15:12 -04:00 committed by David S. Miller
parent bd881b44fd
commit a352a2c5d2
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@ allOf:
properties:
reg:
description: Port number
items:
- description: Port number
label:
description: