Define device tree bindings for iProc MDC/MDIO bus interface

Signed-off-by: Ray Jui <[email protected]>
Reviewed-by: Arun Parameswaran <[email protected]>
Reviewed-by: JD (Jiandong) Zheng <[email protected]>
Reviewed-by: Scott Branden <[email protected]>
---
 .../devicetree/bindings/bus/brcm,iproc-mdio.txt    |   21 ++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/bus/brcm,iproc-mdio.txt

diff --git a/Documentation/devicetree/bindings/bus/brcm,iproc-mdio.txt 
b/Documentation/devicetree/bindings/bus/brcm,iproc-mdio.txt
new file mode 100644
index 0000000..db7228b
--- /dev/null
+++ b/Documentation/devicetree/bindings/bus/brcm,iproc-mdio.txt
@@ -0,0 +1,21 @@
+Broadcom iProc MDC/MDIO bus interface
+
+The iProc MDC/MDIO bus interface is found on various iProc based SoCs and is
+used to communicate with various types of Serdes/PHYs including Ethernet,
+PCIe, USB, and etc.
+
+Required properties:
+- compatible: Must be "brcm,iproc-mdio"
+- reg: base address and length of the MDC/MDIO interface
+- address-cells: must be 1
+- size-cells: must be 1
+- ranges: leave it empty
+
+Example:
+       mdio_bus: mdio_bus@18002000 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "brcm,iproc-mdio";
+               ranges;
+               reg = <0x18002000 0x8>;
+       };
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to