summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net/microchip,lan966x-switch.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings/net/microchip,lan966x-switch.yaml')
-rw-r--r--Documentation/devicetree/bindings/net/microchip,lan966x-switch.yaml13
1 files changed, 11 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/net/microchip,lan966x-switch.yaml b/Documentation/devicetree/bindings/net/microchip,lan966x-switch.yaml
index d54dc183a033..5bee665d5fcf 100644
--- a/Documentation/devicetree/bindings/net/microchip,lan966x-switch.yaml
+++ b/Documentation/devicetree/bindings/net/microchip,lan966x-switch.yaml
@@ -56,12 +56,21 @@ properties:
ethernet-ports:
type: object
+
+ properties:
+ '#address-cells':
+ const: 1
+ '#size-cells':
+ const: 0
+
+ additionalProperties: false
+
patternProperties:
"^port@[0-9a-f]+$":
type: object
- allOf:
- - $ref: "http://devicetree.org/schemas/net/ethernet-controller.yaml#"
+ $ref: "/schemas/net/ethernet-controller.yaml#"
+ unevaluatedProperties: false
properties:
'#address-cells':