Return-Path: Received: from nommos.sslcatacombnetworking.com (nommos.sslcatacombnetworking.com [67.18.224.114]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 42F44DDDE9 for ; Sat, 14 Apr 2007 03:00:58 +1000 (EST) In-Reply-To: <20070413012542.343eb848.kim.phillips@freescale.com> References: <20070413012542.343eb848.kim.phillips@freescale.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: From: Kumar Gala Subject: Re: [PATCH 1/4 v2] powerpc: document max-speed and interface-type properties Date: Fri, 13 Apr 2007 12:00:32 -0500 To: Kim Phillips Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Apr 13, 2007, at 1:25 AM, Kim Phillips wrote: > 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'. > > interface-type is now maintained one-to-one with definitions > in include/linux/phy.h. If not specified, "mii" is assumed. > > max-speed is available for users to override the interface-derived > speed, e.g. rgmii at 100Mbit/s. > > Signed-off-by: Kim Phillips > --- > moved to recommended section (from required), removed sgmii, added > rgmii-id. any reason to remove sgmii? What is rgmii-id? - k > > 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..cb8c6fb 100644 > --- a/Documentation/powerpc/booting-without-of.txt > +++ b/Documentation/powerpc/booting-without-of.txt > @@ -1562,6 +1562,10 @@ 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. > + - interface-type : a string naming the controller/PHY interface > type, > + i.e., "mii" (default), "rmii", "gmii", "rgmii", "rgmii-id", > "tbi", or "rtbi". > + - max-speed : The maximum speed supported by the controller (in > Mbit/s) > + this is used if the user wants to override the interface- > derived speed. > > Example: > ucc@2000 { > @@ -1573,6 +1577,7 @@ platforms are moved over to use the flattened- > device-tree model. > interrupts = ; > interrupt-parent = <700>; > mac-address = [ 00 04 9f 00 23 23 ]; > + interface-type = "rgmii"; > rx-clock = "none"; > tx-clock = "clk9"; > phy-handle = <212000>; > -- > 1.5.0.1