Commit f2253143 authored by Christophe Roullier's avatar Christophe Roullier Committed by Rob Herring

dt-bindings: net: dwmac: increase 'maxItems' for 'clocks', 'clock-names' properties

This change is needed for some soc based on snps,dwmac, which have
more than 3 clocks.
Signed-off-by: default avatarChristophe Roullier <christophe.roullier@st.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 78056e70
...@@ -27,6 +27,7 @@ select: ...@@ -27,6 +27,7 @@ select:
- snps,dwmac-3.710 - snps,dwmac-3.710
- snps,dwmac-4.00 - snps,dwmac-4.00
- snps,dwmac-4.10a - snps,dwmac-4.10a
- snps,dwmac-4.20a
- snps,dwxgmac - snps,dwxgmac
- snps,dwxgmac-2.10 - snps,dwxgmac-2.10
...@@ -62,6 +63,7 @@ properties: ...@@ -62,6 +63,7 @@ properties:
- snps,dwmac-3.710 - snps,dwmac-3.710
- snps,dwmac-4.00 - snps,dwmac-4.00
- snps,dwmac-4.10a - snps,dwmac-4.10a
- snps,dwmac-4.20a
- snps,dwxgmac - snps,dwxgmac
- snps,dwxgmac-2.10 - snps,dwxgmac-2.10
...@@ -87,7 +89,8 @@ properties: ...@@ -87,7 +89,8 @@ properties:
clocks: clocks:
minItems: 1 minItems: 1
maxItems: 3 maxItems: 5
additionalItems: true
items: items:
- description: GMAC main clock - description: GMAC main clock
- description: Peripheral registers interface clock - description: Peripheral registers interface clock
...@@ -97,6 +100,8 @@ properties: ...@@ -97,6 +100,8 @@ properties:
clock will be used and this is fine on some platforms. clock will be used and this is fine on some platforms.
clock-names: clock-names:
minItems: 1
maxItems: 5
additionalItems: true additionalItems: true
contains: contains:
enum: enum:
...@@ -342,6 +347,7 @@ allOf: ...@@ -342,6 +347,7 @@ allOf:
- allwinner,sun50i-a64-emac - allwinner,sun50i-a64-emac
- snps,dwmac-4.00 - snps,dwmac-4.00
- snps,dwmac-4.10a - snps,dwmac-4.10a
- snps,dwmac-4.20a
- snps,dwxgmac - snps,dwxgmac
- snps,dwxgmac-2.10 - snps,dwxgmac-2.10
- st,spear600-gmac - st,spear600-gmac
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment