From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by ozlabs.org (Postfix) with ESMTP id 14855DE170 for ; Thu, 27 Mar 2008 09:57:36 +1100 (EST) Received: by fg-out-1718.google.com with SMTP id 16so3212373fgg.39 for ; Wed, 26 Mar 2008 15:57:34 -0700 (PDT) Message-ID: <47EAD4DA.5050907@genesi-usa.com> Date: Wed, 26 Mar 2008 22:57:30 +0000 From: Matt Sealey MIME-Version: 1.0 To: Grant Likely , Matt Sealey , linuxppc-dev@ozlabs.org, Paul Mackerras , Anatolij Gustschin Subject: Re: [RESEND][POWERPC] mpc5200: Amalgamated dts fixes and updates 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> <20080326225128.GB5777@localhost.localdomain> In-Reply-To: <20080326225128.GB5777@localhost.localdomain> Content-Type: text/plain; charset=UTF-8; format=flowed Sender: Matt Sealey List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , David Gibson wrote: > 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. I would suggest taking a hint from C structures... ethernet-phy@0 { name = "ethernet-phy"; reg = <0>; foo = bar; } phy0; I mean, this is really intuitive, we all do this every day... -- Matt Sealey Genesi, Manager, Developer Relations