[PATCH v2 1/5] dt_bindings: Add iProc MDC/MDIO interface binding

Ray Jui
2015-05-22T01:07:10Z

Define device tree bindings for iProc MDC/MDIO bus interface

Signed-off-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Arun Parameswaran <aparames@broadcom.com>
Reviewed-by: JD (Jiandong) Zheng <jdzheng@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
---
.../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