linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* use of aliases in device trees
@ 2007-11-04  1:02 Kumar Gala
  2007-11-04  3:29 ` [U-Boot-Users] " Grant Likely
  2007-11-04  9:24 ` Segher Boessenkool
  0 siblings, 2 replies; 5+ messages in thread
From: Kumar Gala @ 2007-11-04  1:02 UTC (permalink / raw)
  To: linux-ppc list; +Cc: U-Boot Users List

In some discussion on the u-boot dev list it became clear that having  
aliases in the device tree might be useful as a common way to deal  
with finding specific nodes that need fixing up by the firmware.   
This problem also exists in the kernel bootwrappers.

The common example is how to associate a given MAC address with the  
proper ethernet node.  In u-boot an explicit path is hard coded into  
the u-boot build for each ethernet device.  In the bootwrapper we use  
"linux,network-index = <N>" in the given ethernet node.

One common solution would be having a top level aliases like the pmac  
tree's have:

aliases {
	enet0 = "...";
	enet1 = "...";
	pci0 = "...";
	pci1 = "...";
};

I wanted to see what people think of this idea and about trying to  
use common names for the aliases?  If nothing else I believe we will  
look at doing this on the FSL boards/parts.

- k

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-04 23:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-04  1:02 use of aliases in device trees Kumar Gala
2007-11-04  3:29 ` [U-Boot-Users] " Grant Likely
2007-11-04 22:42   ` David Gibson
2007-11-04 23:32     ` Grant Likely
2007-11-04  9:24 ` Segher Boessenkool

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).