[PATCH 1/4] powerpc: document max-speed and interface-type properties

Kim Phillips kim.phillips at freescale.com
Wed Apr 11 07:56:39 EST 2007


Since ucc_geth is being migrated to use the phylib, the existing
(undocumented) 'interface' property is being deprecated in favour
of unconjoined variations 'max-speed' and 'interface-type'.

max-speed is necessary for QE UEC devices that do not make that
information available through their programming model.

interface-type is now maintained one-to-one with definitions
in include/linux/phy.h.

Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
---
please consider for 2.6.22

 Documentation/powerpc/booting-without-of.txt |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
index 88cdb59..92fa74c 100644
--- a/Documentation/powerpc/booting-without-of.txt
+++ b/Documentation/powerpc/booting-without-of.txt
@@ -1556,6 +1556,9 @@ platforms are moved over to use the flattened-device-tree model.
    Required properties for network device_type:
    - mac-address : list of bytes representing the ethernet address.
    - phy-handle : The phandle for the PHY connected to this controller.
+   - max-speed : The maximum speed supported by the controller (in Mbit/s)
+   - interface-type : a string naming the controller/PHY interface type,
+     i.e., one of "mii", "gmii", "sgmii", "tbi", "rmii", "rgmii", or "rtbi".
 
    Recommended properties:
    - linux,network-index : This is the intended "index" of this
@@ -1573,6 +1576,8 @@ platforms are moved over to use the flattened-device-tree model.
 		interrupts = <a0 0>;
 		interrupt-parent = <700>;
 		mac-address = [ 00 04 9f 00 23 23 ];
+		interface-type = "rgmii";
+		max-speed = <d#1000>;
 		rx-clock = "none";
 		tx-clock = "clk9";
 		phy-handle = <212000>;
-- 
1.5.0.1




More information about the Linuxppc-dev mailing list