summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2019-07-03 11:55:08 +0200
committerRob Herring <robh@kernel.org>2019-07-03 13:18:03 -0600
commit960ebc8ac65e9eb9605f5cbee9fc189fed7c052f (patch)
tree512c55abc0f5835b8db3abc08d6a14e30e7903c2 /Documentation/devicetree/bindings/net
parent4c2c04c27df9d2e48153e0bf8a59aec97101fb8c (diff)
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>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
-rw-r--r--Documentation/devicetree/bindings/net/mdio.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/mdio.yaml b/Documentation/devicetree/bindings/net/mdio.yaml
index 12069d0b25c6..24d67074d494 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: