binding: PHY: Binding doc for NS2 PCIe PHYs.
authorPramod Kumar <pramod.kumar@broadcom.com>
Fri, 10 Jun 2016 05:33:50 +0000 (11:03 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2016 06:24:54 +0000 (23:24 -0700)
Binding doc for NS2 PCIe PHYs.

Signed-off-by: Pramod Kumar <pramod.kumar@broadcom.com>
Signed-off-by: Jon Mason <jonmason@broadcom.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/phy/brcm,mdio-mux-bus-pci.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/phy/brcm,mdio-mux-bus-pci.txt b/Documentation/devicetree/bindings/phy/brcm,mdio-mux-bus-pci.txt
new file mode 100644 (file)
index 0000000..5b51007
--- /dev/null
@@ -0,0 +1,27 @@
+* Broadcom NS2 PCIe PHY binding document
+
+Required bus properties:
+- reg: MDIO Bus number for the MDIO interface
+- #address-cells: must be 1
+- #size-cells: must be 0
+
+Required PHY properties:
+- compatible: should be "brcm,ns2-pcie-phy"
+- reg: MDIO Phy ID for the MDIO interface
+- #phy-cells: must be 0
+
+This is a child bus node of "brcm,mdio-mux-iproc" node.
+
+Example:
+
+mdio@0 {
+       reg = <0x0>;
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       pci_phy0: pci-phy@0 {
+               compatible = "brcm,ns2-pcie-phy";
+               reg = <0x0>;
+               #phy-cells = <0>;
+       };
+};