aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings/net')
-rw-r--r--Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml12
1 files changed, 3 insertions, 9 deletions
diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml
index f9e7b6e20b35..fa271ee16b5e 100644
--- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml
@@ -163,9 +163,7 @@ patternProperties:
allOf:
- $ref: dsa-port.yaml#
- if:
- properties:
- label:
- const: cpu
+ required: [ ethernet ]
then:
required:
- phy-mode
@@ -187,9 +185,7 @@ $defs:
patternProperties:
"^(ethernet-)?port@[0-9]+$":
if:
- properties:
- label:
- const: cpu
+ required: [ ethernet ]
then:
if:
properties:
@@ -215,9 +211,7 @@ $defs:
patternProperties:
"^(ethernet-)?port@[0-9]+$":
if:
- properties:
- label:
- const: cpu
+ required: [ ethernet ]
then:
if:
properties: