Skip to content

Commit

Permalink
dt-bindings: net: dwmac: increase 'maxItems' for 'clocks', 'clock-nam…
Browse files Browse the repository at this point in the history
…es' properties

This change is needed for some soc based on snps,dwmac, which have
more than 3 clocks.

Signed-off-by: Christophe Roullier <christophe.roullier@st.com>
Signed-off-by: Rob Herring <robh@kernel.org>
  • Loading branch information
Christophe Roullier authored and Rob Herring committed Apr 14, 2020
1 parent 78056e7 commit f225314
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Documentation/devicetree/bindings/net/snps,dwmac.yaml
Original file line number Diff line number Diff line change
@@ -27,6 +27,7 @@ select:
- snps,dwmac-3.710
- snps,dwmac-4.00
- snps,dwmac-4.10a
- snps,dwmac-4.20a
- snps,dwxgmac
- snps,dwxgmac-2.10

@@ -62,6 +63,7 @@ properties:
- snps,dwmac-3.710
- snps,dwmac-4.00
- snps,dwmac-4.10a
- snps,dwmac-4.20a
- snps,dwxgmac
- snps,dwxgmac-2.10

@@ -87,7 +89,8 @@ properties:

clocks:
minItems: 1
maxItems: 3
maxItems: 5
additionalItems: true
items:
- description: GMAC main clock
- description: Peripheral registers interface clock
@@ -97,6 +100,8 @@ properties:
clock will be used and this is fine on some platforms.

clock-names:
minItems: 1
maxItems: 5
additionalItems: true
contains:
enum:
@@ -342,6 +347,7 @@ allOf:
- allwinner,sun50i-a64-emac
- snps,dwmac-4.00
- snps,dwmac-4.10a
- snps,dwmac-4.20a
- snps,dwxgmac
- snps,dwxgmac-2.10
- st,spear600-gmac

0 comments on commit f225314

Please sign in to comment.