aboutsummaryrefslogtreecommitdiff
path: root/dts/upstream/Bindings/net/dsa/dsa.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'dts/upstream/Bindings/net/dsa/dsa.yaml')
-rw-r--r--dts/upstream/Bindings/net/dsa/dsa.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/dts/upstream/Bindings/net/dsa/dsa.yaml b/dts/upstream/Bindings/net/dsa/dsa.yaml
index 6107189d276..2abd036578d 100644
--- a/dts/upstream/Bindings/net/dsa/dsa.yaml
+++ b/dts/upstream/Bindings/net/dsa/dsa.yaml
@@ -46,4 +46,10 @@ $defs:
$ref: dsa-port.yaml#
unevaluatedProperties: false
+oneOf:
+ - required:
+ - ports
+ - required:
+ - ethernet-ports
+
...