summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2019-07-03 11:55:07 +0200
committerRob Herring <robh@kernel.org>2019-07-03 21:17:57 +0200
commit4c2c04c27df9d2e48153e0bf8a59aec97101fb8c (patch)
tree8d2f8ea3aaecb6518dfce25c04f9c492f680f188 /Documentation
parentdt-bindings: mtd: sunxi-nand: Drop 'maxItems' from child 'reg' property (diff)
downloadlinux-4c2c04c27df9d2e48153e0bf8a59aec97101fb8c.tar.xz
linux-4c2c04c27df9d2e48153e0bf8a59aec97101fb8c.zip
dt-bindings: net: mdio: Add a nodename pattern
The node name of an MDIO controller should be MDIO. Let's add a rule for this. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/net/mdio.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/mdio.yaml b/Documentation/devicetree/bindings/net/mdio.yaml
index b8fa8251c4bc..12069d0b25c6 100644
--- a/Documentation/devicetree/bindings/net/mdio.yaml
+++ b/Documentation/devicetree/bindings/net/mdio.yaml
@@ -18,6 +18,9 @@ description:
a device specific binding document.
properties:
+ $nodename:
+ pattern: "^mdio(@.*)?"
+
reset-gpios:
maxItems: 1
description: