From: Maxime Ripard <maxime.ripard@bootlin.com> Date: Wed, 3 Jul 2019 09:55:08 +0000 (+0200) Subject: dt-bindings: net: mdio: Add address and size cells X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=960ebc8ac65e9eb9605f5cbee9fc189fed7c052f;p=linux.git dt-bindings: net: mdio: Add address and size cells MDIO controllers should have child nodes with a singe value in their reg properties being the ID of the PHY in the bus. Let's add the proper constraints on #address-cells and #size-cells. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Rob Herring <robh@kernel.org> --- diff --git a/Documentation/devicetree/bindings/net/mdio.yaml b/Documentation/devicetree/bindings/net/mdio.yaml index 12069d0b25c60..24d67074d4946 100644 --- a/Documentation/devicetree/bindings/net/mdio.yaml +++ b/Documentation/devicetree/bindings/net/mdio.yaml @@ -21,6 +21,12 @@ properties: $nodename: pattern: "^mdio(@.*)?" + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + reset-gpios: maxItems: 1 description: