Skip to content

Commit

Permalink
dt-bindings: net: Broadcom iProc MDIO bus driver device tree binding
Browse files Browse the repository at this point in the history
Add device tree binding documentation for the Broadcom iProc MDIO
bus driver.

Signed-off-by: Arun Parameswaran <arunp@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Arun Parameswaran authored and David S. Miller committed Oct 8, 2015
1 parent 91d2f14 commit bb257c3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Documentation/devicetree/bindings/net/brcm,iproc-mdio.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
* Broadcom iProc MDIO bus controller

Required properties:
- compatible: should be "brcm,iproc-mdio"
- reg: address and length of the register set for the MDIO interface
- #size-cells: must be 1
- #address-cells: must be 0

Child nodes of this MDIO bus controller node are standard Ethernet PHY device
nodes as described in Documentation/devicetree/bindings/net/phy.txt

Example:

mdio@18002000 {
compatible = "brcm,iproc-mdio";
reg = <0x18002000 0x8>;
#size-cells = <1>;
#address-cells = <0>;

enet-gphy@0 {
reg = <0>;
};
};

0 comments on commit bb257c3

Please sign in to comment.