Commit 57b77df7 authored by Neil Armstrong's avatar Neil Armstrong Committed by David S. Miller
Browse files

dt-bindings: net: snps, dwmac: update reg minItems maxItems



The Amlogic Meson DWMAC glue bindings needs a second reg cells for the
glue registers, thus update the reg minItems/maxItems to allow more
than a single reg cell.

Also update the allwinner,sun7i-a20-gmac.yaml derivative schema to specify
maxItems to 1.

Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7ee7f3e8
......@@ -17,6 +17,9 @@ properties:
compatible:
const: allwinner,sun7i-a20-gmac
reg:
maxItems: 1
interrupts:
maxItems: 1
......
......@@ -61,7 +61,8 @@ properties:
- snps,dwxgmac-2.10
reg:
maxItems: 1
minItems: 1
maxItems: 2
interrupts:
minItems: 1
......
Supports Markdown
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