summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt')
-rw-r--r--kernel/Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/kernel/Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt b/kernel/Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt
new file mode 100644
index 000000000..9c23fdf25
--- /dev/null
+++ b/kernel/Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt
@@ -0,0 +1,22 @@
+Hisilicon MDIO bus controller
+
+Properties:
+- compatible: "hisilicon,mdio","hisilicon,hns-mdio".
+- reg: The base address of the MDIO bus controller register bank.
+- #address-cells: Must be <1>.
+- #size-cells: Must be <0>. MDIO addresses have no size component.
+
+Typically an MDIO bus might have several children.
+
+Example:
+ mdio@803c0000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "hisilicon,hns-mdio","hisilicon,mdio";
+ reg = <0x0 0x803c0000 0x0 0x10000>;
+
+ ethernet-phy@0 {
+ ...
+ reg = <0>;
+ };
+ };