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>
This commit is contained in:
Maxime Ripard 2019-07-03 11:55:08 +02:00 committed by Rob Herring
parent 4c2c04c27d
commit 960ebc8ac6
1 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,12 @@ properties:
$nodename:
pattern: "^mdio(@.*)?"
"#address-cells":
const: 1
"#size-cells":
const: 0
reset-gpios:
maxItems: 1
description: