summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2019-08-20 09:57:41 +0200
committerDavid S. Miller <davem@davemloft.net>2019-08-22 15:41:57 -0700
commit57b77df7b71904b00ed70acdf3fde01b5a3e88e2 (patch)
tree5801d624f8901f75e36fc4a600c12567bb479fdb /Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml
parent7ee7f3e844dee84c47ef2d92795c2b9307055abd (diff)
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: Neil Armstrong <narmstrong@baylibre.com> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml')
-rw-r--r--Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml b/Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml
index 06b1cc8bea14..ef446ae166f3 100644
--- a/Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml
+++ b/Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml
@@ -17,6 +17,9 @@ properties:
compatible:
const: allwinner,sun7i-a20-gmac
+ reg:
+ maxItems: 1
+
interrupts:
maxItems: 1