Commit d61f4d61 authored by Rob Herring's avatar Rob Herring Committed by David S. Miller

dt-bindings: net: mvusb: Fix example errors

The example for Marvell USB to MDIO Controller doesn't build:

Error: Documentation/devicetree/bindings/net/marvell,mvusb.example.dts:18.9-14 syntax error
FATAL ERROR: Unable to parse input tree

This is due to label refs being used which can't be resolved.

Fixes: 61e0150c ("dt-bindings: net: add marvell usb to mdio bindings")
Cc: Tobias Waldekranz <tobias@waldekranz.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dd6a4998
...@@ -38,28 +38,27 @@ required: ...@@ -38,28 +38,27 @@ required:
examples: examples:
- | - |
/* USB host controller */ /* USB host controller */
&usb1 { usb {
mvusb: mdio@1 { #address-cells = <1>;
#size-cells = <0>;
mdio@1 {
compatible = "usb1286,1fa4"; compatible = "usb1286,1fa4";
reg = <1>; reg = <1>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
};
};
/* MV88E6390X devboard */ switch@0 {
&mvusb { compatible = "marvell,mv88e6190";
switch@0 { reg = <0x0>;
compatible = "marvell,mv88e6190";
status = "ok";
reg = <0x0>;
ports { ports {
/* Port definitions */ /* Port definitions */
}; };
mdio { mdio {
/* PHY definitions */ /* PHY definitions */
};
}; };
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment