From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 27 Mar 2008 09:51:28 +1100 From: David Gibson To: Grant Likely Subject: Re: [RESEND][POWERPC] mpc5200: Amalgamated dts fixes and updates Message-ID: <20080326225128.GB5777@localhost.localdomain> References: <47E2723D.1090101@grandegger.com> <47E281B6.20702@denx.de> <47E2FC3E.1020705@semihalf.com> <20080321235633.GB345@frozen.semihalf.com> <20080326194526.GA17424@frozen.semihalf.com> <47EAB9CC.7060002@genesi-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: Anatolij Gustschin , Paul Mackerras , linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Mar 26, 2008 at 03:16:47PM -0600, Grant Likely wrote: > On Wed, Mar 26, 2008 at 3:02 PM, Matt Sealey wrote: > > Bartlomiej Sieka wrote: > > > + > > > + phy0:ethernet-phy@0 { > > > + device_type = "ethernet-phy";@0" > > > + reg = <0>; > > > + }; > > > > What's the parsing of this pan out to? What does it mean? > > > > Having colons in device names is totally contrary to OF device naming > > spec. Does the part after the colon have a special meaning to the DTC? > > "phy0:" is a label used by dtc. > "ethernet-phy@0" is the node name. I would suggest a space after the colon though, to make this clearer. That's the style I've been using in all my dts files. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson