diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2019-08-20 09:57:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-22 15:41:57 -0700 |
commit | 57b77df7b71904b00ed70acdf3fde01b5a3e88e2 (patch) | |
tree | 5801d624f8901f75e36fc4a600c12567bb479fdb /Documentation/devicetree | |
parent | 7ee7f3e844dee84c47ef2d92795c2b9307055abd (diff) | |
download | linux-57b77df7b71904b00ed70acdf3fde01b5a3e88e2.tar.bz2 |
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')
-rw-r--r-- | Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml | 3 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/net/snps,dwmac.yaml | 3 |
2 files changed, 5 insertions, 1 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 diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index 76fea2be66ac..4377f511a51d 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -61,7 +61,8 @@ properties: - snps,dwxgmac-2.10 reg: - maxItems: 1 + minItems: 1 + maxItems: 2 interrupts: minItems: 1 |