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 <[EMAIL PROTECTED]> wrote:
Bartlomiej Sieka wrote:
> +
> + phy0:[EMAIL PROTECTED] {
> + 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.
"[EMAIL PROTECTED]" 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...
[EMAIL PROTECTED] {
name = "ethernet-phy";
reg = <0>;
foo = bar;
} phy0;
I mean, this is really intuitive, we all do this every day...
--
Matt Sealey <[EMAIL PROTECTED]>
Genesi, Manager, Developer Relations
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev