[PATCH v2 1/7] dt: Introduce the FMan 10 Gb/s MDIO binding

Shruti Kanetkar Shruti at Freescale.com
Thu Jul 17 06:17:05 EST 2014


This document covers FManv2 and FManv3 mEMAC MDIO

Signed-off-by: Shruti Kanetkar <Shruti at Freescale.com>
---
 .../devicetree/bindings/net/fsl-xgmac-phy.txt      | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/fsl-xgmac-phy.txt

diff --git a/Documentation/devicetree/bindings/net/fsl-xgmac-phy.txt b/Documentation/devicetree/bindings/net/fsl-xgmac-phy.txt
new file mode 100644
index 0000000..2f2d56d
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/fsl-xgmac-phy.txt
@@ -0,0 +1,29 @@
+*MDIO IO device
+
+The MDIO is a bus to which the PHY devices are connected. For each
+device that exists on this bus, a child node should be created.
+
+Required properties:
+	- compatible: Currently supported strings/devices are:
+			- "fsl,fman-xmdio" (Must be used for 10 Gb/s MDIO from FMan v2.
+			  Can be used for 1/10 Gb/s MDIO from FMan v3)
+			- "fsl,fman-memac-mdio" (Must be used for 1/10 Gb/s MDIO from
+			  FMan v3)
+	- reg
+
+	Example for FMan v2:
+		mdio at f1000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "fsl,fman-xmdio";
+			reg = <0xf1000 0x1000>;
+		};
+
+	Example for FMan v3:
+
+		mdio at f1000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
+			reg = <0xf1000 0x1000>;
+		}
-- 
1.8.3.1



More information about the Linuxppc-dev mailing list