Skip to contentSkip to conversation

powerpc: document phy-connection-type property

PATCH New Kim Phillips 1 participant 1 message Apr 23, 2007 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH v5 1/4 powerpc: document phy-connection-type property

Since ucc_geth is being migrated to use the phylib, the existing (undocumented) 'interface' property is being deprecated in favour of 'phy-connection-type'.

phy-connection-type is now maintained one-to-one with definitions in include/linux/phy.h, albeit in the form of a string. If not specified, "mii" is assumed.

---
moved phy-connection-type below phy-handle

 Documentation/powerpc/booting-without-of.txt |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Documentation/powerpc/booting-without-of.txt +4 -0
index 88cdb59..76b4fa0 100644
@@ -1562,6 +1562,9 @@ platforms are moved over to use the flattened-device-tree model.
      network device.  This is used by the bootwrapper to interpret
      MAC addresses passed by the firmware when no information other
      than indices is available to associate an address with a device.
+   - phy-connection-type : a string naming the controller/PHY interface type,
+     i.e., "mii" (default), "rmii", "gmii", "rgmii", "rgmii-id", "tbi",
+     or "rtbi".
 
    Example:
 	ucc@2000 {
@@ -1576,6 +1579,7 @@ platforms are moved over to use the flattened-device-tree model.
 		rx-clock = "none";
 		tx-clock = "clk9";
 		phy-handle = <212000>;
+		phy-connection-type = "gmii";
 		pio-handle = <140001>;
 	};
 
Signature · 1 line
1.5.0.3