Commit 60c1922c authored by Kim Phillips's avatar Kim Phillips Committed by Paul Mackerras

[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.
Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 650f7b3b
...@@ -1560,6 +1560,9 @@ platforms are moved over to use the flattened-device-tree model. ...@@ -1560,6 +1560,9 @@ platforms are moved over to use the flattened-device-tree model.
network device. This is used by the bootwrapper to interpret network device. This is used by the bootwrapper to interpret
MAC addresses passed by the firmware when no information other MAC addresses passed by the firmware when no information other
than indices is available to associate an address with a device. 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: Example:
ucc@2000 { ucc@2000 {
...@@ -1574,6 +1577,7 @@ platforms are moved over to use the flattened-device-tree model. ...@@ -1574,6 +1577,7 @@ platforms are moved over to use the flattened-device-tree model.
rx-clock = "none"; rx-clock = "none";
tx-clock = "clk9"; tx-clock = "clk9";
phy-handle = <212000>; phy-handle = <212000>;
phy-connection-type = "gmii";
pio-handle = <140001>; pio-handle = <140001>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment