binding: PHY: Binding doc for NS2 PCIe PHYs.
authorPramod Kumar <[email protected]>
Fri, 10 Jun 2016 05:33:50 +0000 (11:03 +0530)
committerDavid S. Miller <[email protected]>
Sat, 11 Jun 2016 06:24:54 +0000 (23:24 -0700)
Binding doc for NS2 PCIe PHYs.

Signed-off-by: Pramod Kumar <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
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>;
+       };
+};