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
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -17,6 +17,9 @@ properties:
  compatible:
    const: allwinner,sun7i-a20-gmac

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

+2 −1
Original line number Diff line number Diff line
@@ -61,7 +61,8 @@ properties:
        - snps,dwxgmac-2.10

  reg:
    maxItems: 1
    minItems: 1
    maxItems: 2

  interrupts:
    minItems: 1